var Content=function() {
Content.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Content.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Content._staticInstance.get_path();},
GetMainImages:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMainImages',false,{},succeededCallback,failedCallback,userContext); },
GetProjectImages:function(ProjectId,succeededCallback, failedCallback, userContext) {
/// <param name="ProjectId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetProjectImages',false,{ProjectId:ProjectId},succeededCallback,failedCallback,userContext); },
GetSelectedProject:function(ProjectId,succeededCallback, failedCallback, userContext) {
/// <param name="ProjectId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSelectedProject',false,{ProjectId:ProjectId},succeededCallback,failedCallback,userContext); },
GetSelectedService:function(ServiceId,succeededCallback, failedCallback, userContext) {
/// <param name="ServiceId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSelectedService',false,{ServiceId:ServiceId},succeededCallback,failedCallback,userContext); },
GetSelectedEventLink:function(EventLinkId,succeededCallback, failedCallback, userContext) {
/// <param name="EventLinkId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSelectedEventLink',false,{EventLinkId:EventLinkId},succeededCallback,failedCallback,userContext); },
GetLastOccurance:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetLastOccurance',false,{},succeededCallback,failedCallback,userContext); },
SendContactUsMail:function(Name,Email,Company,Phone,msg,ContactsEmail,succeededCallback, failedCallback, userContext) {
/// <param name="Name" type="String">System.String</param>
/// <param name="Email" type="String">System.String</param>
/// <param name="Company" type="String">System.String</param>
/// <param name="Phone" type="String">System.String</param>
/// <param name="msg" type="String">System.String</param>
/// <param name="ContactsEmail" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SendContactUsMail',false,{Name:Name,Email:Email,Company:Company,Phone:Phone,msg:msg,ContactsEmail:ContactsEmail},succeededCallback,failedCallback,userContext); },
GetSelectedContact:function(ContactId,succeededCallback, failedCallback, userContext) {
/// <param name="ContactId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSelectedContact',false,{ContactId:ContactId},succeededCallback,failedCallback,userContext); }}
Content.registerClass('Content',Sys.Net.WebServiceProxy);
Content._staticInstance = new Content();
Content.set_path = function(value) {
Content._staticInstance.set_path(value); }
Content.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Content._staticInstance.get_path();}
Content.set_timeout = function(value) {
Content._staticInstance.set_timeout(value); }
Content.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Content._staticInstance.get_timeout(); }
Content.set_defaultUserContext = function(value) { 
Content._staticInstance.set_defaultUserContext(value); }
Content.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Content._staticInstance.get_defaultUserContext(); }
Content.set_defaultSucceededCallback = function(value) { 
 Content._staticInstance.set_defaultSucceededCallback(value); }
Content.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Content._staticInstance.get_defaultSucceededCallback(); }
Content.set_defaultFailedCallback = function(value) { 
Content._staticInstance.set_defaultFailedCallback(value); }
Content.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Content._staticInstance.get_defaultFailedCallback(); }
Content.set_path("/Webservices/Content.asmx");
Content.GetMainImages= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetMainImages(onSuccess,onFailed,userContext); }
Content.GetProjectImages= function(ProjectId,onSuccess,onFailed,userContext) {
/// <param name="ProjectId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetProjectImages(ProjectId,onSuccess,onFailed,userContext); }
Content.GetSelectedProject= function(ProjectId,onSuccess,onFailed,userContext) {
/// <param name="ProjectId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetSelectedProject(ProjectId,onSuccess,onFailed,userContext); }
Content.GetSelectedService= function(ServiceId,onSuccess,onFailed,userContext) {
/// <param name="ServiceId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetSelectedService(ServiceId,onSuccess,onFailed,userContext); }
Content.GetSelectedEventLink= function(EventLinkId,onSuccess,onFailed,userContext) {
/// <param name="EventLinkId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetSelectedEventLink(EventLinkId,onSuccess,onFailed,userContext); }
Content.GetLastOccurance= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetLastOccurance(onSuccess,onFailed,userContext); }
Content.SendContactUsMail= function(Name,Email,Company,Phone,msg,ContactsEmail,onSuccess,onFailed,userContext) {
/// <param name="Name" type="String">System.String</param>
/// <param name="Email" type="String">System.String</param>
/// <param name="Company" type="String">System.String</param>
/// <param name="Phone" type="String">System.String</param>
/// <param name="msg" type="String">System.String</param>
/// <param name="ContactsEmail" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.SendContactUsMail(Name,Email,Company,Phone,msg,ContactsEmail,onSuccess,onFailed,userContext); }
Content.GetSelectedContact= function(ContactId,onSuccess,onFailed,userContext) {
/// <param name="ContactId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Content._staticInstance.GetSelectedContact(ContactId,onSuccess,onFailed,userContext); }

