function getByID(id)
{
	if (document.all)
	{
		return document.all(id) ;
	}
	if(document.getElementById)
	{
		return document.getElementById(id) ;
	}
	alert(id+' not found') ;
}

function hide(id)
{
	var o = getByID(id) ;
	if (id=="loc")
	{
		show("j1-img");
	}
	if (o)
	{
		if (document.all)
		{
			o.display = "none" ;
		}
		if(document.getElementById)
		{
			o.style.display = "none" ;
		}
	}
}

function show(id)
{
	var o = getByID(id) ;
	if (id=="loc")
	{
		hide("j1-img");
	}
	if (o)
	{
		if (document.all)
		{
			o.display = "visible" ;
		}
		if(document.getElementById)
		{
			o.style.display = "block" ;
		}
	}
}

function hidepop()
{
hide('loc');
hide('portails');
}














function popname(url,nom,toolb,loca,dir,sta,munub,scroll,resize,width,height,x,y)
{

open(url,nom,'toolbar='+toolb+',location='+loca+',directories='+dir+',status='+sta+',menubar='+munub+',scrollbars='+scroll+',resizable='+resize+',width='+width+',height='+height+',left=x,top=y').focus();
}





	

























































function tailletexte(id,taille)
{
	var o = getByID(id) ;
	if (o)
	{
		if (document.all)
		{
			o.fontSize = taille ;
		}
		if(document.getElementById)
		{
			o.style.fontSize = taille ;
		}
	}
}










function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



