<!-- 
function getCookieVal (offset) { 
var endstr = document.cookie.indexOf (";", offset); 
if (endstr == -1) 
	endstr = document.cookie.length; 
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) { 
var arg = name + "="; 
var alen = arg.length; 
var clen = document.cookie.length; 
var i = 0; 
while (i < clen) { 
var j = i + alen; 
if (document.cookie.substring(i, j) == arg) 
	return getCookieVal (j); 
i = document.cookie.indexOf(" ", i) + 1; 
if (i == 0) break; 
} 
return null;
}

function SetCookie (name, value) { 
var argv = SetCookie.arguments; 
var argc = SetCookie.arguments.length; 
var expires = (argc > 2) ? argv[2] : null; 
var path = (argc > 3) ? argv[3] : null; 
var domain = (argc > 4) ? argv[4] : null; 
var secure = (argc > 5) ? argv[5] : false; 
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) + 
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}


//*****************************  
function repositionner_Layers() // 2010
//*****************************
	{
	if (document.body.clientWidth > 830)
		{
		//  Recherche des Layers matériels simples ex "Layer1"
		//......................................................
	    for(k = 1; k < 100; k++) // k < 100  // from 1 !!
			{
			var Layer = 'Layer' + k;
			
			if (!document.getElementById(Layer))
				break;			
				
			document.getElementById(Layer).style.left = ((document.body.clientWidth - 830)/2 + 160) + 'px';
			}	
				
		//  Recherche des Layers Lignes ex "Layer1L1 - Layer2L1 - Layer3L1"
		//......................................................
	    for(i = 1; i <= 5; i++) // k < 5 // 5 lignes maximum // from 1 !!
			{
	    	for(k = 1; k <= 10; k++) // k < 10  // 10 éléments par ligne maxi // from 1 !!
				{
				var Layer = 'Layer' + k + 'L' + i; // ex "Layer1L1 - Layer2L1 - Layer3L1"
			
				if (!document.getElementById(Layer))
					break;			
				
				document.getElementById(Layer).style.left = ((document.body.clientWidth - 830)/2 + 160) + 'px';
				}				
			}
		}
   }	
   
function imprimer() 
//-----------------
  {
  if (window.print)
  	 {   window.print(); }

  else { // cas des Mac
	   alert("\nPour imprimer la page, veuillez utiliser la touche Imprimer de votre navigateur.");
	   }
  }
 
function imprimer_E() 
//-----------------
  {
  if (window.print)
  	 {   window.print(); }

  else { // cas des Mac
	   alert("\nTo print this page, please use your browser Print button.");
	   }
  }
function remplir_case() // pour page intro
//---------------------
{
var identifiant = GetCookie('reed2010');

if (identifiant != null)
	{
	document.infos.elements[0].value = identifiant;
	}
}

function nouvel_inscrit() // pour page intro // empêche des inscriptions multiples
//-----------------------
{
var identifiant = GetCookie('reed2010'); 

if (identifiant != null && document.infos.elements[0].value.length == 6)
   {
   return deja_inscrit();
   }
   
// envoi
//-------
document.infos2.submit(); // $premiere_inscription = 1
}

function deja_inscrit()
//---------------------
{
var rens_k = document.infos.elements[0].value;

if (rens_k.length == 0)
	{ alert("\nPouvez-vous indiquer votre clé d'identification ?"); return; }

else if (rens_k.length != 6)
	{ alert("\nClé d'identification non valide !"); return; }

// envoi
//-------
document.infos.submit();
}

function deja_inscrit_E()
//-----------------------
{
var rens_k = document.infos.elements[0].value;

if (rens_k.length == 0)
	{ alert("\nPlease type your identification number!"); return; }

else if (rens_k.length != 6)
	{ alert("\nInvalid identification number!"); return; }

// envoi
//-------
document.infos.submit();
}

function envoi_coordonnees()
//-------------------------
{
var nb = 13; // nb elts du formulaire

//  tests validité sur champs de saisie
//.....................................
for (var k = 0; k < nb; k++) 
	{
	var rens_k = document.infos.elements[k].value;
		
	if (k == 0) // société
		{
		recherche = / /g; // recherche globale
		
		var test = rens_k.replace(recherche, ""); // permet d'éviter l'inscription d'une chaine blanche
				
	    if (test.length < 2) // au moins 2 éléments !
			{alert("\nVous n'avez pas indiqué la raison sociale  de votre entreprise !"); return;}
        }
		
	else if (k == 1 && rens_k.length == 0)
		{alert("\nVous n'avez pas indiqué votre nom !"); return;}
		
	else if (k == 2 && rens_k.length == 0)
		{alert("\nVous n'avez pas indiqué votre prénom !"); return;}

    else if (k == 3 && rens_k.length == 0)
			{alert("\nVous n'avez pas indiqué votre numéro de téléphone !"); return;}

    else if (k == 5 && rens_k.length == 0)
			{ alert("\nPouvez-vous indiquer votre E-mail ?"); return;}
	
	else if (k == 5 && rens_k.indexOf('@') == -1)
		{ alert("\nE-mail non valide !"); return;}
 
	else if (k >= 6 && k <= 8 && rens_k.length == 0)
		{ alert("\nPouvez-vous indiquer tous les éléments de votre adresse ?"); return;}	
 	}
	
// Confirmation des paramètres POPAI, 1ere inscription etc, dans l'ordre du plus favorable au moins favorable
//...................................
if (document.infos.Premiere_participation[0].checked && document.infos.Exposant[0].checked) // 1ere participation  + exposant : tarif le + favorable
	{ 
	if (confirm("\nConfirmez-vous que c'est votre 1ère participation aux POPAI Awards Paris et que que vous êtes exposant au salon Marketing Point de vente 2010 ?  ")== false)
		return;
	}

else if (document.infos.Laureat_popai[0].checked) // Lauréat POPAI 
	{ 
	if (confirm("\nConfirmez-vous que vous avez été lauréat en 2009 d'un autre concours POPAI  ?  ")== false)
		return;
	}
	
else if (document.infos.Membre_popai[0].checked && document.infos.Exposant[0].checked) // Membre POPAI + exposant
	{ 
	if (confirm("\nConfirmez-vous que votre société est membre POPAI  et que vous êtes exposant au salon Marketing Point de vente 2010 ?  ")== false)
		return;
	}

else if (document.infos.Premiere_participation[0].checked) // 1ere participation non exposant
	{ 
	if (confirm("\nConfirmez-vous que c'est votre 1ère participation aux POPAI Awards Paris ?  ")== false)
		return;
	}

else if (document.infos.Membre_popai[0].checked) // Membre POPAI non exposant
	{ 
	if (confirm("\nConfirmez-vous que votre société est membre POPAI ?  ")== false)
		return;
	}

else if (document.infos.Exposant[0].checked) // Exposant au salon MPV, cas général
	{ 
	if (confirm("\nConfirmez-vous que vous êtes exposant au salon Marketing Point de vente 2010 ?  ")== false)
		return;
	}

// troncatures du textarea
//...........................
document.infos.Adresse_facturation.value = document.infos.Adresse_facturation.value.substring(0, 400);

// envoi
//-------
document.infos.submit();
}

function envoi_coordonnees_E()
//---------------------------
{
var nb = 13; // nb elts du formulaire

//  tests validité sur champs de saisie
//....................................
for (var k = 0; k < nb; k++) 
	{
	var rens_k = document.infos.elements[k].value;
		
	if (k == 0) // société
		{
		recherche = / /g; // recherche globale
			
		var test = rens_k.replace(recherche, ""); // permet d'éviter l'inscription d'une chaine blanche
					
	    if (test.length < 2) // au moins 2 éléments !
				{alert("\nPlease type your company's name!"); return;}
        }			

	else if (k == 1 && rens_k.length == 0)
		{alert("\nPlease indicate your last name!"); return;}
		
	else if (k == 2 && rens_k.length == 0)
		{alert("\nPlease indicate your first name!"); return;}

    else if (k == 3 && rens_k.length == 0)
			{alert("\nPlease type your telephone number!"); return;}

    else if (k == 5 && rens_k.length == 0)
			{ alert("\nPlease indicate your e-mail address!"); return;}
	
	else if (k == 5 && rens_k.indexOf('@') == -1)
		{ alert("\nInvalid E-mail !"); return;}
 
	else if (k >= 6 && k <= 8 && rens_k.length == 0)
		{ alert("\nPlease type your full address!"); return;}	
	
	else if (k == 9 && rens_k.length == 0) // spécifique pour GB
			{ alert("\nPlease select a country!"); return;}	
 
 	}

// Confirmation des paramètres POPAI, 1ere inscription etc
//.............................................................................
if (document.infos.Premiere_participation[0].checked && document.infos.Exposant[0].checked) // 1ere participation  + exposant : tarif le + favorable
	{ 
	if (confirm("\nDo you confirm your 1st participation in the POPAI Awards Paris and you are an exhibitor at the Marketing at retail show 2010?  ")== false)
		return;
	}

else if (document.infos.Laureat_popai[0].checked) // Lauréat POPAI 
	{ 
	if (confirm("\nDo you confirm you are a 2009 prizewinner of another POPAI competition?  ")== false)
		return;
	}
	
else if (document.infos.Membre_popai[0].checked && document.infos.Exposant[0].checked) // Membre POPAI + exposant
	{ 
	if (confirm("\nDo you confirm your company is a POPAI member and you are an exhibitor at the Marketing at retail show 2010?   ")== false)
		return;
	}

else if (document.infos.Premiere_participation[0].checked) // 1ere participation non exposant
	{ 
	if (confirm("\nDo you confirm your 1st participation in the POPAI Awards Paris?  ")== false)
		return;
	}

else if (document.infos.Membre_popai[0].checked) // Membre POPAI non exposant
	{ 
	if (confirm("\nDo you confirm your company is a POPAI member?  ")== false)
		return;
	}

else if (document.infos.Exposant[0].checked) // Exposant au salon MPV, cas général
	{ 
	if (confirm("\nDo you confirm you are an exhibitor at the Marketing at retail show 2010?  ")== false)
		return;
	}

// troncatures du textarea
//...........................
document.infos.Adresse_facturation.value = document.infos.Adresse_facturation.value.substring(0, 400);

// envoi
//-------
document.infos.submit();
}

function envoi_coordonnees_tableau()
//---------------------------------
{
var nb = 13; // nb elts du formulaire

//  tests validité sur champs de saisie
//.....................................
for (var k = 0; k < nb; k++) 
	{
	var rens_k = document.infos.elements[k].value;
		
	if (k == 0) // société
		{
		recherche = / /g; // recherche globale
		
		var test = rens_k.replace(recherche, ""); // permet d'éviter l'inscription d'une chaine blanche
				
	    if (test.length < 2) // au moins 2 éléments !
			{alert("\nVous n'avez pas indiqué la raison sociale  de votre entreprise !"); return;}
        }
		
	else if (k == 1 && rens_k.length == 0)
		{alert("\nVous n'avez pas indiqué votre nom !"); return;}

    else if (k == 3 && rens_k.length == 0)
			{alert("\nVous n'avez pas indiqué votre numéro de téléphone !"); return;}

    else if (k == 5 && rens_k.length == 0)
			{ alert("\nPouvez-vous indiquer votre E-mail ?"); return;}
	
	else if (k == 5 && rens_k.indexOf('@') == -1)
		{ alert("\nE-mail non valide !"); return;}
 
	else if (k >= 6 && k <= 8 && rens_k.length == 0)
		{ alert("\nPouvez-vous indiquer tous les éléments de votre adresse ?"); return;}	
 	}
	
// pas de confirmation pour les paramètres popai etc ici
	
// troncatures du textarea
//...........................
document.infos.Adresse_facturation.value = document.infos.Adresse_facturation.value.substring(0, 400);

// envoi
//-------
document.infos.submit();
}

function envoi_categorie()
//------------------------
{
var rens_0 = document.infos.elements[0].value; // 
	
if (rens_0.length == 0 || rens_0 == " ") 
	{
	alert("\nVous n'avez pas sélectionné la catégorie du matériel !");
	return;
	}
	
// envoi
//-------
if (rens_0 == "O")
	{
	document.infos2.elements[0].value = rens_0;
	document.infos2.submit();
	}
	
else document.infos.submit();
}

function envoi_categorie_E()
//------------------------
{
var rens_0 = document.infos.elements[0].value; // 
	
if (rens_0.length == 0 || rens_0 == " ") 
	{
	alert("\nPlease select a category!");
	return;
	}
	
// envoi
//-------
if (rens_0 == "O")
	{
	document.infos2.elements[0].value = rens_0;
	document.infos2.submit();
	}
	
else document.infos.submit();
}

function envoi_fiche()
//---------------------
{
//  tests validité sur champs de saisie
//
if (document.infos.Nom_materiel.value.length == 0)
	{alert("\nVous n'avez pas indiqué le nom du matériel !"); return;}

if (document.infos.Producteur.value.length == 0)
	{alert("\nVous n'avez pas indiqué le producteur du matériel !"); return;}

if (document.infos.Createur.value.length == 0)
	{alert("\nVous n'avez pas indiqué le créateur du matériel !"); return;}

if (document.infos.Annonceur.value.length == 0)
	{alert("\nVous n'avez pas indiqué l'annonceur du matériel !"); return;}

if (document.infos.Type_presentoir 
    && document.infos.Type_presentoir.options[document.infos.Type_presentoir.selectedIndex].value.length == 0 
    && document.infos.Autre_presentoir.value.length == 0)
	{alert("\nVous n'avez pas indiqué le type de présentoir !"); return;}

/*if (document.infos.Reseau.options[document.infos.Reseau.selectedIndex].value.length == 0 
    && document.infos.Autre_reseau.value.length == 0)
	{alert("\nVous n'avez pas indiqué le réseau de distribution !"); return;} */

if (document.infos.Quantite 
    && document.infos.Quantite.value.length == 0)
	{alert("\nVous n'avez pas indiqué la quantité produite !"); return;}

if (document.infos.Prix_materiel  
   &&  document.infos.Prix_materiel.value.length == 0)
	{alert("\nVous n'avez pas indiqué le prix du matériel !"); return;}
	
if (document.infos.Materiaux
    && document.infos.Materiaux.value.length == 0)
	{alert("\nVous n'avez pas indiqué les matériaux utilisés !"); return;}

if (document.infos.Largeur
	&& (document.infos.Largeur.value.length == 0 
       || document.infos.Profondeur.value.length == 0
	   || document.infos.Hauteur.value.length == 0))
	{alert("\nVous n'avez pas indiqué les dimensions du matériel !"); return;}

if (document.infos.Duree // cas de la catégorie S
    && document.infos.Duree[0].checked == 0 
	&& document.infos.Duree[1].checked == 0) // aucun des 2 coché
	{
	alert("\nPouvez-vous indiquer si le matériel est réutilisable ou non ?"); 
	return;
	} 
else if (document.infos.Duree_continue // cas général
    && document.infos.Duree_continue.value.length == 0) 
	{
	alert("\nPouvez-vous indiquer la durée d'utilisation du matériel ?"); 
	return;
	} 
	
if (document.infos.Forfait_electrique[0].checked == 0 
	&& document.infos.Forfait_electrique[1].checked == 0) // aucun des 2 coché
	{
	alert("\nPouvez-vous indiquer si vous souhaitez un forfait électricité\npour la présentation du matériel ?"); 
	return;
	} 

if (document.infos.Hauteur && document.infos.Hauteur.value <= 1400 // mmm!!
    && document.infos.Socle[0].checked == 0 
	&& document.infos.Socle[1].checked == 0
	&& document.infos.Socle[2].checked == 0) // aucun des 3 coché
	{
	alert("\nPouvez-vous indiquer si vous souhaitez un socle ?"); 
	return;
	} 
	
// troncatures des textareas
//...........................
if (document.infos.Objectifs_annonceur) // limite à 800 char
	{
	document.infos.Objectifs_annonceur.value = document.infos.Objectifs_annonceur.value.substring(0, 800);
	document.infos.Strategie.value = document.infos.Strategie.value.substring(0, 800);
	}
	
if (document.infos.Techniques_employees) // limite à 400 char
	{
	document.infos.Techniques_employees.value = document.infos.Techniques_employees.value.substring(0, 400);
	document.infos.Qualite_innovation.value = document.infos.Qualite_innovation.value.substring(0, 400);
	document.infos.Qualite_conception.value = document.infos.Qualite_conception.value.substring(0, 400);
	document.infos.Difficultes_surmontees.value = document.infos.Difficultes_surmontees.value.substring(0, 400);
	}
	
if (document.infos.Adaptation_produits) // limite à 400 char
	{
	document.infos.Adaptation_produits.value = document.infos.Adaptation_produits.value.substring(0, 400);
	document.infos.Conception_technique.value = document.infos.Conception_technique.value.substring(0, 400);
	document.infos.Qualite_fabrication.value = document.infos.Qualite_fabrication.value.substring(0, 400);
	document.infos.Design.value = document.infos.Design.value.substring(0, 400);
	}

// nom complet du fichier client
//........................................
if (document.infos.Fichier_client.value != "") // sinon on conserve l'ancienne valeur !
	document.infos.Nom_fichier_client.value = document.infos.Fichier_client.value; 
	
// Verrou
//.......
if (document.infos.Verrou) // n'existe que sur la pages du tableau de bord
   {
   if (document.infos.Verrou.checked == true)
      document.infos.Verrou.value = "V";
	  
   else document.infos.Verrou.value = "";
   }	

// envoi
//
document.infos.submit();

}

function envoi_fiche_E()
//---------------------
{
//  tests validité sur champs de saisie
//
if (document.infos.Nom_materiel.value.length == 0)
	{alert("\nPlease type the name of the entry!"); return;}

if (document.infos.Producteur.value.length == 0)
	{alert("\nPlease indicate the name of the manufacturer!"); return;}

if (document.infos.Createur.value.length == 0)
	{alert("\nPlease indicate the designer's name!"); return;}

if (document.infos.Annonceur.value.length == 0)
	{alert("\nPlease indicate the advertiser's name!"); return;}

if (document.infos.Type_presentoir
    && document.infos.Type_presentoir.options[document.infos.Type_presentoir.selectedIndex].value.length == 0 
    && document.infos.Autre_presentoir.value.length == 0)
	{alert("\nPlease indicate the type of display!"); return;}

/*if (document.infos.Reseau.options[document.infos.Reseau.selectedIndex].value.length == 0 
    && document.infos.Autre_reseau.value.length == 0)
	{alert("\nPlease indicate the distribution network!"); return;} */

if (document.infos.Quantite 
    && document.infos.Quantite.value.length == 0)
	{alert("\nPlease type the quantity produced!"); return;}

if (document.infos.Prix_materiel  
   &&  document.infos.Prix_materiel.value.length == 0)
	{alert("\nPlease indicate the cost of unit!"); return;}
	
if (document.infos.Materiaux
    && document.infos.Materiaux.value.length == 0)
	{alert("\nPlease indicate the materials used!"); return;}

if (document.infos.Largeur
	&& (document.infos.Largeur.value.length == 0 
       || document.infos.Profondeur.value.length == 0
	   || document.infos.Hauteur.value.length == 0))
	{alert("\nPlease indicate all the dimensions of the unit!"); return;}
	
if (document.infos.Duree // cas de la catégorie S
    && document.infos.Duree[0].checked == 0 
	&& document.infos.Duree[1].checked == 0) // aucun des 2 coché
	{
	alert("\nIndicate if the unit is reusable or not."); 
	return;
	} 
	
else if (document.infos.Duree_continue // cas général
    && document.infos.Duree_continue.value.length == 0) 
	{
	alert("\nPlease indicate use duration of the unit."); 
	return;
	} 
	
if (document.infos.Forfait_electrique[0].checked == 0 
	&& document.infos.Forfait_electrique[1].checked == 0) // aucun des 2 coché
	{
	alert("\nIndicate if you need an electrical socket to display your material?"); 
	return;
	} 
	
if (document.infos.Hauteur && document.infos.Hauteur.value <= 1400 // mmm!!
    && document.infos.Socle[0].checked == 0 
	&& document.infos.Socle[1].checked == 0
	&& document.infos.Socle[2].checked == 0) // aucun des 3 coché
	{
	alert("\nIndicate if your unit will need a base to sit on?"); 
	return;
	} 	
	
// troncatures des textareas
//...........................
if (document.infos.Objectifs_annonceur) // limite à 800 char
	{
	document.infos.Objectifs_annonceur.value = document.infos.Objectifs_annonceur.value.substring(0, 800);
	document.infos.Strategie.value = document.infos.Strategie.value.substring(0, 800);
	}
	
if (document.infos.Techniques_employees) // limite à 400 char
	{
	document.infos.Techniques_employees.value = document.infos.Techniques_employees.value.substring(0, 400);
	document.infos.Qualite_innovation.value = document.infos.Qualite_innovation.value.substring(0, 400);
	document.infos.Qualite_conception.value = document.infos.Qualite_conception.value.substring(0, 400);
	document.infos.Difficultes_surmontees.value = document.infos.Difficultes_surmontees.value.substring(0, 400);
	}
	
if (document.infos.Adaptation_produits) // limite à 400 char
	{
	document.infos.Adaptation_produits.value = document.infos.Adaptation_produits.value.substring(0, 400);
	document.infos.Conception_technique.value = document.infos.Conception_technique.value.substring(0, 400);
	document.infos.Qualite_fabrication.value = document.infos.Qualite_fabrication.value.substring(0, 400);
	document.infos.Design.value = document.infos.Design.value.substring(0, 400);
	}

// nom complet du fichier client
//.............................
if (document.infos.Fichier_client.value != "") // sinon on conserve l'ancienne valeur !
	document.infos.Nom_fichier_client.value = document.infos.Fichier_client.value; 
	
// envoi
//
document.infos.submit();
}

function envoi_fiche_element()
//---------------------------
{
//  tests validité sur champs de saisie
//
if (document.infos.Type_presentoir.options[document.infos.Type_presentoir.selectedIndex].value.length == 0 
    && document.infos.Autre_presentoir.value.length == 0)
	{alert("\nVous n'avez pas indiqué le type de présentoir !"); return;}

if (document.infos.Quantite.value.length == 0)
	{alert("\nVous n'avez pas indiqué la quantité produite !"); return;}

if (document.infos.Prix_materiel.value.length == 0)
	{alert("\nVous n'avez pas indiqué le prix du matériel !"); return;}

if (document.infos.Largeur.value.length == 0 
    || document.infos.Profondeur.value.length == 0
	|| document.infos.Hauteur.value.length == 0)
	{alert("\nVous n'avez pas indiqué les dimensions du matériel !"); return;}
	
if (document.infos.Forfait_electrique[0].checked == 0 
	&& document.infos.Forfait_electrique[1].checked == 0) // aucun des 2 coché
	{
	alert("\nPouvez-vous indiquer si vous souhaitez un forfait électricité\npour la présentation du matériel ?"); 
	return;
	} 
	
if (document.infos.Hauteur.value <= 1400 // !!
    && document.infos.Socle[0].checked == 0 
	&& document.infos.Socle[1].checked == 0
	&& document.infos.Socle[2].checked == 0) // aucun des 3 coché
	{
	alert("\nPouvez-vous indiquer si vous souhaitez un socle ?"); 
	return;
	}
	
// nom complet du fichier client
//..............................
if (document.infos.Fichier_client.value != "") // sinon on conserve l'ancienne valeur !
	document.infos.Nom_fichier_client.value = document.infos.Fichier_client.value; 

// Verrou
//.......
if (document.infos.Verrou) // n'existe que sur la pages du tableau de bord
   {
   if (document.infos.Verrou.checked == true)
      document.infos.Verrou.value = "V";
	  
   else document.infos.Verrou.value = "";
   }	
   
// envoi
//
document.infos.submit();
}

function envoi_fiche_element_E()
//------------------------------
{
//  tests validité sur champs de saisie
//
if (document.infos.Type_presentoir.options[document.infos.Type_presentoir.selectedIndex].value.length == 0 
    && document.infos.Autre_presentoir.value.length == 0)
	{alert("\nPlease indicate the type of display!"); return;}

if (document.infos.Quantite.value.length == 0)
	{alert("\nPlease type the quantity produced!"); return;}

if (document.infos.Prix_materiel.value.length == 0)
	{alert("\nPlease indicate the cost of unit!"); return;}

if (document.infos.Largeur.value.length == 0 
    || document.infos.Profondeur.value.length == 0
	|| document.infos.Hauteur.value.length == 0)
	{alert("\nPlease indicate all the dimensions of the unit!"); return;}
	
if (document.infos.Forfait_electrique[0].checked == 0 
	&& document.infos.Forfait_electrique[1].checked == 0) // aucun des 2 coché
	{
	alert("\nIndicate if you need an electrical socket to display your material?"); 
	return;
	} 
	
if (document.infos.Hauteur.value <= 1400 // !!
    && document.infos.Socle[0].checked == 0 
	&& document.infos.Socle[1].checked == 0
	&& document.infos.Socle[2].checked == 0) // aucun des 3 coché
	{
	alert("\nIndicate if your unit will need a base to sit on?"); 
	return;
	} 		
	
// nom complet du fichier client
//..............................
if (document.infos.Fichier_client.value != "") // sinon on conserve l'ancienne valeur !
	document.infos.Nom_fichier_client.value = document.infos.Fichier_client.value; 

// envoi
//
document.infos.submit();
}


function envoi_produit(numero_produit)
//------------------------------------
{
document.produit.Numero_produit.value = numero_produit; // nouvelle valeur!!
	
// envoi
//
document.produit.submit();
}

function envoi_premier_element_fiche(numero_produit)
//-------------------------------------------------
{
document.premier_element_fiche.Numero_produit.value = numero_produit; // nouvelle valeur!!
	
// envoi
//
document.premier_element_fiche.submit();
}

function envoi_element_suivant_fiche(numero_produit)
//-------------------------------------------------
{
document.element_suivant_fiche.Numero_produit.value = numero_produit; // nouvelle valeur!!
	
// envoi
//
document.element_suivant_fiche.submit();
}

function setinvisible(Layer)
//--------------------------
	{		
	Layer.style.visibility = "hidden";
	}

function setvisible(Layer)
//------------------------
	{
	Layer.style.visibility = "visible";
	}
	
function envoi_login()
//---------------------
{
var rens_k = document.formulaire.Login.value;

if (rens_k.length == 0)
	{ alert("\nPouvez-vous indiquer votre code d'accès ?"); return; }

else if (rens_k.length != 6 && rens_k.length != 5 && rens_k.length != 4) // 6 chiffres pour exposants // 5 chiffres pour internaute lambda // 4 pour adhérents POPAI
	{ alert("\nCode d'accès non valide !"); return; }

// envoi
//-------
document.formulaire.submit();
}

function envoi_login_E()
//----------------------
{
var rens_k = document.formulaire.Login.value;

if (rens_k.length == 0)
	{ alert("\nPlease indicate your access code!"); return; }

else if (rens_k.length != 6 && rens_k.length != 5) // 6 chiffres pour exposants // 5 chiffres pour internaute lambda
	{ alert("\nInvalid access code!"); return; }

// envoi
//-------
document.formulaire.submit();
}

//--------------------------------
function voir_page (numero, w, h)
//--------------------------------
	{
	LeftPosition=(screen.width)?(screen.width-w)/2:100; // centrage
	TopPosition=(screen.height)?(screen.height-h)/2:100;
		
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	
	page = 'video_loupi_'+ numero + '.htm';
	
	win=window.open(page,'',settings);
	}	

//--------------------------------
function mm_rouge() 
//--------------------------------
  {
  if (document.getElementById("dimensions"))
     {
     document.getElementById("dimensions").innerHTML = "<b>Dimensions <span class=fond_rouge>&nbsp;(mm)&nbsp;</span></b>";
     }
   }

//-->