<!--
function MM_findObj(n, d) { //v4.01
  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_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var browser;

function popupcentree(page,largeur,hauteur,options)
{
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function PopUp(src)
	{
	size=",width=650,height=1000"
    	browser=window.open(src, "","scrollbars=yes,resizable=yes,toolbar=no,status=no,menubar=no,location=no,directories=no"+size)
	}

function PopUpSpe(src,name,w,h)
	{
	size=",width="+w+",height="+h
	browser=window.open(src, name,"scrollbars=no,resizable=no,toolbar=no,status=no,menubar=no,location=no,directories=no"+size)
	}
function PopUpSpe3(src,name,w,h)
	{
	size=",width="+w+",height="+h
	browser=window.open(src, name,"scrollbars=yes,resizable=yes,toolbar=no,status=no,menubar=no,location=no,directories=no"+size)
	}
	
function PopUpSpe2(src,name,w,h)
	{
	size=",width=440"+w+",height=440"+h
	browser=window.open(src, name,"scrollbars=yes,resizable=no,toolbar=no,status=no,menubar=no,location=no,directories=no"+size)
	}
	
function PopupImage(img) {
	titre="AGRANDISSEMENT";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+10,document.images[0].height+48); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function PopupImage2(img) {
	titre="AGRANDISSEMENT";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+15,document.images[0].height+100); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<link rel='stylesheet' href='../style.css' type='text/css'>");
	w.document.write("<Table><tr><td>");
	w.document.write("<IMG src='"+img+"' border=0>");
	w.document.write("</td></tr>");
	w.document.write("<tr><td align='right'>");
	w.document.write("<b>Définissez votre itinéraire avec mappy : <a href='http://www.mappy.fr' target='_blank'>www.mappy.fr</A></b>&nbsp;&nbsp;");
	w.document.write("</td></tr></Table>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function PopupImage3(img) {
	titre="AGRANDISSEMENT";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+15,document.images[0].height+100); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<link rel='stylesheet' href='../style.css' type='text/css'>");
	w.document.write("<Table><tr><td>");
	w.document.write("<IMG src='"+img+"' border=0>");
	w.document.write("</td></tr>");
	w.document.write("<tr><td align='right'>");
	w.document.write("<b>Define your route with mappy : <a href='http://www14.mappy.com/?lang=en' target='_blank'>www.mappy.fr</A></b>&nbsp;&nbsp;");
	w.document.write("</td></tr></Table>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function PopupImage4(img) {
	titre="AGRANDISSEMENT";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+15,document.images[0].height+100); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<link rel='stylesheet' href='../style.css' type='text/css'>");
	w.document.write("<Table><tr><td>");
	w.document.write("<IMG src='"+img+"' border=0>");
	w.document.write("</td></tr>");
	w.document.write("<tr><td align='right'>");
	w.document.write("<b>Defina su ruta con mappy : <a href='http://www14.mappy.com/?lang=es' target='_blank'>www.mappy.fr</A></b>&nbsp;&nbsp;");
	w.document.write("</td></tr></Table>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function PopupImageSpe(img) {
	titre="AGRANDISSEMENT";
	w=open("",'image','width=250,height=187,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' width='250' height='187' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

var browser_type=navigator.appName
function Printbutton(message){
	if (browser_type=="Netscape"){
		window.print();
	}
else 
	if ( self.print ){
		self.print();
	}
else{
		alert(message);
	}
}

//-->