var SendToAFriend=function() {
SendToAFriend.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SendToAFriend.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SendToAFriend._staticInstance.get_path();},
SendPhotoToAFriend:function(friendEmail,friendName,senderName,comments,image,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendPhotoToAFriend',false,{friendEmail:friendEmail,friendName:friendName,senderName:senderName,comments:comments,image:image},succeededCallback,failedCallback,userContext); }}
SendToAFriend.registerClass('SendToAFriend',Sys.Net.WebServiceProxy);
SendToAFriend._staticInstance = new SendToAFriend();
SendToAFriend.set_path = function(value) { SendToAFriend._staticInstance.set_path(value); }
SendToAFriend.get_path = function() { return SendToAFriend._staticInstance.get_path(); }
SendToAFriend.set_timeout = function(value) { SendToAFriend._staticInstance.set_timeout(value); }
SendToAFriend.get_timeout = function() { return SendToAFriend._staticInstance.get_timeout(); }
SendToAFriend.set_defaultUserContext = function(value) { SendToAFriend._staticInstance.set_defaultUserContext(value); }
SendToAFriend.get_defaultUserContext = function() { return SendToAFriend._staticInstance.get_defaultUserContext(); }
SendToAFriend.set_defaultSucceededCallback = function(value) { SendToAFriend._staticInstance.set_defaultSucceededCallback(value); }
SendToAFriend.get_defaultSucceededCallback = function() { return SendToAFriend._staticInstance.get_defaultSucceededCallback(); }
SendToAFriend.set_defaultFailedCallback = function(value) { SendToAFriend._staticInstance.set_defaultFailedCallback(value); }
SendToAFriend.get_defaultFailedCallback = function() { return SendToAFriend._staticInstance.get_defaultFailedCallback(); }
SendToAFriend.set_path("/SendToAFriend.asmx");
SendToAFriend.SendPhotoToAFriend= function(friendEmail,friendName,senderName,comments,image,onSuccess,onFailed,userContext) {SendToAFriend._staticInstance.SendPhotoToAFriend(friendEmail,friendName,senderName,comments,image,onSuccess,onFailed,userContext); }
