var sendtofriend=function() {
sendtofriend.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
sendtofriend.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return sendtofriend._staticInstance.get_path();},
sendnow:function(sYourName,sFriendsName,sFriendsEmail,sMessage,sTitle,sURL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendnow',false,{sYourName:sYourName,sFriendsName:sFriendsName,sFriendsEmail:sFriendsEmail,sMessage:sMessage,sTitle:sTitle,sURL:sURL},succeededCallback,failedCallback,userContext); }}
sendtofriend.registerClass('sendtofriend',Sys.Net.WebServiceProxy);
sendtofriend._staticInstance = new sendtofriend();
sendtofriend.set_path = function(value) { sendtofriend._staticInstance.set_path(value); }
sendtofriend.get_path = function() { return sendtofriend._staticInstance.get_path(); }
sendtofriend.set_timeout = function(value) { sendtofriend._staticInstance.set_timeout(value); }
sendtofriend.get_timeout = function() { return sendtofriend._staticInstance.get_timeout(); }
sendtofriend.set_defaultUserContext = function(value) { sendtofriend._staticInstance.set_defaultUserContext(value); }
sendtofriend.get_defaultUserContext = function() { return sendtofriend._staticInstance.get_defaultUserContext(); }
sendtofriend.set_defaultSucceededCallback = function(value) { sendtofriend._staticInstance.set_defaultSucceededCallback(value); }
sendtofriend.get_defaultSucceededCallback = function() { return sendtofriend._staticInstance.get_defaultSucceededCallback(); }
sendtofriend.set_defaultFailedCallback = function(value) { sendtofriend._staticInstance.set_defaultFailedCallback(value); }
sendtofriend.get_defaultFailedCallback = function() { return sendtofriend._staticInstance.get_defaultFailedCallback(); }
sendtofriend.set_path("/scripts/sendtofriend.asmx");
sendtofriend.sendnow= function(sYourName,sFriendsName,sFriendsEmail,sMessage,sTitle,sURL,onSuccess,onFailed,userContext) {sendtofriend._staticInstance.sendnow(sYourName,sFriendsName,sFriendsEmail,sMessage,sTitle,sURL,onSuccess,onFailed,userContext); }
