function focusField(form, field) {
	if(document [form] [field]){ 
		document [form] [field].focus() 
	}
}

bName = navigator.appName;
bVersion = parseInt(navigator.appVersion);
if (bName == "Netscape" && bVersion >= 3) display = "on";
else if (bName == "Microsoft Internet Explorer" && bVersion>= 4) display="on";
else display = "off";

if (display == "on")  {
	arrow0 = new Image(11, 23); arrow0.src = "/gr/arrow_003366.gif";
	arrow1 = new Image(11, 23); arrow1.src = "/gr/arrow_FFFFFF.gif";
	deletex0 = new Image(15, 14); deletex0.src = "/gr/icons/icons_x_grey.gif";
	deletex1 = new Image(15, 14); deletex1.src = "/gr/icons/icons_x_red.gif";
}


function showProduct(id, name)  {
	if (display == "on") {
		document [name].src = eval("option" + id + ".src");
	}
}

function imageOn(name, id)  {
	if (display == "on") {
		document [name + "" + id].src = eval(name + "1.src");
	}
}

function imageOff(name, id)  {
	if (display == "on") {
		document [name + "" + id].src = eval(name + "0.src");
	}
}

function displayOn(top)  {
	if (display == "on") {
		document [top].src = eval(top + "1.src");
		if (top != "plan" & top != "contact" & top != "accueil") {
			bottom= top + "_arrow";
			document [bottom].src = eval("arrow1.src");
		}
	}
}

function displayOff(top)  {
	if ((display == "on") && (currentside != top)) {
		document [top].src = eval(top + "0.src");
		if (top != "plan" & top != "contact" & top != "accueil") {
			bottom= top + "_arrow";
			document [bottom].src = eval("arrow0.src");
		}
	}
}

function init_nav()  {
	if (currentside != '') {
		document [currentside].src = eval(currentside + "1.src");
		if (currentside != "plan" & currentside != "contact" & currentside != "accueil") {
			currentbottom=currentside + "_arrow";
			document [currentbottom].src = eval("arrow1.src");
		}
	}
}
