Type.registerNamespace('hanleywood.com');
hanleywood.com.ihtmlmailer=function() {
hanleywood.com.ihtmlmailer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
hanleywood.com.ihtmlmailer.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return hanleywood.com.ihtmlmailer._staticInstance.get_path();},
GetAllExhibitors:function(eventId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllExhibitors',false,{eventId:eventId},succeededCallback,failedCallback,userContext); },
SendMessage:function(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessage',false,{eventId:eventId,eCode:eCode,address:address,exhibitingAs:exhibitingAs,boothLabel:boothLabel,subject:subject,replyAddress:replyAddress,replyName:replyName,replyPhone:replyPhone,boothId:boothId,coId:coId,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl},succeededCallback,failedCallback,userContext); },
SendBulkMessage:function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendBulkMessage',false,{exhibitors:exhibitors,replyAddress:replyAddress,eventId:eventId,subject:subject,from:from,replyName:replyName,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl},succeededCallback,failedCallback,userContext); },
SendTestMessage:function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendTestMessage',false,{exhibitors:exhibitors,replyAddress:replyAddress,eventId:eventId,subject:subject,from:from,replyName:replyName,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl,testEmails:testEmails},succeededCallback,failedCallback,userContext); }}
hanleywood.com.ihtmlmailer.registerClass('hanleywood.com.ihtmlmailer',Sys.Net.WebServiceProxy);
hanleywood.com.ihtmlmailer._staticInstance = new hanleywood.com.ihtmlmailer();
hanleywood.com.ihtmlmailer.set_path = function(value) { hanleywood.com.ihtmlmailer._staticInstance.set_path(value); }
hanleywood.com.ihtmlmailer.get_path = function() { return hanleywood.com.ihtmlmailer._staticInstance.get_path(); }
hanleywood.com.ihtmlmailer.set_timeout = function(value) { hanleywood.com.ihtmlmailer._staticInstance.set_timeout(value); }
hanleywood.com.ihtmlmailer.get_timeout = function() { return hanleywood.com.ihtmlmailer._staticInstance.get_timeout(); }
hanleywood.com.ihtmlmailer.set_defaultUserContext = function(value) { hanleywood.com.ihtmlmailer._staticInstance.set_defaultUserContext(value); }
hanleywood.com.ihtmlmailer.get_defaultUserContext = function() { return hanleywood.com.ihtmlmailer._staticInstance.get_defaultUserContext(); }
hanleywood.com.ihtmlmailer.set_defaultSucceededCallback = function(value) { hanleywood.com.ihtmlmailer._staticInstance.set_defaultSucceededCallback(value); }
hanleywood.com.ihtmlmailer.get_defaultSucceededCallback = function() { return hanleywood.com.ihtmlmailer._staticInstance.get_defaultSucceededCallback(); }
hanleywood.com.ihtmlmailer.set_defaultFailedCallback = function(value) { hanleywood.com.ihtmlmailer._staticInstance.set_defaultFailedCallback(value); }
hanleywood.com.ihtmlmailer.get_defaultFailedCallback = function() { return hanleywood.com.ihtmlmailer._staticInstance.get_defaultFailedCallback(); }
hanleywood.com.ihtmlmailer.set_path("/Connect/AjaxWebServices/AjaxHtmlMailerService.svc");
hanleywood.com.ihtmlmailer.GetAllExhibitors= function(eventId,onSuccess,onFailed,userContext) {hanleywood.com.ihtmlmailer._staticInstance.GetAllExhibitors(eventId,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendMessage= function(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext) {hanleywood.com.ihtmlmailer._staticInstance.SendMessage(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendBulkMessage= function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext) {hanleywood.com.ihtmlmailer._staticInstance.SendBulkMessage(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendTestMessage= function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,onSuccess,onFailed,userContext) {hanleywood.com.ihtmlmailer._staticInstance.SendTestMessage(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HanleyAjaxControls.AjaxHtmlMailer');
if (typeof(HanleyAjaxControls.AjaxHtmlMailer.Exhibitor) === 'undefined') {
HanleyAjaxControls.AjaxHtmlMailer.Exhibitor=gtc("Exhibitor:http://schemas.datacontract.org/2004/07/HanleyAjaxControls.AjaxHtmlMailer");
HanleyAjaxControls.AjaxHtmlMailer.Exhibitor.registerClass('HanleyAjaxControls.AjaxHtmlMailer.Exhibitor');
}

