var Service=function() {
Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Service._staticInstance.get_path();},
SendForm:function(langID,landingPageID,contactOption,name,email,phone,succeededCallback, failedCallback, userContext) {
/// <param name="langID" type="Number">System.Int32</param>
/// <param name="landingPageID" type="Number">System.Int32</param>
/// <param name="contactOption" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="phone" 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(), 'SendForm',false,{langID:langID,landingPageID:landingPageID,contactOption:contactOption,name:name,email:email,phone:phone},succeededCallback,failedCallback,userContext); }}
Service.registerClass('Service',Sys.Net.WebServiceProxy);
Service._staticInstance = new Service();
Service.set_path = function(value) {
Service._staticInstance.set_path(value); }
Service.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Service._staticInstance.get_path();}
Service.set_timeout = function(value) {
Service._staticInstance.set_timeout(value); }
Service.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Service._staticInstance.get_timeout(); }
Service.set_defaultUserContext = function(value) { 
Service._staticInstance.set_defaultUserContext(value); }
Service.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Service._staticInstance.get_defaultUserContext(); }
Service.set_defaultSucceededCallback = function(value) { 
 Service._staticInstance.set_defaultSucceededCallback(value); }
Service.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Service._staticInstance.get_defaultSucceededCallback(); }
Service.set_defaultFailedCallback = function(value) { 
Service._staticInstance.set_defaultFailedCallback(value); }
Service.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Service._staticInstance.get_defaultFailedCallback(); }
Service.set_path("/Services/Service.asmx");
Service.SendForm= function(langID,landingPageID,contactOption,name,email,phone,onSuccess,onFailed,userContext) {
/// <param name="langID" type="Number">System.Int32</param>
/// <param name="landingPageID" type="Number">System.Int32</param>
/// <param name="contactOption" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="phone" 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>
Service._staticInstance.SendForm(langID,landingPageID,contactOption,name,email,phone,onSuccess,onFailed,userContext); }
