function listenradio(){
	window.open('player.php','player','height=240, width=504,toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no'); 
	return;		
}
function display_menu(sId){
	var oStyle = document.getElementById(sId).style;
		
	if (oStyle.display == "none"){
		oStyle.display = "block";
	}
	else {
		oStyle.display = "none";
	}
}

function enforce_fields()
{
	var nom = document.all['nom'].value;
	var email = document.all['email'].value;
	var message = document.all['message'].value;
	
	var mail = /^[\w\-]+(\.[\w\-]+)*@[\w\-]+(\.[\w\-]+)*\.[\w\-]{2,3}$/;
		
	if (nom == '') {
		alert('Veuillez entrer votre nom et prénom');
		return false;
	}
	else if(!mail.test(email)) {
	       alert('Veuillez entrer un email valide');
		   return false;
	   }  
	else if (message == '') {
		alert('Veuillez entrer votre message');
		return false;
	}
	
	return true;
}

function send_contact()
{
	var tel = document.getElementById('tel').value;
	var nom = document.getElementById('nom').value;
	var email = document.getElementById('email').value;
	var message = document.getElementById('message').value;
	 if (xmlHttp1)
		{
		 try
			    		 {
						   var cache = new Array();
                           cache.push("nom="+nom+"&email="+email+"&tel="+tel+"&message="+message);
      				       if ((xmlHttp1.readyState == 4 || xmlHttp1.readyState == 0))
						       {
									var cacheEntry = cache.shift();
					                xmlHttp1.open("POST","contacter_nous_validation.php", true);
							        xmlHttp1.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
							        xmlHttp1.onreadystatechange = waitForResponse2;
					        		xmlHttp1.send(cacheEntry);
									/*var browserName=navigator.appName;
									if (browserName=="Microsoft Internet Explorer")
									{ 										
										 document.getElementById('flash_div').innerHTML="<table cellpadding='0' cellspacing='0' border='0' width='626' bgcolor='#ffffff' height='48'><tr><td width='479' align='center' valign='middle'><img src='images/clear_pix.gif' height='1' width='1' border='0'/></td><td width='1' bgcolor='#2d3e4b'></td><td width='139' bgcolor='#384854' valign='top'><img src='images/clear_pix.gif' width='139' height='1'><br></td><td width='1' bgcolor='#2d3e4b'><img src='images/clear_pix.gif' width='1' height='1'><br></td></tr></table>";
									}
									else 
									{ 
										 document.getElementById('flash_div').innerHTML="<table cellpadding='0' cellspacing='0' border='0' width='626' bgcolor='#ffffff' height='53'><tr><td width='482' align='center' valign='middle'><img src='images/clear_pix.gif' height='1' width='1' border='0'/></td><td width='1' bgcolor='#2d3e4b'></td><td width='139' bgcolor='#384854' valign='top'><img src='images/clear_pix.gif' width='139' height='1'><br></td><td width='1' bgcolor='#2d3e4b'><img src='images/clear_pix.gif' width='1' height='1'><br></td></tr></table>";
									}*/
		       					}
					     }
					     catch (e)
					     {
					      displayError(e.toString());
					     }	
		}
}





<!-- 
/*
var popup="Copyright"; 
function noway(go) { 
if (document.all) { 
	if (event.button == 2) { alert(popup); return false; } 
} 

if (document.layers) { 
	if (go.which == 3) { alert(popup); return false; } 
} 
} 
if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } 
document.onmousedown=noway; */
// --> 

