function index(goodlvl,id)
{
	browserSize();
	document.getElementById('globalId').style.left = curWidth/2 - parseInt(document.getElementById('globalId').style.width)/2;
	
	//if(id!="0"){
	//	loadXMLDoc('navId','nav.php?openid='+goodlvl);
	//	loadXMLDoc('navId','nav.php?id='+goodlvl);
	//	loadXMLDoc('mainId','article.php?lvlid='+id);
	//}else{
	//	loadXMLDoc('navId','nav.php');
	//	loadXMLDoc('mainId','main.php');
	//}

	//document.getElementById('lien_ugecamId').onclick = function gourl() {(window.open("http://www.anks.org/rhone-alpes/missions%20des%20cadres_fichiers/frame.htm"));}
}

function nav()
{
	document.getElementById('contactId').onclick = function () 
	{ 
		loadXMLDoc('mainId','contact.php');
	}
	document.getElementById('plan_siteId').onclick = function () 
	{ 
		loadXMLDoc('mainId','plan_site.php');
	}
	document.getElementById('creditsId').onclick = function () 
	{ 
		loadXMLDoc('mainId','credits.php');
	}

}

function institut()
{
	document.getElementById('presId').onclick = function ()
	{
		loadXMLDoc('mainId','presentation.php');
	}
}

function main()
{}

function actu()
{}

function cmp()
{}

function selecttypemar(liste){
	 value = liste.options[liste.selectedIndex].value;
	loadXMLDoc('mainId','aop.php?tm='+value);
}

function resize(div,taille){
	el=document.getElementById(div)
	if(navigator.appName.substring(0,3) == "Net")
		el.style.minHeight=taille;
	else
		el.style.height=taille;
}
