var xtdatean = new Date();
function xtclURL2(ch)
{return ch.replace(/%3C/g,'<').replace(/%3E/g,'>').replace(/[<>]/g,'');}
function xtgetcook(nom,enc)
{enc = ((enc != null)&&(enc!=undefined)) ? enc : "0";
 var arg = nom + "=";var i = 0 ;
 while (i<document.cookie.length)
 {
 var j = i + arg.length;
 if (document.cookie.substring(i,j) == arg) {return xtvalcook(j,enc);}
           i = document.cookie.indexOf(" ",i) + 1;
               if (i==0) {break;}}
        return null;}
function xtvalcook(index,enc)
{       var fin = document.cookie.indexOf(";",index);
        if (fin==-1) {fin=document.cookie.length;};
        if (enc!="1"){return unescape(xtclURL2(document.cookie.substring(index,fin)));}
               else{return xtclURL2(document.cookie.substring(index,fin));}
}
function recupch(param,chba)
{
               if ((chba==null)||(chba==undefined)) 
               {var xturl = xtclURL2(document.location.href.toLowerCase().replace(/%3d/g,'='));}
               else
               {var xturl = chba;}    
               xtpos = xturl.indexOf(param+"=");
               if (xtpos > 0)
               {
                       chq = xturl.substring(1, xturl.length);
                       mq = chq.substring(chq.indexOf(param+"="), chq.length);
                       pos3 = mq.indexOf("&");
                       if (pos3 == -1) pos3 = mq.indexOf("%26")
                       if (pos3 == -1) pos3 = mq.length;
                       return mq.substring(mq.indexOf("=")+1, pos3);
               }
               else{  return null; }
}
if(xtgetcook("xtan")!=null){
	xtantmp = xtgetcook("xtan");
	x22 = xtantmp.substring(xtantmp.indexOf("-")+1,xtantmp.length);}
else{x22=0;}
if(x22==0){var xf7=""}else{var xf7="&f7="+x22}
