function xiti_clic(page,url,nvlle)
{
 hsh = new Date();
 hsd = document;
 xt_img = new Image();
 hsi = 'http://logc5.xiti.com/hit.xiti?s=63390';
 hsi += '&p='+page+'&clic=S&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();

 if(parseFloat(navigator.appVersion)>=4)
 {Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
  hsi += '&ref=' + parent.document.referrer.replace(/&/g, '$');
  xt_img.src = hsi;
  if (url != null){ 
   if ((nvlle=='')||(nvlle==null)) { hsd.location = url;} else {xfen = window.open(url,'xfen',''); xfen.focus();}
  }
  else {return;}
}

function xt_clic(page,url,nvlle)
{
}

function Create_Boutton (ps_Image, pi_Num_Boutton,nom,version,type,x,y)
{
if (version==1){
 var vs_Image_File;
 vs_Image_File = 'http://www.ratp.info' + ps_Image;
 document.write('<a href="#" title="Plan de quartier RATP" onclick="gotoProxi(\'' + nom + '\')"><img src="' + vs_Image_File + '" border="0"></a>');
}
else if(version==2){
 var vs_Image_File;
 var lien;
 lien = 'exec=proxi&cmd=Plan&nom='+nom+'&type='+type+'&x='+x+'&y='+y;
 vs_Image_File = 'http://www.ratp.info' + ps_Image;
 
 document.write('<a href="#" title="Plan de quartier RATP" onclick="gotoProxi(\'' + lien + '\')"><img src="' + vs_Image_File + '" border="0"></a>');
}
}

function openCenterUrl(htmlurl,nom,width,height) 
{
 leftf =(screen.width-width)/2;
 topf  = (screen.height-height)/2;
 popup = window.open(htmlurl,nom,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width= '+width+',height='+height+',left='+leftf+',top='+topf);
 popup.focus();
}


function gotoProxi(ps_Params_PROXI)
{
 // reprendre fonction openCenterURL (cf Piviweb)
 openCenterUrl("http://www.ratp.info/Proxi/proxi.php?Profil=PLAN_PERSO&" + ps_Params_PROXI,830,830);
xiti_clic('bt_varicelle');
}
