<!--
function checkMileage(){
	if (document.getElementById('w_ve_ve_mileage').value < 10 ){
			alert("Veuillez saisir un kilométrage supérieur");
	}
}

function popup(url,width,height) 
{
fenetre=window.open(url,"Centrale","toolbar=0,location=0,scrollbars=0,resizable=yes,width="+width+",height="+height+",top=20,left=50")
}
function popup_scroll(url,width,height) 
{
fenetre=window.open(url,"Centrale","toolbar=no,location=0,scrollbars=yes,resizable=no,width="+width+",height="+height+",top=20,left=50")
}
function popup_wide(url) 
{
fenetre=window.open(url,"Centrale","toolbar=0,location=0,scrollbars=yes,resizable=no,width=700,height=580,top=20,left=50");
fenetre.focus();
}
function warning(url) 
{
fenetre=window.open(url,"fenetre","toolbar=no,location=0,scrollbars=no,resizable=no,width=420,height=180,top=20,left=50")
}

function remote(url)
{
window.opener.location=url
}

function CookieSession()
{
    if (!navigator.cookieEnabled) {
    	if(navigator.appName=="Netscape")
	  {
	  	warning("warning_session_ns_popup.php");
	  }
	  
	  if(navigator.appVersion.indexOf("MSIE 4")>-1)
	  {
	  	warning("warning_session_ie4_popup.php"); 
	  }
	  
	  if(navigator.appVersion.indexOf("MSIE 5")>-1)
	  {
	  	warning("warning_session_ie5_popup.php");
	  }
	  
	  if(navigator.appVersion.indexOf("MSIE 6.")>-1)
	  {
		warning("warning_session_ie6_popup.php"); 
	  }

    }
    else
    {
	cookiesOK = "Yes" 
    }
}

        function AffContact(URL, HH, WW) {
                var h=400;
                var w = 400;
                self.window.name="ProLaCentrale";
                var Aide="";
                if (HH) {
                        h=HH;
                }
                if (WW) {
                        w=WW;
                }
                        Aide=window.open("", "Contact","resizable=yes,scrollbars=no,toolbar=no,status=no,width=" + w + ",height=" + h + ",top=0,left=0");
                        Aide.window.moveTo(0,0);
                        Aide.location=URL;
                        Aide.focus();
//                        Actu=window.open(URL, "Contact", "resizable=yes,toolbar=no,status=no,width=" + w + ", height=" + h + ", top=0, left=0");
        }
        
function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
  var time = new Date();
  randnum= (time.getTime());
  
//-->