// cached javascript var WebCapture = { InsertNewContact:function(CaptureId,ControlId,ButtonId,EmailAddress,IsTest,callback,context){return new ajax_request(this.url + '?_method=InsertNewContact&_session=rw','CaptureId=' + enc(CaptureId)+ '\r\nControlId=' + enc(ControlId)+ '\r\nButtonId=' + enc(ButtonId)+ '\r\nEmailAddress=' + enc(EmailAddress)+ '\r\nIsTest=' + enc(IsTest),callback, context);}, SetContactFieldValue:function(CampaignId,PageID,IsNewContact,PersonId,ButtonId,ControlId,Value,IsTest,callback,context){return new ajax_request(this.url + '?_method=SetContactFieldValue&_session=rw','CampaignId=' + enc(CampaignId)+ '\r\nPageID=' + enc(PageID)+ '\r\nIsNewContact=' + enc(IsNewContact)+ '\r\nPersonId=' + enc(PersonId)+ '\r\nButtonId=' + enc(ButtonId)+ '\r\nControlId=' + enc(ControlId)+ '\r\nValue=' + enc(Value)+ '\r\nIsTest=' + enc(IsTest),callback, context);}, CheckRegexMatch:function(RegExId,Value,callback,context){return new ajax_request(this.url + '?_method=CheckRegexMatch&_session=rw','RegExId=' + enc(RegExId)+ '\r\nValue=' + enc(Value),callback, context);}, LogContact:function(CaptureId,PageId,PersonId,IsTest,callback,context){return new ajax_request(this.url + '?_method=LogContact&_session=rw','CaptureId=' + enc(CaptureId)+ '\r\nPageId=' + enc(PageId)+ '\r\nPersonId=' + enc(PersonId)+ '\r\nIsTest=' + enc(IsTest),callback, context);}, CheckContactForOneEntry:function(CaptureId,PageId,ContactId,callback,context){return new ajax_request(this.url + '?_method=CheckContactForOneEntry&_session=rw','CaptureId=' + enc(CaptureId)+ '\r\nPageId=' + enc(PageId)+ '\r\nContactId=' + enc(ContactId),callback, context);}, url:'/lz/csharpwrapper/EMarketing.WebCapture,EMarketing.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i