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 AfficheMenu(url, x, y)
{
	document.write('<object data="'+url+'" type="application/x-shockwave-flash" width="'+x+'" height="'+y+'">\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="loop" value="false" />\n');
	//document.write('<param name="bgcolor" value="#FFFFFF" />\n');
	document.write('<param name="movie" value="'+url+'" />\n');
	document.write('<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('<!--[if IE]>\n');
	document.write('	<EMBED src="'+url+'" loop=false quality=best scale=exactfit WIDTH="'+x+'" HEIGHT="'+y+'" NAME="Menu" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">\n');
	document.write('	</EMBED> \n');
	document.write('<![endif]-->\n');
	document.write('</object>\n');			
}
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;
}
