// cached javascript var hisense = { validateDateOfPurchase:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateDateOfPurchase&_session=r','lcValue=' + enc(lcValue),callback, context);}, validateSerial:function(lcValue,lcMake,callback,context){return new ajax_request(this.url + '?_method=validateSerial&_session=r','lcValue=' + enc(lcValue)+ '\r\nlcMake=' + enc(lcMake),callback, context);}, validateCustomerAddressPostcode:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateCustomerAddressPostcode&_session=no','lcValue=' + enc(lcValue),callback, context);}, validateHomeTel:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateHomeTel&_session=r','lcValue=' + enc(lcValue),callback, context);}, validateWorkTel:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateWorkTel&_session=r','lcValue=' + enc(lcValue),callback, context);}, validateMobileTel:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateMobileTel&_session=r','lcValue=' + enc(lcValue),callback, context);}, validateCustomerEmail:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=validateCustomerEmail&_session=r','lcValue=' + enc(lcValue),callback, context);}, getServerDate:function(callback,context){return new ajax_request(this.url + '?_method=getServerDate&_session=no','',callback, context);}, checkSerial:function(lcValue,callback,context){return new ajax_request(this.url + '?_method=checkSerial&_session=r','lcValue=' + enc(lcValue),callback, context);}, getWarrReg:function(lcPromoCode,lcStore,lcModel,callback,context){return new ajax_request(this.url + '?_method=getWarrReg&_session=r','lcPromoCode=' + enc(lcPromoCode)+ '\r\nlcStore=' + enc(lcStore)+ '\r\nlcModel=' + enc(lcModel),callback, context);}, checkLimit:function(lcPromoCode,lnLimit,callback,context){return new ajax_request(this.url + '?_method=checkLimit&_session=r','lcPromoCode=' + enc(lcPromoCode)+ '\r\nlnLimit=' + enc(lnLimit),callback, context);}, getPromoCodes:function(lcPOP,lcEquipType,lcDateOfP,callback,context){return new ajax_request(this.url + '?_method=getPromoCodes&_session=r','lcPOP=' + enc(lcPOP)+ '\r\nlcEquipType=' + enc(lcEquipType)+ '\r\nlcDateOfP=' + enc(lcDateOfP),callback, context);}, getModels:function(lcPC,lcPOP,lcEquipType,lcDateOfP,callback,context){return new ajax_request(this.url + '?_method=getModels&_session=r','lcPC=' + enc(lcPC)+ '\r\nlcPOP=' + enc(lcPOP)+ '\r\nlcEquipType=' + enc(lcEquipType)+ '\r\nlcDateOfP=' + enc(lcDateOfP),callback, context);}, url:'/ajax/WebJobSys.hisense,WebJobSys.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; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function AjaxImage(url){var img=new Image();img.src=url;return img;} function _getTable(n,e){for(var i=0; i