<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//-->

function getVar (nomVariable)
{
	var infos = location.href.substring(location.href.indexOf("?")+1, location.href.length)+"&";
	if (infos.indexOf("#")!=-1)
	{
		infos = infos.substring(0,infos.indexOf("#"))+"&";
		var variable=0;
		nomVariable = nomVariable + "=";
		var taille = nomVariable.length;
		if (infos.indexOf(nomVariable)!=-1)
			variable = infos.substring(infos.indexOf(nomVariable)+taille,infos.length).substring(0,infos.substring(infos.indexOf(nomVariable)+taille,infos.length).indexOf("&"));
	}
	return variable;
} 


function AffLeDiv(QuelDIV,OnOff)
{
	var okGDiv = 'ok';
	if (window.document.getElementById(QuelDIV+'G') == undefined)
		okGDiv = '';
	
	if (OnOff == 'open')
	{
		window.document.getElementById(QuelDIV).style.display = 'block';
		if (okGDiv == 'ok')
			window.document.getElementById(QuelDIV+'G').style.display = 'none'; 
	}
	else
	{
		window.document.getElementById(QuelDIV).style.display = 'none'; 
		if (okGDiv == 'ok')
			window.document.getElementById(QuelDIV+'G').style.display = 'block'; 
	}
}
function removeIntro ()
{
	document.getElementById('IntroductionDiv').style.height = '0px'; 
	document.getElementById('IntroductionDiv').style.display='none' ; 
	document.getElementById('IntroductionDiv').innerHTML = ''; 
}
function zappeIntro()
{
	if (!new Effect.BlindUp(document.getElementById('IntroductionDiv'))) 
    {
     	setTimeout("removeIntro();", 500);
     } 
     else 
     {
     	setTimeout("removeIntro();", 1200);
	} 

}
function affCreaWeb(module)
{

	if (module == 'MiseEnLigne')
    {
		affMenuLook('non'); 
        document.getElementById('contenuFormGraph').style.display = 'none'; 
        if (new Effect.BlindUp(document.getElementById('CreaWeb_Module_Graf'))) 
        { 
        	new Effect.BlindDown(document.getElementById('CreaWeb_Module_Site')); 
            setTimeout("document.getElementById('contenuFormWeb').style.display = 'block'",1000);  
        }    
    
    }
    else if (module == 'Graphisme')
    {
		document.getElementById('contenuFormWeb').style.display = 'none'; 
        if(new Effect.BlindUp(document.getElementById('CreaWeb_Module_Site'))) 
        { 
        	new Effect.BlindDown(document.getElementById('CreaWeb_Module_Graf')); 
            setTimeout("document.getElementById('contenuFormGraph').style.display = 'block'", 1000); 
            affMenuLook('oui'); 
        }    
    }
}


