//<!--
var recherche = 
{
	exec:function(valeur)
	{
		valeur = document.getElementById(valeur);
		if(document.getElementById('rechercheField').value != 'RECHERCHE')
		{document.location = 'http://www.nrj.fr/search/?recherche='+valeur.value;}
	}
}

function openRadio(url, type, webradio_width, webradio_height)
{
	if(type == 'webradio'){return popUp(url,webradio_width,webradio_height,0);}
	else{return popUp(url,live_width,live_height,0);}
}

function popUp(url,largeur,hauteur,scrolling)
{window.open(url,'popup','width=' + largeur + ',height=' + hauteur + ',left='+(Math.round((screen.width-largeur)/2))+',top='+(Math.round((screen.height-hauteur)/2))+',scrollbars='+scrolling);}

function ecouter()
{openRadio('http://player.nrj.fr/V4/nrj/webradios/index_V2.html?webradio=nrj', 'webradio', '768', '711');}
// -->
