Type.registerNamespace('infostation.web.WebServices');
infostation.web.WebServices.Communications_Service=function() {
infostation.web.WebServices.Communications_Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
infostation.web.WebServices.Communications_Service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return infostation.web.WebServices.Communications_Service._staticInstance.get_path();},
RequestToQuote:function(providerID,tel,name,email,URLRoot,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RequestToQuote',false,{providerID:providerID,tel:tel,name:name,email:email,URLRoot:URLRoot},succeededCallback,failedCallback,userContext); },
ReqestToRate:function(firstName,surname,clientEmail,URL,providerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReqestToRate',false,{firstName:firstName,surname:surname,clientEmail:clientEmail,URL:URL,providerID:providerID},succeededCallback,failedCallback,userContext); },
TellAFriendSite:function(senderName,senderEmail,friendName,friendEmail,URLRoot,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TellAFriendSite',false,{senderName:senderName,senderEmail:senderEmail,friendName:friendName,friendEmail:friendEmail,URLRoot:URLRoot},succeededCallback,failedCallback,userContext); },
TellAFriend:function(providerID,senderName,senderEmail,friendName,friendEmail,URL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TellAFriend',false,{providerID:providerID,senderName:senderName,senderEmail:senderEmail,friendName:friendName,friendEmail:friendEmail,URL:URL},succeededCallback,failedCallback,userContext); }}
infostation.web.WebServices.Communications_Service.registerClass('infostation.web.WebServices.Communications_Service',Sys.Net.WebServiceProxy);
infostation.web.WebServices.Communications_Service._staticInstance = new infostation.web.WebServices.Communications_Service();
infostation.web.WebServices.Communications_Service.set_path = function(value) { infostation.web.WebServices.Communications_Service._staticInstance.set_path(value); }
infostation.web.WebServices.Communications_Service.get_path = function() { return infostation.web.WebServices.Communications_Service._staticInstance.get_path(); }
infostation.web.WebServices.Communications_Service.set_timeout = function(value) { infostation.web.WebServices.Communications_Service._staticInstance.set_timeout(value); }
infostation.web.WebServices.Communications_Service.get_timeout = function() { return infostation.web.WebServices.Communications_Service._staticInstance.get_timeout(); }
infostation.web.WebServices.Communications_Service.set_defaultUserContext = function(value) { infostation.web.WebServices.Communications_Service._staticInstance.set_defaultUserContext(value); }
infostation.web.WebServices.Communications_Service.get_defaultUserContext = function() { return infostation.web.WebServices.Communications_Service._staticInstance.get_defaultUserContext(); }
infostation.web.WebServices.Communications_Service.set_defaultSucceededCallback = function(value) { infostation.web.WebServices.Communications_Service._staticInstance.set_defaultSucceededCallback(value); }
infostation.web.WebServices.Communications_Service.get_defaultSucceededCallback = function() { return infostation.web.WebServices.Communications_Service._staticInstance.get_defaultSucceededCallback(); }
infostation.web.WebServices.Communications_Service.set_defaultFailedCallback = function(value) { infostation.web.WebServices.Communications_Service._staticInstance.set_defaultFailedCallback(value); }
infostation.web.WebServices.Communications_Service.get_defaultFailedCallback = function() { return infostation.web.WebServices.Communications_Service._staticInstance.get_defaultFailedCallback(); }
infostation.web.WebServices.Communications_Service.set_path("/WebServices/Communications_Service.asmx");
infostation.web.WebServices.Communications_Service.RequestToQuote= function(providerID,tel,name,email,URLRoot,onSuccess,onFailed,userContext) {infostation.web.WebServices.Communications_Service._staticInstance.RequestToQuote(providerID,tel,name,email,URLRoot,onSuccess,onFailed,userContext); }
infostation.web.WebServices.Communications_Service.ReqestToRate= function(firstName,surname,clientEmail,URL,providerID,onSuccess,onFailed,userContext) {infostation.web.WebServices.Communications_Service._staticInstance.ReqestToRate(firstName,surname,clientEmail,URL,providerID,onSuccess,onFailed,userContext); }
infostation.web.WebServices.Communications_Service.TellAFriendSite= function(senderName,senderEmail,friendName,friendEmail,URLRoot,onSuccess,onFailed,userContext) {infostation.web.WebServices.Communications_Service._staticInstance.TellAFriendSite(senderName,senderEmail,friendName,friendEmail,URLRoot,onSuccess,onFailed,userContext); }
infostation.web.WebServices.Communications_Service.TellAFriend= function(providerID,senderName,senderEmail,friendName,friendEmail,URL,onSuccess,onFailed,userContext) {infostation.web.WebServices.Communications_Service._staticInstance.TellAFriend(providerID,senderName,senderEmail,friendName,friendEmail,URL,onSuccess,onFailed,userContext); }
