// This script is a part of Niversoft's Tele2 skin
// Copyright (c) 2004-2007 Niversoft idees logicielles
function wl(){if(w.wh){return;}w.wh={};try{var vr=navigator.userAgent.toLowerCase();var ye=parseFloat(navigator.appVersion);var yd=false;var xw=false;var uo=false;var xx=false;var wj=false;var uh=false;if(vr.match(/\bmac\b/)){wh.xg=true;}if(vr.xb("msie")&&!w.opera&&!vr.xb("opera")){wh.xu=true;var wf=parseFloat(vr.substr(vr.indexOf("msie ")+5));yd=wf>=6;xw=wf>=7;wh.wq=yd&&!xw;wh.ur=xw;}if(vr.xb("safari")){wh.wt=true;uo=parseInt(vr.substr(vr.indexOf("safari/")+7))>=300;}if(w.opera){wh.uy=true;wh.ym=parseFloat(navigator.appVersion)>9;xx=ye>=8;}if(vr.xb("gecko/")){wh.yc=true;var mh=vr.indexOf(" rv:");wj=(mh>0)&&(parseFloat(vr.substr(mh+4))>=1.4);}if(!hj.getElementById||!hj.getElementsByTagName("*")||vr.xb('spoofer')||vr.xb('webtv')||vr.xb('hotjava')){uh=true;}wh.wr=!uh&&(yd||xx||uo||wj);}catch(du){}if(!String.prototype.localeCompare){String.prototype.localeCompare=vi;}if(!String.prototype.toLocaleLowerCase){String.prototype.toLocaleLowerCase=String.prototype.toLowerCase;}if(!String.prototype.toLocaleUpperCase){String.prototype.toLocaleUpperCase=String.prototype.toUpperCase;}if(!Function.prototype.apply){Function.prototype.apply=xr;}}function xr(fm,ve){var un=new Array();if(!fm){fm=window;}if(!ve){ve=new Array();}for(var i=0;i<ve.length;++i){un[i]='ve['+i+']';}fm.vh=this;var ws=eval('fm.vh('+un.join(', ')+')');fm.vh=null;return ws;}function vi(nm){var oc=this.toLocaleUpperCase().ow(nm.toLocaleUpperCase());return oc?oc:this.ow(nm);}Date.prototype.bap=function(){return new Date(this.valueOf());};Date.prototype.ayh=function(apv){return this.avv(apv)&&(this.getMonth()==apv.getMonth());};Date.prototype.azp=function(apv){return this.ayh(apv)&&(this.getDate()==apv.getDate());};Date.prototype.aus=function(apv){return this.awk().azp(apv.awk());};Date.prototype.avv=function(apv){return(this.getFullYear()==apv.getFullYear());};Date.prototype.awk=function(){var cp=this.bap();var aws=cp.getDay()-Date.bae;if(aws<0){aws+=7;}cp.setDate(cp.getDate()-aws);return cp;};Date.prototype.asg=function(apv){return this.valueOf()<apv.valueOf();};Date.prototype.aqc=function(apv){var axn=this.bap();axn.setDate(1);axn.setMonth(axn.getMonth()+1);return axn.ayh(apv);};Date.prototype.axw=function(avm,are){var us=avm?"":" "+this.getFullYear();var avg=apl[this.getMonth()];var atu=aya(this.getDate());var bac=are?"":apo[this.getDay()]+", ";return bac+atu+" "+avg+us;};Date.prototype.azm=function(){return aya(this.getDate())+"-"+aya(this.getMonth()+1)+"-"+this.getFullYear();};Date.prototype.ava=function(atp,aqs){var ayx=aya(this.getHours());if(aqs){return ayx;}else{return ayx+":"+aya(this.getMinutes())+(atp?":"+aya(this.getSeconds()):"");}};String.prototype.axv=function(){var auu=this;var awr=auu.xb(".")?".":auu.xb("/")?"/":auu.xb("-")?"-":"";if(awr){auu=auu.split(awr);gb=[0,1,2];if(auu.length==3){if(auu[0]>31){if(auu[0]<100){auu[0]=auu[0]-0+2000;}gb=[0,1,2];}else if(auu[2]>31){if(auu[2]<100){auu[2]=auu[2]-0+2000;}if(auu[1]>12){gb=[2,0,1];}else{gb=[2,1,0];}}else{auu[2]=auu[2]-0+2000;if((auu[1]>12)||(awr=="/")){gb=[2,0,1];}else{gb=[2,1,0];}}auu=new Date(auu[gb[0]],auu[gb[1]]-1,auu[gb[2]],0,0,0);}}else{if(auu.length==8){auu=new Date(auu.substr(0,4),auu.substr(5,2)-1,auu.substr(7,2),0,0,0);}}return(auu&&auu.getDate&&!isNaN(auu.getDate()))?auu:null;};String.prototype.awg=function(){var arf=this;var bau=arf.match(/a/i);var aqr=!bau&&arf.match(/p/i);arf=arf.replace(/\s/,"").replace(/am?/i,"").replace(/pm?/i,"");var awr=arf.xb(".")?".":arf.xb(":")?":":arf.xb("h")?"h":"";var ayk,arc,bai;if(awr){arf=arf.split(awr);ayk=arf[0];arc=arf[1];bai=arf[2];arf=new Date(2000,0,1,bau&&(ayk==12)?0:aqr&&(ayk!=12)?ayk+12:ayk,arf[1],arf[2]?arf[2]:0);}else if((arf.length==1)||(arf.length==3)||(arf.length==5)){ayk=arf.substr(0,1);arc=arf.substr(1,2);bai=arf.substr(3,2);}else if((arf.length==2)||(arf.length==4)||(arf.length==6)){ayk=arf.substr(0,2);arc=arf.substr(2,2);bai=arf.substr(4,2);}else{return null;}ayk=parseInt(ayk);if((ayk<24)&&(!arc||(arc<60))&&(!bai||(bai<60))){arf=new Date(2000,0,1,bau&&(ayk==12)?0:aqr&&(ayk!=12)?ayk+12:ayk,arc?arc:0,bai?bai:0);}return(arf&&arf.getDate&&!isNaN(arf.getDate()))?arf:null;};String.prototype.asr=function(axa){var asq;var ayb;var cp;axa=axa||"YMDhm";asq=this.split(/\./);ayb=agp[asq[1]];switch(axa){case"YMDhm":case"YMDhms":cp=new Date(asq[0]-0,ayb,asq[2]-0,asq[3]-0,asq[4]-0,asq[5]?asq[5]-0:0,0);break;case"YMD":cp=new Date(asq[0]-0,ayb,asq[2]-0,0,0,0,0);break;case"hm":case"hms":cp=new Date(2000,1,1,asq[0]-0,asq[1]-0,asq[2]?asq[2]-0:0,0);break;}return(cp&&cp.getDate&&!isNaN(cp.getDate()))?cp:this.avl();};String.prototype.xb=function(ei){return this.indexOf(ei)!=-1;};String.prototype.cx=function(ei){return this.indexOf(ei)===0;};String.prototype.fn=function(ev){var bk=[];for(;ev>0;--ev){bk.push(this);}return bk.join("");};String.prototype.lt=function(){return this.replace(/^\s+/,'').replace(/\s+$/,'');};String.prototype.la=function(){return this.toLowerCase()==this?0:1;};String.prototype.aes=function(){var ajf=arguments.length;var ql=this;for(var i=0;i<ajf;++i){ql=ql.replace("^"+i,arguments[i].toString());}return ql;};String.prototype.avl=function(){return this.replace(/&/g,"&amp;").replace(/\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;");};String.tl=function(bp,dt){return(bp.la()<dt.la())?-1:(bp.la()>dt.la())?1:(bp<dt)?-1:(bp>dt)?1:0;};String.prototype.ow=function(nm){var ql=this;var oc;var kd=Math.min(ql.length,nm.length);for(var i=0;i<kd;++i){if(0!=(oc=String.tl(ql.charAt(i),nm.charAt(i)))){return oc;}}return ql.length<nm.length?-1:ql.length>nm.length?1:0;};String.prototype.att=function(){var om=document.createElement("div");if("innerText"in om){om.innerText=this;return om.innerHTML.replace(/\n/g,"<br>");}else{atd=document.createTextNode(this);om.appendChild(atd);return om.innerHTML.replace(/\n/g,"<br>");}};function apt(eb,azi){if(wh.xu){return document.createElement('<input name="'+eb+'" type="'+azi+'">');}else{var apk=document.createElement("input");apk.name=eb;apk.type=azi;apk.setAttribute("name",eb);apk.setAttribute("type",azi);return apk;}}Function.prototype.azo=function(fm){var axi=this;return function(){axi.apply(fm,arguments.length?arguments:[]);};};Function.prototype.auk=function(fm){var axi=this;return function(cr){axi.call(fm,cr,this);};};if(!("apply"in Function.prototype)){Function.prototype.apply=function(fm,ve){var un=new Array();if(!fm){fm=window;}if(!ve){ve=new Array();}for(var i=0;i<ve.length;++i){un[i]='ve['+i+']';}fm.vh=this;var ws=eval('fm.vh('+un.join(', ')+')');fm.vh=null;return ws;};}function op(ro,ly,qy){if(typeof qy=="undefined"){qy=100;}while(ly&&(ly.parentNode!=ly)){if(ly==ro){return true;}if(--qy<=0){return false;}ly=ly.parentNode;}return false;}