// cached javascript var AjaxFunctions = { GetLocationData:function(Type,plan,state,county,specialty,lastname,zip,city,MaxLocations,MaxDistance,SearchTable,callback,context){return new ajax_request(this.url + '?_method=GetLocationData&_session=no','Type=' + enc(Type)+ '\r\nplan=' + enc(plan)+ '\r\nstate=' + enc(state)+ '\r\ncounty=' + enc(county)+ '\r\nspecialty=' + enc(specialty)+ '\r\nlastname=' + enc(lastname)+ '\r\nzip=' + enc(zip)+ '\r\ncity=' + enc(city)+ '\r\nMaxLocations=' + enc(MaxLocations)+ '\r\nMaxDistance=' + enc(MaxDistance)+ '\r\nSearchTable=' + enc(SearchTable),callback, context);}, GetPlan:function(_State,_County,_Specialty,_LastName,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetPlan&_session=no','_State=' + enc(_State)+ '\r\n_County=' + enc(_County)+ '\r\n_Specialty=' + enc(_Specialty)+ '\r\n_LastName=' + enc(_LastName)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetState:function(_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetState&_session=no','_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetCounty:function(_State,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetCounty&_session=no','_State=' + enc(_State)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetCities:function(_State,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetCities&_session=no','_State=' + enc(_State)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetLastName:function(State,_Plan,Alpha,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetLastName&_session=no','State=' + enc(State)+ '\r\n_Plan=' + enc(_Plan)+ '\r\nAlpha=' + enc(Alpha)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetSpecialty:function(_State,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetSpecialty&_session=no','_State=' + enc(_State)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetPlansByZip:function(_Zip,_MaxDistance,_MaxLocations,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetPlansByZip&_session=no','_Zip=' + enc(_Zip)+ '\r\n_MaxDistance=' + enc(_MaxDistance)+ '\r\n_MaxLocations=' + enc(_MaxLocations)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, GetStateByZip:function(_Zip,_MaxDistance,_MaxLocations,_Plan,_notPlan,callback,context){return new ajax_request(this.url + '?_method=GetStateByZip&_session=no','_Zip=' + enc(_Zip)+ '\r\n_MaxDistance=' + enc(_MaxDistance)+ '\r\n_MaxLocations=' + enc(_MaxLocations)+ '\r\n_Plan=' + enc(_Plan)+ '\r\n_notPlan=' + enc(_notPlan),callback, context);}, url:'/ajax/EHN.Net.AjaxFunctions,EHN.Net.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 _getTable(n,e){for(var i=0; i