// JavaScript Document
function verifForm(form) 
{
	if (form.nom.value == "" || form.email.value == "" )
		{
			if(form.nom.value == "")
				{
				document.contact.nom.style.borderColor="#ED8C0F";
				}
			if(form.email.value == "")
				{
				document.contact.email.style.borderColor="#ED8C0F";document.contact.email.style.borderWidth="1px";
				}
		return false;
		}
	return true;
}
function verifCmd(form) 
{
	
	if (form.nom.value == "" || form.prenom.value == "" || form.adresse.value == "" || form.cp.value == "" || form.ville.value == "" || form.tel.value == "" || form.email.value == "")
		{
			
			if(form.nom.value == "")
				{
				document.commander.nom.style.borderColor="#ED8C0F";
				}
			if(form.prenom.value == "")
				{
				document.commander.prenom.style.borderColor="#ED8C0F";
				}
			if(form.adresse.value == "")
				{
				document.commander.adresse.style.borderColor="#ED8C0F";
				}
			if(form.cp.value == "")
				{
				document.commander.cp.style.borderColor="#ED8C0F";
				}
			if(form.ville.value == "")
				{
				document.commander.ville.style.borderColor="#ED8C0F";
				}
			if(form.tel.value == "")
				{
				document.commander.tel.style.borderColor="#ED8C0F";
				}
			if(form.email.value == "")
				{
				document.commander.email.style.borderColor="#ED8C0F";
				}
				
		return false;
		
		}
		
	return true;
	
}
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->

//////////////////////////////////////
// POPUP SUR IMAGE - TAILLE ADAPTEE //
//////////////////////////////////////
<!--
function resizePopUp(monImage, monTitre)
    {
	w = window.open('','chargement','width=10,height=10');
	w.document.write( "<html><head><title>"+monTitre+"</title>\n" );
	w.document.write( "<script language='JavaScript'>\n");
	w.document.write( "IE5=NN4=NN6=false;\n");
	w.document.write( "if(document.all)IE5=true;\n");
	w.document.write( "else if(document.getElementById)NN6=true;\n");
	w.document.write( "else if(document.layers)NN4=true;\n");
	w.document.write( "function autoSize() {\n");
	w.document.write( "if(IE5) self.resizeTo(document.images[0].width+10,document.images[0].height+31);\n");
	w.document.write( "else if(NN6) self.sizeToContent();\n");
	w.document.write( "else window.resizeTo(document.images[0].width,document.images[0].height+20);\n");
	w.document.write( "self.focus();\n");
	w.document.write( "}\n</scri");
	w.document.write( "pt>\n");
	w.document.write( "</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad='javascript:autoSize();'>" );
	w.document.write( "<a href='javascript:window.close();'><img src='"+monImage+"' border=0 alt='"+monTitre+"'></a>" );
	w.document.write( "</body></html>" );
	w.document.close();
	}
//-->
