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) {
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendName" type="String">System.String</param>
/// <param name="senderName" type="String">System.String</param>
/// <param name="comments" type="String">System.String</param>
/// <param name="image" 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(), '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() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SendToAFriend._staticInstance.get_path();}
SendToAFriend.set_timeout = function(value) {
SendToAFriend._staticInstance.set_timeout(value); }
SendToAFriend.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SendToAFriend._staticInstance.get_timeout(); }
SendToAFriend.set_defaultUserContext = function(value) { 
SendToAFriend._staticInstance.set_defaultUserContext(value); }
SendToAFriend.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SendToAFriend._staticInstance.get_defaultUserContext(); }
SendToAFriend.set_defaultSucceededCallback = function(value) { 
 SendToAFriend._staticInstance.set_defaultSucceededCallback(value); }
SendToAFriend.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SendToAFriend._staticInstance.get_defaultSucceededCallback(); }
SendToAFriend.set_defaultFailedCallback = function(value) { 
SendToAFriend._staticInstance.set_defaultFailedCallback(value); }
SendToAFriend.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SendToAFriend._staticInstance.get_defaultFailedCallback(); }
SendToAFriend.set_path("/SendToAFriend.asmx");
SendToAFriend.SendPhotoToAFriend= function(friendEmail,friendName,senderName,comments,image,onSuccess,onFailed,userContext) {
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendName" type="String">System.String</param>
/// <param name="senderName" type="String">System.String</param>
/// <param name="comments" type="String">System.String</param>
/// <param name="image" 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>
SendToAFriend._staticInstance.SendPhotoToAFriend(friendEmail,friendName,senderName,comments,image,onSuccess,onFailed,userContext); }
