// Gestion changement des images sur la page d'accueilfunction HomeImage(){var frm = document._Images;var imgs = frm.Imgs.value.split("#");var serie = parseInt(frm.Serie.value);serie = (serie == 6) ? 1 : serie + 1;var pos1 = (serie * 2) - 1;var pos2 = serie * 2;var pos3 = (serie == 6) ? 1 : (serie * 2) + 1;//alert("Serie " + serie + "  " + pos1 + "-" + pos2 + "-" + pos3);document.getElementById("Image1").src = imgs[pos1 - 1];document.getElementById("Image2").src = imgs[pos2 - 1];document.getElementById("Image3").src = imgs[pos3 - 1];frm.Serie.value = serie;window.setTimeout("HomeImage()",5000);}// Ecrit le menu en haut des pagesfunction Menu(zone, niveau){	var dbName = "/c03/parvalux.nsf/";	var pos = (niveau == 2) ? "../" : "./";	with (document)	{		writeln("<table width=\"761\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");		writeln("	<tr bgcolor=\"#000000\">");		writeln("		<td><img src=\"" + dbName + "images/title_" + zone + ".gif\" width=\"241\" height=\"23\" align=\"top\" alt=\"Moteurs Electriques Parvalux\" name=\"parvalux\"></td>");		writeln("		<td><img src=\"" + dbName + "images/transparent.gif\" width=\"62\" height=\"23\" border=\"0\"></td>");		writeln("		<td><a href=\"" + dbName + "index.html\"><img src=\"" + dbName + "images/home.gif\" width=\"49\" height=\"23\" border=\"0\" alt=\"Moteurs Electriques Parvalux\" name=\"parvalux home\"></a></td>");		writeln("		<td><a href=\"" + dbName + "aboutus.html\"><img src=\"" + dbName + "images/about.gif\" width=\"43\" height=\"23\" border=\"0\" alt=\"La soci\u00E9t\u00E9 Parvalux\" name=\"about parvalux\"></a></td>");		writeln("		<td><a href=\"" + dbName + "Products.html\"><img src=\"" + dbName + "images/products.gif\" width=\"45\" height=\"23\" border=\"0\" alt=\"Les gammes de produits Parvalux\" name=\"parvalux products\"></a></td>");		writeln("		<td><a href=\"" + dbName + "maintenance.html\"><img src=\"" + dbName + "images/maintenance.gif\" width=\"69\" height=\"23\" border=\"0\" alt=\"Maintenance des moteurs \u00E9lectriques\" name=\"parvalux\"></a></td>");		writeln("		<td><a href=\"" + dbName + "qanda.html\"><img src=\"" + dbName + "images/questions.gif\" width=\"54\" height=\"23\" border=\"0\" alt=\"Questions / R\u00E9ponses\" name=\"parvalux faq\"></a></td>");		writeln("		<td><a href=\"" + dbName + "distributors.html\"><img src=\"" + dbName + "images/distributors.gif\" width=\"65\" height=\"23\" border=\"0\" alt=\"Distributeurs Parvalux Moteur Electrique\" name=\"parvalux distributors\"></a></td>");		writeln("		<td><a href=\"" + dbName + "contact_step_one.html\"><img src=\"" + dbName + "images/contact.gif\" width=\"44\" height=\"23\" border=\"0\" alt=\"Contactez Parvalux\" name=\"contact parvalux\"></a></td>");		writeln("		<td><a href=\"" + dbName + "map.html\"><img src=\"" + dbName + "images/map.gif\" width=\"69\" height=\"23\" border=\"0\" alt=\"Plan d'acc\u00E8s Parvalux\"></a></td>");		writeln("		<td><img src=\"" + dbName + "images/transparent.gif\" width=\"20\" height=\"23\" border=\"0\"></td>");		writeln("	</tr>");		writeln("</table>");	}}// Ecrit le pied de pagefunction PiedPage(niveau){	var dbName = "/c03/parvalux.nsf/";	var pos = (niveau == 2) ? "../" : "./";	with (document)	{		writeln("	<br><br>");		writeln("	<table border=\"0\" align=\"center\" width=\"100%\">");		writeln("		<tr>");		writeln("			<td align=\"center\" class=\"ftxt\">");				writeln("				[<a class=\"footer\" href=\"" + dbName + "index.html\">Accueil</a>] ");		writeln("    			[<a class=\"footer\" href=\"" + dbName + "aboutus.html\">Soci\u00E9t\u00E9</a>] ");		writeln("				[<a class=\"footer\" href=\"" + dbName + "Products.html\">Produits</a>] ");		writeln("				[<a class=\"footer\" href=\"" + dbName + "maintenance.html\">Maintenance</a>]<br>");		writeln("    			[<a class=\"footer\" href=\"" + dbName + "qanda.html\">Questions</a>] ");		writeln("				[<a class=\"footer\" href=\"" + dbName + "distributors.html\">Distributeurs</a>] ");		writeln("				[<a class=\"footer\" href=\"" + dbName + "contact_step_one.html\">Contact</a>]");		writeln("				[<a class=\"footer\" href=\"" + dbName + "map.html\">Plan d'acc\u00E8s</a>]");		writeln("				<br><br><br>");		writeln("				&copy;2010 Parvalux France - Tous droits r\u00E9serv\u00E9s");		writeln("				<br><br>");		writeln("				Parvalux, 4 rue Guynemer - ZAC Villaroy - Quartier Europe, 78280 Guyancourt, France");		writeln("				<br>");		writeln("				<b>T\u00E9l\u00E9phone</b>&nbsp;+33 (0)1 30 43 72 73&nbsp;&nbsp<b>Fax</b>&nbsp;+33 (0)1 30 44 10 63");		writeln("				<br><br>");		writeln("			</td>");		writeln("		</tr>");		writeln("	</table>");				close();	}}// Ouvre la liste des fichiers \u00E0 t\u00E9l\u00E9chargerfunction FileListe(fileType){var form = document.forms[0];if (fileType == "DWG") {	var choix = form.ChoixDwg.options[form.ChoixDwg.selectedIndex].value;	} else {	var choix = form.ChoixPdf.options[form.ChoixPdf.selectedIndex].value;	}if (choix == "0") {	alert("ATTENTION\nVeuillez choisir un type de produit ou de dessin.");	} else {	document.location.href = "Products.html?OpenForm&" + fileType + "=" + choix;	}}