var affForm=function() {
affForm.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
affForm.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return affForm._staticInstance.get_path();},
saveForm:function(strFontColor,strBorderColor,strBackColor,strAffId,succeededCallback, failedCallback, userContext) {
/// <param name="strFontColor" type="String">System.String</param>
/// <param name="strBorderColor" type="String">System.String</param>
/// <param name="strBackColor" type="String">System.String</param>
/// <param name="strAffId" 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(), 'saveForm',false,{strFontColor:strFontColor,strBorderColor:strBorderColor,strBackColor:strBackColor,strAffId:strAffId},succeededCallback,failedCallback,userContext); },
checkUserName:function(strUserName,succeededCallback, failedCallback, userContext) {
/// <param name="strUserName" 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(), 'checkUserName',false,{strUserName:strUserName},succeededCallback,failedCallback,userContext); },
setNewAff:function(fullName,contact,phone,username,pass,url,succeededCallback, failedCallback, userContext) {
/// <param name="fullName" type="String">System.String</param>
/// <param name="contact" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="username" type="String">System.String</param>
/// <param name="pass" type="String">System.String</param>
/// <param name="url" 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(), 'setNewAff',false,{fullName:fullName,contact:contact,phone:phone,username:username,pass:pass,url:url},succeededCallback,failedCallback,userContext); },
saveAffDetails:function(compName,contact,phone,url,affId,strUsername,strPassword,succeededCallback, failedCallback, userContext) {
/// <param name="compName" type="String">System.String</param>
/// <param name="contact" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="affId" type="String">System.String</param>
/// <param name="strUsername" type="String">System.String</param>
/// <param name="strPassword" 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(), 'saveAffDetails',false,{compName:compName,contact:contact,phone:phone,url:url,affId:affId,strUsername:strUsername,strPassword:strPassword},succeededCallback,failedCallback,userContext); }}
affForm.registerClass('affForm',Sys.Net.WebServiceProxy);
affForm._staticInstance = new affForm();
affForm.set_path = function(value) {
affForm._staticInstance.set_path(value); }
affForm.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return affForm._staticInstance.get_path();}
affForm.set_timeout = function(value) {
affForm._staticInstance.set_timeout(value); }
affForm.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return affForm._staticInstance.get_timeout(); }
affForm.set_defaultUserContext = function(value) { 
affForm._staticInstance.set_defaultUserContext(value); }
affForm.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return affForm._staticInstance.get_defaultUserContext(); }
affForm.set_defaultSucceededCallback = function(value) { 
 affForm._staticInstance.set_defaultSucceededCallback(value); }
affForm.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return affForm._staticInstance.get_defaultSucceededCallback(); }
affForm.set_defaultFailedCallback = function(value) { 
affForm._staticInstance.set_defaultFailedCallback(value); }
affForm.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return affForm._staticInstance.get_defaultFailedCallback(); }
affForm.set_path("/services/affForm.asmx");
affForm.saveForm= function(strFontColor,strBorderColor,strBackColor,strAffId,onSuccess,onFailed,userContext) {
/// <param name="strFontColor" type="String">System.String</param>
/// <param name="strBorderColor" type="String">System.String</param>
/// <param name="strBackColor" type="String">System.String</param>
/// <param name="strAffId" 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>
affForm._staticInstance.saveForm(strFontColor,strBorderColor,strBackColor,strAffId,onSuccess,onFailed,userContext); }
affForm.checkUserName= function(strUserName,onSuccess,onFailed,userContext) {
/// <param name="strUserName" 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>
affForm._staticInstance.checkUserName(strUserName,onSuccess,onFailed,userContext); }
affForm.setNewAff= function(fullName,contact,phone,username,pass,url,onSuccess,onFailed,userContext) {
/// <param name="fullName" type="String">System.String</param>
/// <param name="contact" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="username" type="String">System.String</param>
/// <param name="pass" type="String">System.String</param>
/// <param name="url" 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>
affForm._staticInstance.setNewAff(fullName,contact,phone,username,pass,url,onSuccess,onFailed,userContext); }
affForm.saveAffDetails= function(compName,contact,phone,url,affId,strUsername,strPassword,onSuccess,onFailed,userContext) {
/// <param name="compName" type="String">System.String</param>
/// <param name="contact" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="affId" type="String">System.String</param>
/// <param name="strUsername" type="String">System.String</param>
/// <param name="strPassword" 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>
affForm._staticInstance.saveAffDetails(compName,contact,phone,url,affId,strUsername,strPassword,onSuccess,onFailed,userContext); }

