function importantPageData(){this.sServer="";this.referrer="";this.referrer2="";this.refNumber=0;this.searchStr="";this.dataStr="";this.onMyOwn=false;this.url=document.URL;this.http_user_agent=navigator.userAgent;this.canCookie=navigator.cookieEnabled;this.onLine=navigator.onLine;this.screen_h=screen.height;this.screen_w=screen.width;this.historyStr='';this.getUrlParam=function(rp,rn,def){var arp=rp.split('=');if(arp[0]==rn)return arp[1];return def;},this.getKnownParam=function(rp,rn){var arp=rp.split('=');if(rn==0){if(arp[0]==this.urlField)this.searchStr=unescape(arp[1]);}else if(rn==1){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==2){if(arp[0]=='s')this.searchStr=unescape(arp[1]);}else if(rn==3){if(arp[0]=='q')this.searchStr=unescape(arp[1]);}else if(rn==4){if(arp[0]=='p')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==5){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==401){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}},this.getKnownParams=function(rf,rn){var arf=rf.split('?');if(arf.length<2)return false;var arp=arf[1].split('&');for(var i=0;i0)this.recognizeReferrer(unescape(aDs[0]));if(aDs.length>1)this.http_user_agent=unescape(aDs[1]);if(aDs.length>2)this.remote_addr=unescape(aDs[2]);if(aDs.length>3)this.historyStr=unescape(aDs[3]);},this.rememberData=function(){var CH=new CookieHandler();if(this.searchStr!=''){this.mergeData();CH.setCookie('impada',this.dataStr,1800);}else{this.dataStr=CH.getCookie('impada');if(this.dataStr==null)this.dataStr='';this.parseData();}},this.rememberSearchStr=function(){var CH=new CookieHandler();if(this.searchStr!=''){CH.setCookie('searchstr',this.searchStr,1800);}else{this.searchStr=CH.getCookie('searchstr');if(this.searchStr==null)this.searchStr='';}},this.checkReferrerFulltext=function(r){this.recognizeReferrer(r);this.rememberData();return this.getSearchStr();},this.checkReferrerFulltextUrl=function(r){this.recognizeReferrer(r);this.rememberData();return this.getFullRefStr();},this.getUrlField=function(fld){if(typeof(this.url)=='undefined')return false;if(typeof(fld)=='undefined')return false;if(fld=='')return false;this.urlField=fld;this.getKnownParams(this.url,0);return this.getSearchStr();},this.getValFrom=function(elId){var mysel=document.getElementById(elId);if(!mysel)return '';if(typeof(mysel)=='undefined')return '';if(mysel==undefined)return '';var rezlt='';if(mysel.tagName=='A'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='SPAN'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='DIV'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='TD'){rezlt=mysel.innerHTML;}else if(mysel.type=='select'){rezlt=mysel.options[mysel.selectedIndex].value;}else if(mysel.type=='radio'){rezlt=mysel.checked;}else if(mysel.type=='checkbox'){rezlt=mysel.checked;}else{rezlt=mysel.value;}return rezlt;}}function etaMeta(){ this.getKeywMetaStr=function(){var keywords='';if(document.getElementsByTagName){var ameta=document.getElementsByTagName('meta');for(var i=0;i8)l=8;for(var i=0;i127)&&(c<2048)){u=u+String.fromCharCode((c>>6)|192);u=u+String.fromCharCode((c&63)|128);}else{u=u+String.fromCharCode((c>>12)|224);u=u+String.fromCharCode(((c>>6)&63)|128);u=u+String.fromCharCode((c&63)|128);}}return u;},decode:function(u){var s="";var i=0;var c=c1=c2=0;while(i191)&&(c<224)){c2=u.charCodeAt(i+1);s=s+String.fromCharCode(((c&31)<<6)|(c2&63));i=i+2;}else{c2=u.charCodeAt(i+1);c3=u.charCodeAt(i+2);s=s+String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i=i+3;}}return s;}};function Etarget(options){this.options=new Object();this.src='';this.id='';this.fulltextField='';this.fulltextElement='';this.usereferrer=false;this.country='';this.host='';this.emptyDocument=false;this.setCountry=function(country){this.country=country;},this.setHost=function(host){this.host=host;},this.setParams=function(options){if(typeof(options)=='string'){var aP=options.split(',');for(i=0;i<=(aP.length-1);i++){var aR=aP[i].split(':');if(aR.length>2)for(var j=2;j<=(aR.length-1);j++){aR[1]=aR[1]+':'+aR[j]};if(aR[0]=='field'){this.fulltextField=aR[1];}else if(aR[0]=='element'){this.fulltextElement=aR[1];}else if(aR[0]=='usereferrer'){this.usereferrer=true;}else{this.options[aR[0]]=aR[1];}}return true;}if(typeof(options)!='undefined'){for(x in options)this.options[x]=options[x];}},this.fromInner=function(x){this.options.g=x;this.etarget_space=document.getElementById("etarget_"+x);if(this.etarget_space.nodeName=='DIV'){n=this.etarget_space.innerHTML;this.etarget_space.innerHTML='';this.etarget_space.style.display='block';this.setParams(n);}},this.setId=function(x){this.id=x;},this.fromName=function(x){this.options.g=x;this.etarget_space=document.getElementById("etarget_"+x);if(this.etarget_space.nodeName=='DIV'){var n=this.etarget_space.style;this.etarget_space.innerHTML='';this.etarget_space.style.display='block';this.setParams(n);}},this.findMyself=function(x){var scripts=document.getElementsByTagName('script');for(var i=0;i