// cached javascript var GoodEmployerFeatureControl = { ChangeVacancyPage:function(iPage,callback,context){return new ajax_request(this.url + '?_method=ChangeVacancyPage&_session=r','iPage=' + enc(iPage),callback, context);}, FilterVacancies:function(sSearch,callback,context){return new ajax_request(this.url + '?_method=FilterVacancies&_session=rw','sSearch=' + enc(sSearch),callback, context);}, FireRebuild:function(callback,context){return new ajax_request(this.url + '?_method=FireRebuild&_session=r','',callback, context);}, FireJsonSave:function(champID,json,callback,context){return new ajax_request(this.url + '?_method=FireJsonSave&_session=r','champID=' + enc(champID)+ '\r\njson=' + enc(json),callback, context);}, EditRSSURL:function(sEmployerOID,sRSSUrl,callback,context){return new ajax_request(this.url + '?_method=EditRSSURL&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nsRSSUrl=' + enc(sRSSUrl),callback, context);}, FireReloadMessageBoard:function(champID,searchFilter,page,callback,context){return new ajax_request(this.url + '?_method=FireReloadMessageBoard&_session=r','champID=' + enc(champID)+ '\r\nsearchFilter=' + enc(searchFilter)+ '\r\npage=' + enc(page),callback, context);}, FireShowPostNewMessage:function(EmployerOID,callback,context){return new ajax_request(this.url + '?_method=FireShowPostNewMessage&_session=r','EmployerOID=' + enc(EmployerOID),callback, context);}, FireShowPostNewReply:function(messageID,callback,context){return new ajax_request(this.url + '?_method=FireShowPostNewReply&_session=r','messageID=' + enc(messageID),callback, context);}, FireDeleteMessage:function(sEmployerOID,msgID,callback,context){return new ajax_request(this.url + '?_method=FireDeleteMessage&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nmsgID=' + enc(msgID),callback, context);}, FireEditMessage:function(sEmployerOID,msgID,callback,context){return new ajax_request(this.url + '?_method=FireEditMessage&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nmsgID=' + enc(msgID),callback, context);}, FireSaveMessage:function(sEmployerOID,messageID,text,callback,context){return new ajax_request(this.url + '?_method=FireSaveMessage&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nmessageID=' + enc(messageID)+ '\r\ntext=' + enc(text),callback, context);}, FireSaveReply:function(sEmployerOID,messageID,replyID,text,callback,context){return new ajax_request(this.url + '?_method=FireSaveReply&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nmessageID=' + enc(messageID)+ '\r\nreplyID=' + enc(replyID)+ '\r\ntext=' + enc(text),callback, context);}, FireEditReply:function(sEmployerOID,msgID,callback,context){return new ajax_request(this.url + '?_method=FireEditReply&_session=r','sEmployerOID=' + enc(sEmployerOID)+ '\r\nmsgID=' + enc(msgID),callback, context);}, url:'/ajax/Innoware.UIControls.GoodEmployerFeatureControl,UIControls.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 TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} function _getTable(n,e){for(var i=0; i