// cached javascript var AjaxQualigeo = { UserLoggedOn:function(callback,context){return new ajax_request(this.url + '?_method=UserLoggedOn&_session=rw','',callback, context);}, PostGenerate:function(_idPost,_lan,_rating,_author,avatar,country,container,callback,context){return new ajax_request(this.url + '?_method=PostGenerate&_session=rw','_idPost=' + enc(_idPost)+ '\r\n_lan=' + enc(_lan)+ '\r\n_rating=' + enc(_rating)+ '\r\n_author=' + enc(_author)+ '\r\navatar=' + enc(avatar)+ '\r\ncountry=' + enc(country)+ '\r\ncontainer=' + enc(container),callback, context);}, PostGenerateSimple:function(_idPost,_lan,container,callback,context){return new ajax_request(this.url + '?_method=PostGenerateSimple&_session=rw','_idPost=' + enc(_idPost)+ '\r\n_lan=' + enc(_lan)+ '\r\ncontainer=' + enc(container),callback, context);}, ResetForgottenPwGenerate:function(usrmail,callback,context){return new ajax_request(this.url + '?_method=ResetForgottenPwGenerate&_session=rw','usrmail=' + enc(usrmail),callback, context);}, GetNews:function(_id,_lan,callback,context){return new ajax_request(this.url + '?_method=GetNews&_session=rw','_id=' + enc(_id)+ '\r\n_lan=' + enc(_lan),callback, context);}, GetNetwork:function(_tipology,_id,_lan,callback,context){return new ajax_request(this.url + '?_method=GetNetwork&_session=rw','_tipology=' + enc(_tipology)+ '\r\n_id=' + enc(_id)+ '\r\n_lan=' + enc(_lan),callback, context);}, GetBrand:function(_classCal,_val,_id,_lan,callback,context){return new ajax_request(this.url + '?_method=GetBrand&_session=rw','_classCal=' + enc(_classCal)+ '\r\n_val=' + enc(_val)+ '\r\n_id=' + enc(_id)+ '\r\n_lan=' + enc(_lan),callback, context);}, GetPost:function(_id,_lan,callback,context){return new ajax_request(this.url + '?_method=GetPost&_session=rw','_id=' + enc(_id)+ '\r\n_lan=' + enc(_lan),callback, context);}, GetProdForNetBrand:function(_class,_id,_lan,callback,context){return new ajax_request(this.url + '?_method=GetProdForNetBrand&_session=rw','_class=' + enc(_class)+ '\r\n_id=' + enc(_id)+ '\r\n_lan=' + enc(_lan),callback, context);}, PhotoGalleryGenerate:function(ObjectId,FieldName,ClassName,Lan,callback,context){return new ajax_request(this.url + '?_method=PhotoGalleryGenerate&_session=rw','ObjectId=' + enc(ObjectId)+ '\r\nFieldName=' + enc(FieldName)+ '\r\nClassName=' + enc(ClassName)+ '\r\nLan=' + enc(Lan),callback, context);}, VideoGalleryGenerate:function(ObjectId,FieldName,ClassName,Lan,callback,context){return new ajax_request(this.url + '?_method=VideoGalleryGenerate&_session=rw','ObjectId=' + enc(ObjectId)+ '\r\nFieldName=' + enc(FieldName)+ '\r\nClassName=' + enc(ClassName)+ '\r\nLan=' + enc(Lan),callback, context);}, AttachGenerate:function(ObjectId,FieldName,ClassName,Lan,callback,context){return new ajax_request(this.url + '?_method=AttachGenerate&_session=rw','ObjectId=' + enc(ObjectId)+ '\r\nFieldName=' + enc(FieldName)+ '\r\nClassName=' + enc(ClassName)+ '\r\nLan=' + enc(Lan),callback, context);}, VerifyMail:function(Mail,callback,context){return new ajax_request(this.url + '?_method=VerifyMail&_session=rw','Mail=' + enc(Mail),callback, context);}, getNameError:function(callback,context){return new ajax_request(this.url + '?_method=getNameError&_session=rw','',callback, context);}, getImageError:function(callback,context){return new ajax_request(this.url + '?_method=getImageError&_session=rw','',callback, context);}, getEnteError:function(callback,context){return new ajax_request(this.url + '?_method=getEnteError&_session=rw','',callback, context);}, getTipoEnteError:function(callback,context){return new ajax_request(this.url + '?_method=getTipoEnteError&_session=rw','',callback, context);}, getNazError:function(callback,context){return new ajax_request(this.url + '?_method=getNazError&_session=rw','',callback, context);}, getLinguaError:function(callback,context){return new ajax_request(this.url + '?_method=getLinguaError&_session=rw','',callback, context);}, getIndirizzoError:function(callback,context){return new ajax_request(this.url + '?_method=getIndirizzoError&_session=rw','',callback, context);}, getCapError:function(callback,context){return new ajax_request(this.url + '?_method=getCapError&_session=rw','',callback, context);}, getCittaError:function(callback,context){return new ajax_request(this.url + '?_method=getCittaError&_session=rw','',callback, context);}, getProvinciaError:function(callback,context){return new ajax_request(this.url + '?_method=getProvinciaError&_session=rw','',callback, context);}, getPasswordError:function(callback,context){return new ajax_request(this.url + '?_method=getPasswordError&_session=rw','',callback, context);}, getMailError:function(callback,context){return new ajax_request(this.url + '?_method=getMailError&_session=rw','',callback, context);}, GetTime:function(Url,callback,context){return new ajax_request(this.url + '?_method=GetTime&_session=rw','Url=' + enc(Url),callback, context);}, url:'/ajax/Eng.Qualigeo.Code.AjaxQualigeo,Eng.Qualigeo.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