Type.registerNamespace('CurioWeb.Services');
CurioWeb.Services.Contact=function() {
CurioWeb.Services.Contact.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CurioWeb.Services.Contact.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CurioWeb.Services.Contact._staticInstance.get_path();},
ContactUs:function(name,email,sendto,content,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="sendto" type="String">System.String</param>
/// <param name="content" 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(), 'ContactUs',false,{name:name,email:email,sendto:sendto,content:content},succeededCallback,failedCallback,userContext); },
NewsLetterSignup:function(name,email,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" 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(), 'NewsLetterSignup',false,{name:name,email:email},succeededCallback,failedCallback,userContext); },
SendPage:function(name,email,content,url,newsID,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="newsID" 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(), 'SendPage',false,{name:name,email:email,content:content,url:url,newsID:newsID},succeededCallback,failedCallback,userContext); }}
CurioWeb.Services.Contact.registerClass('CurioWeb.Services.Contact',Sys.Net.WebServiceProxy);
CurioWeb.Services.Contact._staticInstance = new CurioWeb.Services.Contact();
CurioWeb.Services.Contact.set_path = function(value) {
CurioWeb.Services.Contact._staticInstance.set_path(value); }
CurioWeb.Services.Contact.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CurioWeb.Services.Contact._staticInstance.get_path();}
CurioWeb.Services.Contact.set_timeout = function(value) {
CurioWeb.Services.Contact._staticInstance.set_timeout(value); }
CurioWeb.Services.Contact.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CurioWeb.Services.Contact._staticInstance.get_timeout(); }
CurioWeb.Services.Contact.set_defaultUserContext = function(value) { 
CurioWeb.Services.Contact._staticInstance.set_defaultUserContext(value); }
CurioWeb.Services.Contact.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CurioWeb.Services.Contact._staticInstance.get_defaultUserContext(); }
CurioWeb.Services.Contact.set_defaultSucceededCallback = function(value) { 
 CurioWeb.Services.Contact._staticInstance.set_defaultSucceededCallback(value); }
CurioWeb.Services.Contact.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CurioWeb.Services.Contact._staticInstance.get_defaultSucceededCallback(); }
CurioWeb.Services.Contact.set_defaultFailedCallback = function(value) { 
CurioWeb.Services.Contact._staticInstance.set_defaultFailedCallback(value); }
CurioWeb.Services.Contact.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CurioWeb.Services.Contact._staticInstance.get_defaultFailedCallback(); }
CurioWeb.Services.Contact.set_path("/Services/Contact.svc");
CurioWeb.Services.Contact.ContactUs= function(name,email,sendto,content,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="sendto" type="String">System.String</param>
/// <param name="content" 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>
CurioWeb.Services.Contact._staticInstance.ContactUs(name,email,sendto,content,onSuccess,onFailed,userContext); }
CurioWeb.Services.Contact.NewsLetterSignup= function(name,email,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" 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>
CurioWeb.Services.Contact._staticInstance.NewsLetterSignup(name,email,onSuccess,onFailed,userContext); }
CurioWeb.Services.Contact.SendPage= function(name,email,content,url,newsID,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="newsID" 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>
CurioWeb.Services.Contact._staticInstance.SendPage(name,email,content,url,newsID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ReturnJSON) === 'undefined') {
var ReturnJSON=gtc("ReturnJSON:http://schemas.datacontract.org/2004/07/");
ReturnJSON.registerClass('ReturnJSON');
}

