//-- AT Ergonomics A-B-C 3.1.005 -- Copyright 2008 AT INTERNET, All Rights Reserved.
//-- (to be used with AT Tag 3.3.001 or later)
var scriptOnClickZone=2,xtczv='31005',xtdtmp=0,xtdt2=new Date(),xtel=new xtE(xtdt2.getTime()),xtn=navigator,un=undefined,nu=null,cZ='xtcz',oC='onclick',cL='xtclib',cT='xtcltype',dT='xtdztype',tR=true,fA=false,isI=(/MSIE/.test(xtn.userAgent))?tR:fA,isOP=(/Opera/.test(xtn.userAgent))?tR:fA,isS=(/Safari/.test(xtn.userAgent))?tR:fA,isM=(xtn.appVersion.indexOf('Mac',0)>=0)?tR:fA,obj=new Array(),xtcz=new Array(),typcz=new Array(),sizex=new Array(),sizey=new Array(),posx=new Array(),posy=new Array(),larg=0,haut=0,xt_valdz=nu,hit=fA,fO=fA,xt_valsv=nu;
function xtP(oEl,inTYPE){if(typeof(oEl.offsetParent)!=un){var sType='oEl.offset'+inTYPE;for(var iVal=0;oEl;oEl=oEl.offsetParent){iVal+=eval(sType);}return iVal;}else{if(inTYPE=='Left')return oEl.x;if(inTYPE=='Top')return oEl.y;}return-1}
function xtSx(xl){var szx=(xtnN(xl)=='AREA')?xtAs(xl).w:xl.offsetWidth;if((szx==nu)||(szx==un)||(szx=='')){if(xl.style.width!=nu)szx=xl.style.width;else szx=0;}if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu)&&(xl.lastChild!=nu))szx=xl.lastChild.offsetLeft+xl.lastChild.offsetWidth-xl.firstChild.offsetLeft;if((szx==nu)||(szx==un)||(szx=='')){szx=0;}return parseInt(szx,10)}
function xtSy(xl){var szy=(xtnN(xl)=='AREA')?xtAs(xl).h:xl.offsetHeight;if((szy==nu)||(szy==un)||(szy=='')){if(xl.style.height!=nu)szy=xl.style.height;else szy=0;}if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu)&&(xl.lastChild!=nu))szy=xl.lastChild.offsetTop+xl.lastChild.offsetHeight-xl.firstChild.offsetTop;if((szy==nu)||(szy==un)||(szy=='')){szy=0;}return parseInt(szy,10)}
function xtPx(xl){var psx=(xtnN(xl)=='AREA')?xtAp(xl).x:xtP(xl,'Left');return parseInt(psx,10)}
function xtPy(xl){var psy=(xtnN(xl)=='AREA')?xtAp(xl).y:xtP(xl,'Top');if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu))psy+=xl.firstChild.offsetTop;return parseInt(psy,10)}
function xtAs(xl){var rect=xtAb(xl),width=rect.right-rect.left,height=rect.bottom-rect.top;return{w:width,h:height}}
function xtAb(xl){if(xl['rectDefined'])return{left:xl.rLeft,top:xl.rTop,right:xl.rRight,bottom:xl.rBottom};if(!xl.shape)xl.shape='rect';var coords=xl.coords.split(','),result;if(xl.shape.toLowerCase()=='rectangle'||xl.shape.toLowerCase()=='rect'){result={left:parseInt(coords[0]),top:parseInt(coords[1]),right:parseInt(coords[2]),bottom:parseInt(coords[3])}}if(xl.shape.toLowerCase()=='circle'||xl.shape.toLowerCase()=='circ'){result={left:parseInt(coords[0])-parseInt(coords[2]),top:parseInt(coords[1])-parseInt(coords[2]),right:parseInt(coords[0])+parseInt(coords[2]),bottom:parseInt(coords[1])+parseInt(coords[2])}}if(xl.shape.toLowerCase()=='polygon'||xl.shape.toLowerCase()=='poly'){var l_ex,t_ex,r_ex,b_ex;for(var i=0;i<coords.length;i+=2){var co=parseInt(coords[i]);if(l_ex==un||co<l_ex)l_ex=co;if(r_ex==un||co>r_ex)r_ex=co;}for(var i=1;i<coords.length;i+=2){var co=parseInt(coords[i]);if(t_ex==un||co<t_ex)t_ex=co;if(b_ex==un||co>b_ex)b_ex=co;}result={left:l_ex,top:t_ex,right:r_ex,bottom:b_ex}}xl.rectDefined=tR;xl.rLeft=result.left;xl.rRight=result.right;xl.rTop=result.top;xl.rBottom=result.bottom;return result}
function xtAp(area,target){var map=xtpN(area);if(!map.dstElement){if(!target){target=xd;}var elts=target.getElementsByTagName('*');if(elts['toArray'])elts=elts.toArray();for(var i=0;i<elts.length;i++){var xl=elts[i];if(xl.useMap){if(xl.useMap.replace('#','')==map.name)break;}xl=nu;}map.dstElement=xl;}if(map.dstElement){var basePx=xtP(map.dstElement,'Left'),basePy=xtP(map.dstElement,'Top'),rect=xtAb(area);return{x:(basePx+rect.left),y:(basePy+rect.top)}}else{return{x:-1,y:-1}}}
function xtNodesload(){if(xw.xt8!=0){var desc=xd.getElementsByTagName('*');for(var i=0;i<desc.length;i++){if(xtL(desc[i]))xtel.xttab.push(desc[i]);if(xtLDz(desc[i]))obj.push(desc[i]);}for(var j=0;j<xtel.xttab.length;j++){if(xd.addEventListener)xtel.xttab[j].addEventListener('mousedown',xtR,fA);else if(xd.attachEvent)xtel.xttab[j].attachEvent('onmousedown',xtR);}for(var l=0;l<obj.length;l++){xtcz[l]=xtG(obj[l],cZ);if((xtG(obj[l],dT)!=nu)&&(xtG(obj[l],dT)!=un))typcz[l]=xtG(obj[l],dT);else typcz[l]='0';sizex[l]=xtSx(obj[l]);sizey[l]=xtSy(obj[l]);posx[l]=xtPx(obj[l]);posy[l]=xtPy(obj[l]);}xtResol();if(xw.addEventListener){xw.addEventListener('scroll',xtResol,fA);xw.addEventListener('beforeunload',xtHoC,fA);}else if(xw.attachEvent){xw.attachEvent('onscroll',xtResol);xw.attachEvent('onbeforeunload',xtHoC);}}}
function xtAffDz(){for(var m=0;m<obj.length;m++){var scTop=xtsT(),scLeft=xtsL();var p=0,pX=0,pY=0;if((posy[m]>=scTop)&&((posy[m]+sizey[m])<=(scTop+haut)))pY=100;else if(((posy[m]<scTop)&&((posy[m]+sizey[m])<=(scTop)))||(posy[m]>=(scTop+haut)))pY=0;else if((posy[m]<=scTop)&&((posy[m]+sizey[m])>=(scTop+haut)))pY=(haut/sizey[m])*100;else if(posy[m]<scTop)pY=((posy[m]+sizey[m]-scTop)/sizey[m])*100;else if((posy[m]+sizey[m])>(scTop+haut))pY=((scTop+haut-posy[m])/sizey[m])*100;if((posx[m]>=scLeft)&&((posx[m]+sizex[m])<=(scLeft+larg)))pX=100;else if(((posx[m]<scLeft)&&((posx[m]+sizey[m])<=(scLeft)))||(posx[m]>=(scLeft+larg)))pX=0;else if((posx[m]<=scLeft)&&((posx[m]+sizex[m])>=(scLeft+larg)))pX=(larg/sizex[m])*100;else if(posx[m]<scLeft)pX=((posx[m]+sizex[m]-scLeft)/sizex[m])*100;else if((posx[m]+sizex[m])>(scLeft+larg))pX=((scLeft+larg-posx[m])/sizex[m])*100;var Ly=(pY*sizey[m])/100,Lx=(pX*sizex[m])/100,areaA=Lx*Ly,areaT=sizex[m]*sizey[m];p=Math.round((areaA/areaT)*100);xtCDz(xtcz[m],p,(p==0)?0:1,typcz[m]);}}
function xtAffSv(){var lY=xtdH(),scTop=xtsT(),pY=Math.round((scTop+haut)/lY*100);pY=(pY>100)?100:pY;pY=(pY<0)?0:pY;if(scTop==0)fO=tR;if(fO)xtCSv(pY);}
function xtLDz(xl){var xlel=['DIV','TABLE','TR','TD','UL','LI'],xeln=xtnN(xl);for(var i=0;i<xlel.length;i++){if((xeln==xlel[i])&&(xl.nodeType==1)&&(xtG(xl,cZ)!=nu)&&(xtG(xl,cZ)!=un)){var xelp=xtpN(xl);while(xelp){if((xelp.nodeType==1)&&(xtG(xelp,cZ)!=nu)&&(xtG(xelp,cZ)!=un))return fA;xelp=xtpN(xelp);}return tR;}}return fA;}
function xtResol(){larg=xtcW();haut=xtcH();xtAffDz();xtAffSv();}
function xtHoC(){var s=xw.xt8,pcz=xw.xtp,s2cz=xtEx2(xw.xt9),idpage=(xw.xtidpg!=nu)?xw.xtidpg:-1,idmod=(xw.xtidmod!=nu)?xw.xtidmod:0;if(!hit){var res='&dz=';if(xt_valdz!=nu){var reg1=new RegExp('XTL','gi'),reg2=new RegExp('[|]{2}','gi'),tabL=new Array();tabL=xt_valdz.split(reg1);for(var i=0;i<tabL.length;i++){if((tabL[i].length>0)&&(parseInt(tabL[i].split(reg2)[1],10)>0)){res+=tabL[i].split(reg2)[0]+',';res+=tabL[i].split(reg2)[1]+',';res+=tabL[i].split(reg2)[2]+',';res+=tabL[i].split(reg2)[4]+'|';}}}xtHit(xtsd+'.xiti.com/hit.xiti?s='+s+'&pcz='+xtEn(pcz)+'&s2cz='+xtEn(s2cz)+'&idmod='+idmod+'&xtczv='+xtczv,'&pv='+xt_valsv+res,1,1,idpage);}}
function xtEx2(xat){var r=new RegExp('&s2=','gi');if(r.test(xat.toString())){xat=xat.replace(r,'');}return xat}
function xtEx(xext){var valext=['.aac','.ace','.ape','.art','.avi','.bak','.bat','.bin','.bmp','.bsp','.cab','.ccd','.cda','.chm','.clp','.css','.csv','.cue','dic','dll','.doc','.dot','.exe','.fla','.flac','.gif','.gz','.hlp','.ico','.img','.iso','.jpeg','.jpg','.js','.lnk','.m2a','.m2v','.m3u','.mdb','.mdf','.mds','.mid','.midi','.mkv','.mod','.mov','.mp2','.mp3','.mp4','.mpc','.mpg','.mpeg','.msi','.nfo','.nrg','.obd','.ocx','.ogg','.old','.ogm','.pdf','.png','.pps','.ppt','.psd','.psp','.rar','.raw','.reg','.rm','.ram','.rtf','.swf','.tar','.tga','.tgz','.theme','.tif','.tiff','.tmp','.torrent','.ttf','.txt','.url','.vbs','.vob','.wab','.wav','.wdb','.wks','.wml','.wma','.wmv','.wpf','.xls','.xml','.zip','.7z'];for(var i=0;i<valext.length;i++){if(xext==valext[i])return tR;}return fA}
function xtTr(xl){var xut=['BODY','HTML'];for(var i=0;i<xut.length;i++){if(xl.tagName==xut[i])return fA;}return tR}
function xtEv(evt){var e_out,ie_var='srcElement',moz_var='target';evt[moz_var]?e_out=evt[moz_var]:e_out=evt[ie_var];return(e_out)}
function xtBdEv(evt){var e_out=(xw.event)?(xw.event.button==2):(evt.which==3);return(e_out)}
function xtCDz(name,p,nbf,typcz){var nbFv=nbf,nP=0,valP=parseInt(p,10),trv=fA,reg1=new RegExp('XTL','gi'),reg2=new RegExp('[|]{2}','gi'),valC='';if(xt_valdz!=nu){var tabL=new Array();tabL=xt_valdz.split(reg1);for(var i=0;i<tabL.length;i++){if(tabL[i].length>0){nP=parseInt(tabL[i].split(reg2)[1],10);nbFv=parseInt(tabL[i].split(reg2)[2],10);valP=parseInt(tabL[i].split(reg2)[3],10);if(name==tabL[i].split(reg2)[0]){trv=tR;if(parseInt(p,10)>parseInt(tabL[i].split(reg2)[1],10)){nP=parseInt(p,10);nbFv=1;valP=parseInt(p,10);}else if((parseInt(p,10)==parseInt(tabL[i].split(reg2)[1],10))&&(parseInt(tabL[i].split(reg2)[3],10)<parseInt(p,10))){nbFv=parseInt(tabL[i].split(reg2)[2],10)+1;valP=parseInt(p,10);}else if(parseInt(p,10)<parseInt(tabL[i].split(reg2)[1],10))valP=parseInt(p,10);}valC+=tabL[i].split(reg2)[0]+'||'+ nP+'||'+ nbFv+'||'+valP+'||'+tabL[i].split(reg2)[4]+'XTL';}}if(!trv)valC+=name+'||'+p+'||'+nbf+'||'+p+'||'+typcz+'XTL';}else{valC=name+'||'+p+'||'+nbf+'||'+p+'||'+typcz+'XTL';}xt_valdz=valC;}
function xtCSv(p){var lY=xtdH(),percWin=Math.round((haut/lY)*100),nP=0,oldp=0;if(xt_valsv!=nu){oldp=parseInt(xt_valsv,10);if((p>oldp)&&(p<(oldp+percWin)))xt_valsv=p;}else{xt_valsv=p;}}
function xtV(xat){var r=new RegExp('xt_med','gi'),r2=new RegExp('xt_click','gi');if(r.test(xat.toString())||r2.test(xat.toString()))return tR;return fA}
function xtExT(xat){var page='',pageclz='',type='',section=-1,idx=(xat.indexOf('xt_med')>=0)?0:1,IndexStart=(idx==0)?xat.indexOf('xt_med'):xat.indexOf('xt_click'),start=xat.indexOf('(',IndexStart),stop=xat.indexOf(')',IndexStart),content=xtSub(xat,start+1,stop),reg1=new RegExp('[,]','g');xat=content.split(reg1);if(xat[idx+1]){section=xtSub(xat[idx+1],1,xat[idx+1].length-1);}if(xat[idx+2]){page=xtSub(xat[idx+2],1,xat[idx+2].length-1);}if(xat[idx+3]){type=xtSub(xat[idx+3],1,xat[idx+3].length-1);}else if(xat[idx]){type=xtSub(xat[idx],1,xat[idx].length-1);}section=(section!=nu)?section:'';page=(page!=nu)?page:'';type=(type!=nu)?type:'';var reg2=new RegExp('(::)','g');pageclz=(page.toString()).replace(reg2,'/');return{typ:type,pag:page,pagcl:pageclz,sec:section}}
function xtIdxOf(tab,v,n){n=(n==nu)?0:n;var m=tab.length;for(var i=n;i<m;i++)if(tab[i]==v)return i;return -1;}
function xtT(xl){if(xl.innerHTML){var xtx=xl.innerHTML,r=new RegExp('<script[^>]*>','gi');if(r.test(xtx.toString()))return fA;xtx=(xtx.toString()).replace(/<\/?[^>]+>/gi,'');var regex=new RegExp('(&nbsp;)','g');xtx=(xtx.toString()).replace(regex,'');xtx=xtEn(xtx);var regex2=new RegExp('(%C2%A0)','g');xtx=(xtx.toString()).replace(regex2,'');try{xtx=xtDe(xtx)}catch(e){}xtx=(xtx.toString()).replace(/[\s]/gm,'');if((xtx.length==0)||(xtx==un)||(xtx==nu))return fA;return xtx}return fA}
function xtE(st){this.xttab=new Array();this.xst=st;this.xc=0;this.yc=0;this.sx=0;this.sy=0;this.px=0;this.py=0;this.xr=0;this.yr=0;this.bf='';this.af='';this.curr='';this.cliccz='';this.dest='';this.s=0;this.pcz='';this.s2cz='';this.t=0;this.idmod=0;this.p='';this.s2='';this.idpage=-1}
function xtH(){var d2=new Date();return(d2.getTime()-xtel.xst)}
function xtC(e){if(!e){if(xw.event){e=xw.event}else{return{x:-1,y:-1}}}if(typeof(e.pageX)=='number'){xc=e.pageX;yc=e.pageY}else if(typeof(e.clientX)=='number'){xc=e.clientX;yc=e.clientY;var bad=(xw.xtn.userAgent.indexOf('Opera')+1)||(xw.ScriptEngine&&ScriptEngine().indexOf('InScript')+1)||(xtn.vendor=='KDE');if(!bad){if(xd.body&&(xd.body.scrollLeft||xd.body.scrollTop)){xc+=xd.body.scrollLeft;yc+=xd.body.scrollTop;}else if(xd.documentElement&&(xd.documentElement.scrollLeft||xd.documentElement.scrollTop)){xc+=xd.documentElement.scrollLeft;yc+=xd.documentElement.scrollTop;}}}else{return{x:-1,y:-1}}return{x:xc,y:yc}}
function xtCt(xl){var xclict='',xext='',xurld='',xurls=(xd.location.href).toString(),xdoms=(xw.xt1!=nu&&xw.xt1!='')?xtSub(xw.xt1,8,xw.xt1.length):xtSub(xurls,7,xurls.indexOf('/',7)),xdomd='';if(xl){if((xtnN(xl)=='INPUT')&&(xl.type=='submit')){try{xurld=xtG(xl.form,'action').toString();}catch(e){}xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);if(xurld.indexOf('http://',0)>=0)xdomd=xtSub(xurld,7,xurld.indexOf('/',7));else xdomd='';}if((xtnN(xl)!='IMG')&&xl.href){xurld=(xl.href).toString();xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);if(xurld.indexOf('http://',0)>=0)xdomd=xtSub(xurld,7,xurld.indexOf('/',7));else xdomd='';}else{var xlp=xtpN(xl);while(xlp&&xtnN(xlp)!='BODY'){if(xlp.href){xurld=(xlp.href).toString();xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);if(xurld.indexOf('http://',0)>=0)xdomd=xtSub(xurld,7,xurld.indexOf('/',7));else xdomd='';break;}xlp=xtpN(xlp);}}}if(xtEx(xext))xclict='T';else if((xdomd!='')&&(xdomd.indexOf(xdoms,0)<0))xclict='S';else{xclict='N';}if(xurld.length>255)xurld=xtSub(xurld,0,255);var ch=xurld;if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xurld=ch;try{if((xtDe(xurld)!=nu)&&(xtDe(xurld)!=un))xurld=xtDe(xurld);}catch(e){}return{typ:xclict,url:xurld}}
function xtL(xl){var xlel=['INPUT','SELECT','IFRAME','OBJECT','AREA','BUTTON'],xeln=xtnN(xl);if((xeln=='EMBED')&&(xtnN(xtpN(xl)))!='OBJECT'){return tR;}if((xeln=='DIV')&&(xtG(xl,cL))){return tR;}if((xeln=='SPAN')&&(xtG(xl,oC))){return tR;}if((xeln=='SELECT')&&((xtG(xl,'onchange')==nu)||(xtG(xl,'onchange')==un)||(xtG(xl,'onchange')==''))){return fA;}if((xeln=='INPUT')&&(xl.type!='submit')&&(xl.type!='image')&&(xl.type!='button')){return fA;}if((xeln=='BUTTON')&&(xl.type!='submit')){return fA;}if(xeln=='IMG'){var xlp=xtpN(xl);var xtTr=fA;while(xlp){if(xtnN(xlp)=='A'){xtTr=tR;if((((xtG(xlp,oC)!=nu)&&(xtG(xlp,oC)!=un)&&(xtG(xlp,oC)!=''))||((xtG(xlp,'href')!=nu)&&(xtG(xlp,'href')!=un)&&(xtG(xlp,'href')!='')))){return tR;}}xlp=xtpN(xlp);}if((xtG(xl,oC)!=nu)&&(xtG(xl,oC)!=un)&&(xtG(xl,oC)!='')&&!xtTr)return tR;}if((xeln=='A')&&(((xtG(xl,oC)!=nu)&&(xtG(xl,oC)!=un)&&(xtG(xl,oC)!=''))||((xtG(xl,'href')!=nu)&&(xtG(xl,'href')!=un)&&(xtG(xl,'href')!='')))){var xlp=xtpN(xl);while(xlp){if(((xtnN(xlp)=='DIV')&&(xtG(xlp,cL)))||((xtnN(xlp)=='SPAN')&&(xtG(xlp,oC))))return fA;xlp=xtpN(xlp);}var xtImg=fA,xtTxt=fA;if(xl.childNodes){var xtChild=xl.childNodes,j=0;while(j<xtChild.length&&!(xtImg&&xtTxt)){if(xtnN(xtChild[j])=='IMG'){xtImg=tR;}else{xtTxt=tR;}j++;}}if(xtImg&&xtTxt) return tR;else if(xtImg) return fA;else return tR;}for(var i=0;i<xlel.length;i++){if(xeln==xlel[i])return tR;}return fA}
function xtLCz(xl){var xlel=['DIV','TABLE','TR','TD','UL','LI'],xeln=xtnN(xl);for(var i=0;i<xlel.length;i++){if((xeln==xlel[i])&&(xl.nodeType==1)&&(xtG(xl,cZ)!=nu)&&(xtG(xl,cZ)!=un)){return tR;}}return fA;}
function xtNa(xl){if(xl&&!xtL(xl)){var xlp=xtpN(xl);while(xlp){if(xtL(xlp)){xl=xlp;break;}xlp=xtpN(xlp);}}var xid='',xtmedat='',xtmedp='',xtmeds='',type='',xurld='',xtTr=fA;if(xl){if((xtnN(xl)=='A')&&(xl.childNodes)){var xtChild=xl.childNodes,j=0;while((j<xtChild.length)&&!xtTr){if((xtChild[j].nodeType==1)&&!xtL(xtChild[j])&&(xtG(xtChild[j],cL))){xid=cL+xtG(xtChild[j],cL);xtTr=tR;}j++;}}if(!xtTr){if(xtG(xl,oC)&&xtV(xtG(xl,oC)))xid=xtG(xl,oC);else if(xl.href&&xtV(xl.href)){xid=xl.href;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else if(xtG(xl,cL))xid=cL+xtG(xl,cL);else if(xtT(xl))xid=xtT(xl);else if(xl.id)xid=xl.id;else if(xl.name)xid=xl.name;else if(xl.title)xid=xl.title;else if(xl.value)xid=xl.value;else if(xl.href){var ch=xl.href.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else if(xl.src){var ch=xl.src.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else{var xlp=xtpN(xl);while(xlp&&xtnN(xlp)!='BODY'){if(xtG(xlp,oC)&&xtV(xtG(xlp,oC))){xid=xtG(xlp,oC);break;}else if(xlp.href&&xtV(xlp.href)){xid=xlp.href;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}else if(xtG(xl,cL)){xid=cL+xtG(xl,cL);break;}else if(xtT(xlp)){xid=xtT(xlp);break;}else if(xlp.id){xid=xlp.id;break;}else if(xlp.name){xid=xlp.name;break;}else if(xlp.title){xid=xlp.title;break;}else if(xlp.value){xid=xlp.value;break;}else if(xlp.href){var ch=xlp.href.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}else if(xlp.src){var ch=xlp.src.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}xlp=xtpN(xlp);}}}xid=(xid.toString()).replace(/[\s]/gm,'');if(xtV(xid)){type=xtExT(xid).typ;xtmedp=xtExT(xid).pag;xtmeds=xtExT(xid).sec;if(xtG(xl,cL))xid=cL+xtG(xl,cL);else xid=xtExT(xid).pagcl;}else{var xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtG(xlp,oC)&&xtV(xtG(xlp,oC))){xtmedat=xtG(xlp,oC);xtmedat=(xtmedat.toString()).replace(/[\s]/gm,'');type=xtExT(xtmedat).typ;xtmedp=xtExT(xtmedat).pag;xtmeds=xtExT(xtmedat).sec;break;}else if(xlp.href&&xtV(xlp.href)){xtmedat=xlp.href;try{if((xtDe(xtmedat)!=nu)&&(xtDe(xtmedat)!=un))xtmedat=xtDe(xtmedat);}catch(e){}xtmedat=(xtmedat.toString()).replace(/[\s]/gm,'');type=xtExT(xtmedat).typ;xtmedp=xtExT(xtmedat).pag;xtmeds=xtExT(xtmedat).sec;break;}xlp=xtpN(xlp);}}if(type==''){if(xtG(xl,cT)!=nu){type=xtG(xl,cT);}else{var xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtG(xlp,cT)!=nu){type=xtG(xlp,cT);break;}xlp=xtpN(xlp);}}}if(type=='')type=xtCt(xl).typ;xurld=xtCt(xl).url;if(xtmedp==''){xtmedp=(xid.indexOf(cL,0)>=0)?xtExTc(xid):xid;if(xtmeds=='')xtmeds=xtEx2(xw.xt9);}var regex=new RegExp('(&)|[?]','g');xtmedp=(xtmedp.toString()).replace(regex,'_');if(xtmeds=='')xtmeds='0';var r=new RegExp('(::)','g');xid=(xid.toString()).replace(r,'/');var k=0,xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtLCz(xlp)&&(k<2)){xid=xtG(xlp,cZ)+'::'+xid;k+=1;}xlp=xtpN(xlp);}}if((xid.length>255)&&(k==0))xid=xtSub(xid,0,255);xtmedp=xtSub(xtmedp,0,255);return{id:xid,pag:xtmedp,sec:xtmeds,typ:type,url:xurld}}
function xtExTc(xid){var r=new RegExp(cL,'gi');xid=xid.replace(r,'');return xid}
function xtR(e){xtel.t=Math.round(xtH()/1000);if(xtdtmp!=0&&(xtel.t-xtdtmp<1))return;xtdtmp=xtel.t;if(!e)e=xw.event;if(xtBdEv(e))return;var xel=xtEv(e);if(xtTr(xel)){if(xtnN(xel)=='OPTION'){var xelp=xtpN(xel);while(xelp){xel=xelp;if(xtnN(xel)=='SELECT')break;xelp=xtpN(xelp);}}xtel.s=xw.xt8;xtel.pcz=xw.xtp;xtel.s2cz=xtEx2(xw.xt9);xtel.idmod=(xw.xtidmod!=nu)?xw.xtidmod:0;xtel.curr=xtNa(xel).id;xtel.cliccz=xtNa(xel).typ;xtel.dest=xtNa(xel).url;xtel.p=xtNa(xel).pag;xtel.s2=xtNa(xel).sec;xtel.p=((xtel.p!='')&&(xtel.cliccz!='F'))?'&pmed='+xtEn(xtel.p):'';xtel.s2=((xtel.s2!='')&&(xtel.cliccz!='F'))?'&s2med='+xtEn(xtel.s2):'';if(xtel.cliccz=='F'){xtel.cliccz=xtCt(xl).typ;}xtel.sx=xtSx(xel);xtel.sy=xtSy(xel);xtel.px=xtPx(xel);xtel.py=xtPy(xel);xtel.idpage=(xw.xtidpg!=nu)?xw.xtidpg:-1;if((xtel.px==-1)&&(xtel.py==-1))return;var tmpelt=xtEv(e);xtel.xc=((xtnN(tmpelt)=='OPTION')&&!isOP)?xtC(e).x+xtel.px:xtC(e).x;xtel.yc=xtC(e).y;if((xtel.xc==-1)&&(xtel.yc==-1))return;if(xd.compatMode=='BackCompat'&&isI){xtel.xc-=2;xtel.yc-=2;}xtel.xr=(xtel.xc-xtel.px)/xtel.sx;xtel.yr=(xtel.yc-xtel.py)/xtel.sy;if((0<xtel.sx)&&(xtel.sx<=40))xtel.xr=0.5;if((40<xtel.sx)&&(xtel.sx<=250))xtel.xr=(Math.round(xtel.xr*10))/10;if(250<xtel.sx)xtel.xr=(Math.round(xtel.xr*100))/100;if((0<xtel.sy)&&(xtel.sy<=40))xtel.yr=0.5;if((40<xtel.sy)&&(xtel.sy<=250))xtel.yr=(Math.round(xtel.yr*10))/10;if(250<xtel.sy)xtel.yr=(Math.round(xtel.yr*100))/100;if(xtel.xr<0)xtel.xr=0;if(xtel.yr<0)xtel.yr=0;if(xtel.xr>1)xtel.xr=1;if(xtel.yr>1)xtel.yr=1;if((xtel.curr).indexOf(cL,0)<0){var idx=xtIdxOf(xtel.xttab,xel);var xelp=xtpN(xel);while((idx==-1)&&xelp){idx=xtIdxOf(xtel.xttab,xelp);xelp=xtpN(xelp);}xtel.bf=xtNa(xtel.xttab[idx-1]).id;xtel.af=xtNa(xtel.xttab[idx+1]).id;xtel.bf=((xtel.bf).indexOf(cL,0)>=0)?xtExTc(xtel.bf):xtel.bf;xtel.af=((xtel.af).indexOf(cL,0)>=0)?xtExTc(xtel.af):xtel.af;}else{xtel.curr=xtExTc(xtel.curr);xtel.bf='';xtel.af='';xtel.dest='';}var name='';if((xtnN(xel)=='EMBED')&&isOP&&(xtpN(xel)!=nu)&&(xtpN(xel)!=un))name=xtpN(xel).name;else name=xel.name;if((name!=nu)&&(name!=un)&&((name).indexOf(cT)>=0))xtel.cliccz=name.replace(cT,'');var type=xtCt(xel).typ;var hitn=fA;if((xtel.cliccz=='N')&&(type!='N'))hitn=tR;var regex=new RegExp('(&)|[?]','g');xtel.curr=(xtel.curr.toString()).replace(regex,'_');xtel.bf=(xtel.bf.toString()).replace(regex,'_');xtel.af=(xtel.af.toString()).replace(regex,'_');xtel.dest=(xtel.dest.toString()).replace(regex,'_');var res='&xtczv='+xtczv+'&idmod='+xtel.idmod+'&current='+xtEn(xtel.curr)+'&before='+xtEn(xtel.bf)+'&after='+xtEn(xtel.af)+'&cliccz='+xtel.cliccz+'&dest='+xtEn(xtel.dest)+'&posx='+xtel.xr+'&posy='+xtel.yr+'&time='+xtel.t+xtel.p+xtel.s2;var dz='&dz=';if(xt_valdz!=nu){var reg1=new RegExp('XTL','gi'),reg2=new RegExp('[|]{2}','gi'),tabL=new Array();tabL=xt_valdz.split(reg1);for(var i=0;i<tabL.length;i++){if((tabL[i].length>0)&&(parseInt(tabL[i].split(reg2)[1],10)>0)){dz+=tabL[i].split(reg2)[0]+',';dz+=tabL[i].split(reg2)[1]+',';dz+=tabL[i].split(reg2)[2]+',';dz+=tabL[i].split(reg2)[4]+'|';}}}if(((scriptOnClickZone==2)&&(xtel.cliccz!='N'))||(hitn==tR)){var hitdz='';if(xtel.cliccz=='S'){hit=tR;hitdz='&pv='+xt_valsv+dz;}xtHit(xtsd+'.xiti.com/hit.xiti?s='+xtel.s+'&pcz='+xtEn(xtel.pcz)+'&s2cz='+xtEn(xtel.s2cz),res+hitdz,1,1,xtel.idpage);}else if((scriptOnClickZone!=2)&&(xtel.cliccz=='S')){hit=tR;xtHit(xtsd+'.xiti.com/hit.xiti?s='+xtel.s+'&pcz='+xtEn(xtel.pcz)+'&s2cz='+xtEn(xtel.s2cz)+'&xtczv='+xtczv,'&pv='+xt_valsv+dz,1,1,xtel.idpage);}else if(xtel.cliccz=='N'){hit=tR;xtCzW('&idpcz='+xtel.idpage+res+dz+'&pv='+xt_valsv);}}}
function xtCzW(v){var xtcznb=new Date();xtcznb.setTime(xtcznb.getTime()+45000);xd.cookie='xtvalCZ='+v+';expires='+xtcznb.toGMTString()+' ;path=/'+xw.xt1;}
function xtdH(){var off=xd.documentElement?parseInt(xd.documentElement.offsetHeight,10):0,sc=xd.documentElement?parseInt(xd.documentElement.scrollHeight,10):0,boff=xd.body?parseInt(xd.body.offsetHeight,10):0;bsc=xd.body?parseInt(xd.body.scrollHeight,10):0;return xtMax(xtMax(off,boff),xtMax(sc,bsc));}
function xtcW(){var val=xtfR(xw.innerWidth?parseInt(xw.innerWidth,10):0,xd.documentElement?parseInt(xd.documentElement.clientWidth,10):0),val2=xd.body?parseInt(xd.body.clientWidth,10):0;return((val==0)?val2:val);}
function xtcH(){var val=xtfR(xw.innerHeight?parseInt(xw.innerHeight,10):0,xd.documentElement?parseInt(xd.documentElement.clientHeight,10):0),val2=xd.body?parseInt(xd.body.clientHeight,10):0;return((val==0)?val2:val);}
function xtsL(){var pag=xw.pageXOffset?parseInt(xw.pageXOffset,10):0,sl=xd.documentElement?parseInt(xd.documentElement.scrollLeft,10):0,bsl=xd.body?parseInt(xd.body.scrollLeft,10):0;return xtMax(xtMax(pag,sl),bsl);}
function xtsT(){var pag=xw.pageYOffset?parseInt(xw.pageYOffset,10):0,st=xd.documentElement?parseInt(xd.documentElement.scrollTop,10):0,bst=xd.body?parseInt(xd.body.scrollTop,10):0;return xtMax(xtMax(pag,st),bst);}
function xtMax(a,b){return ((a>b)?a:b);}
function xtfR(w,d){var n_result=w?w:0;if(d&&(!n_result||(n_result>d)))n_result=d;return n_result;}
function xtHit(str1,str2,nt,ntg,idpcz){var xt_imgc=new Image(),lim=1500,mh='&mh='+nt+'-'+ntg+'-'+idpcz;if(str2.length>lim){var reg=new RegExp('[|]','gi'),tab=xtSub(str2,0,str2.length-1).split(reg),hit='';l=tab[0].length,i=0;while((l<lim)&&(i<tab.length)){hit+=tab[i]+'|';if(i<tab.length-1)l+=(tab[i+1].length)+1;i+=1;}ntg=(ntg==1)?Math.ceil(str2.length/lim):ntg;mh='&mh='+nt+'-'+ntg+'-'+idpcz;xt_imgc.src=str1+'&idpcz='+idpcz+mh+hit;str2='&dz=';for(var j=i;j<tab.length;j++)str2+=tab[j]+'|';xtHit(str1,str2,nt+1,ntg,idpcz);}else if(str2.length>4){xt_imgc.src=(nt==1)?str1+'&idpcz='+idpcz+str2:str1+'&idpcz='+idpcz+mh+str2;}}
function xtEn(v){return encodeURIComponent(v);}
function xtDe(v){return decodeURIComponent(v);}
function xtG(o,a){var att=o.getAttribute(a);return (att==null)?null:((((a==cZ)||(a==dT))&&(att.length>255))?xtSub(att,0,255):att);}
function xtnN(o){return o.nodeName;}
function xtpN(o){return o.parentNode;}
function xtSub(o,d,f){return o.substring(d,f);}