function Print(doc) {
	flyout=window.open(doc,'flyout',"resizable=no,scrollbars=yes,width=536,height=540,top=50,left=200,menubar=yes");
}

function Opencar(doc,model) {
   	flyout = window.open(doc,'flyout',"resizable=yes,scrollbars=no,width=620,height=625,top=200,left=230");
   	flyout.document.clear;
   	flyout.document.write('<html>\n<title>'+model+'</title>\n<body leftMargin="0" TopMargin="0" onload=\'if(navigator.appVersion.indexOf("MSIE")>0) window.resizeBy(document.all.aimage.width-600, document.all.aimage.height-600);\'><img id=aimage name=aimage src="'+doc+'"></body></html>');
	flyout.focus();
}
ok = false;
pick = 1;

   if (navigator.userAgent.indexOf ("Mozilla") != -1) {
      ok = parseInt(navigator.appVersion.substring(0,1)) >= 3
   }

   if (ok == 1) {
      arrowx = new Image(14,9);
      arrowx.src = "/images/new-arr.gif";
      arrowo = new Image(14,9);
      arrowo.src = "/images/new-arr_gray.gif";
   }

function un(nom) {
       if ((ok == 1) && (pick != nom)) {
	eval("document.f"+nom+".src = arrowo.src;");
       	return true;
      }
}



function deux(nom) {
       if (ok == 1 && (pick != nom)) {
  	eval("document.f"+nom+".src = arrowx.src;");
      	return true;
      }
}

function trois(nom) {
       if (ok == 1) {
       	  //eval("document.f0.src = arrowx.src;document.f1.src = arrowx.src;document.f2.src = arrowx.src;document.f3.src = arrowx.src;");
       	  eval("document.f"+nom+".src = arrowo.src;");
       	  pick = nom;
          return true;
       }
   }
