function pop(page, width, height, scroll)
{ 
	win = window.open(page, "", 'scrollbars='+scroll+', width='+width+', height='+height+', top=150, left=350'); 
}

function verif_formulaire(form)
{
	  if(form.recherche.value == "")
	  {
	   alert("Veuillez saisir un mot pour la recherche !");
	   form.recherche.focus();
	   return false;
	  }
	  else if(form.recherche.value == "Rechercher")
	  {
	   alert("Veuillez saisir un mot pour la recherche !");
	   form.recherche.focus();
	   return false;
	  }
 return true;
}

function affichCateg(id, titre)
{
	document.getElementById('afficheCateg').innerHTML = titre;

	var largeur = document.getElementById(id).offsetLeft;
	var longueur = document.getElementById(id).offsetTop;
	
	if(window.innerWidth)
	{
		// Firefox
		document.getElementById('afficheCateg').style.left = largeur-152+"px";
	}
	else
	{
		// IE
		//tailleEcranLargeur = document.documentElement.clientWidth;
		document.getElementById('afficheCateg').style.left = largeur-0+"px";
	}
	
	//document.getElementById('affiche').style.top = longueur+"px";
}