// Preloadfunction newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}function changeImages() {	if (document.images && (preloadFlag == true)) {		for (var i=0; i<changeImages.arguments.length; i+=2) {			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];		}	}}var baseURL = "http://www.zanzaman.com/slotcar/";var preloadFlag = false;function preloadImages() {	if (document.images) {		contact_over = newImage(baseURL + "ON/1_01.gif");		sana_over = newImage(baseURL + "ON/2_02.gif");		garage_over = newImage(baseURL + "/ON/3_03.gif");		gsm_over = newImage(baseURL + "ON/4_04.gif");		preloadFlag = true;	}}function winPrint() {	if (navigator.userAgent.indexOf("Mac") != -1 && navigator.appName != "Netscape") { // DÈtection d'incompatibilitÈs		alert("Votre navigateur ne prend pas en compte la\nfonction imprimer contenue dans la page en cours.\nVeuillez imprimer en utilisant le bouton de votre navigateur");	}	else {		window.print(); // Impression	}}function centerOpen(url, width, height, resize) { // Ouverture d'une popup centrÈe	var left = (window.screen.width/2) - (width / 2 + 10);	var top = (window.screen.height/2) - (height / 2 + 50);	var wincenter = window.open(url,"","width=" + width + ",height=" + height + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + ",toolbar=no,menubar=no,status=yes,scrollbars=yes,resizable=" + resize +",directories=no");	wincenter.focus();}function noscrollcenterOpen(url, width, height, resize) { // Ouverture d'une popup centrÈe sans scrollbars	var left = (window.screen.width/2) - (width / 2 + 10);	var top = (window.screen.height/2) - (height / 2 + 50);	var wincenter = window.open(url,"","width=" + width + ",height=" + height + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + ",toolbar=no,menubar=no,status=yes,scrollbars=no,resizable=" + resize +",directories=no");	wincenter.focus();}// Ouverture de la popup imagevar pict_legende;var pict_src;function openPicture(arg) {	pict_legende = legende[arg];	pict_src = image[arg];	noscrollcenterOpen("popup_image.html","620","560","no");}