function affichage_popup(nom_de_la_page, nom_interne_de_la_fenetre,w,h)
{
	window.open (nom_de_la_page, nom_interne_de_la_fenetre, config='height='+w+', width='+h+', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}

function MM_openBrWindow(theURL,winName,features) 
{
	window.open(theURL,winName,features);
}

var tmp;
function openWin(name,src,lngWidth,lngHeight,bScroll) 
{
	var xCoord;
	var yCoord;
	var strAgent=navigator.userAgent;
	if(tmp)tmp.close();
	if (strAgent.indexOf('Mozilla/3')==-1 && strAgent.indexOf('MSIE 3')==-1)
	{
		xCoord=(screen.width/2 - (lngWidth/2));
		yCoord=(screen.height/2 - (lngHeight/2));
	}
	tmp=open(src,name,'top='+ yCoord +',left='+ xCoord +',directories=no,menubar=no,scrollbars='+bScroll+',resizable=no,location=no,toolbar=no,width='+lngWidth+',height='+lngHeight);
	if (strAgent.indexOf('MSIE 3')==-1) tmp.focus();
}

function CheckForm()
{
	a1 = document.getElementsByTagName( 'input' ); 
	n = a1.length; 

	result = false; 
	for ( i=0; i<n ; i++) 
	{ 
		if ( a1[i].checked == true  ) 
			result = true; 
	}  
			 
	if ( result == false ) 
	{ 
		alert( "Merci de choisir une ou plusieurs photos ..."); 
		return false; 
	} 
  





if (document.FORM1.F_Journal.value=='') {alert('Merci d\'indiquer le titre de votre journal ou magazine'); return false;}
if (document.FORM1.F_Nom.value=='') {alert('Merci d\'indiquer votre Nom'); return false;}
if (document.FORM1.F_Prenom.value=='') {alert('Merci d\'indiquer votre prénom'); return false;}
if (document.FORM1.F_Adresse.value=='') {alert('Merci d\'indiquer votre adresse'); return false;}
if (document.FORM1.F_CodePostal.value=='') {alert('Merci d\'indiquer votre code postal'); return false;}
if (document.FORM1.F_Ville.value=='') {alert('Merci d\'indiquer votre ville'); return false;}
if (document.FORM1.F_Pays.value=='') {alert('Merci d\'indiquer votre pays'); return false;}
if (document.FORM1.F_Mail.value=='') {alert('Merci d\'indiquer votre email'); return false;}
return true;
}