function Montrer(num)
{
    document.getElementById("content1").style.visibility = "hidden";
    document.getElementById("content2").style.visibility = "hidden";
    document.getElementById("content3").style.visibility = "hidden";

    if (num==1){document.getElementById("content1").style.visibility = "visible";}
    if (num==2){document.getElementById("content2").style.visibility = "visible";}
    if (num==3){document.getElementById("content3").style.visibility = "visible";}
}

function ModifierTab(num)
{
    document.getElementById("navtab1").style.background = "#0051a3";
    document.getElementById("navtab2").style.background = "#0051a3";
    document.getElementById("navtab3").style.background = "#0051a3";

    document.getElementById("navtab1").style.color = "#ffffff";
    document.getElementById("navtab2").style.color = "#ffffff";
    document.getElementById("navtab3").style.color = "#ffffff";


    if (num==1)
    {    
	document.getElementById("navtab1").style.background = "#ffffff";
        document.getElementById("navtab1").style.color = "#0051a3";
    }
    if (num==2)
    {    
	document.getElementById("navtab2").style.background = "#ffffff";
        document.getElementById("navtab2").style.color = "#0051a3";
    }
    if (num==3)
    {    
	document.getElementById("navtab3").style.background = "#ffffff";
        document.getElementById("navtab3").style.color = "#0051a3";
    }
}


function PrintHomePage(url,text) 
{
    if ((document.all)&&(document.getElementById)) 
	{ 
	    // teste si IE5 et +
	    document.write("<a href=\"javascript:\" onclick=\"javascript:this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'"+url+"\')\">"+text+"</a>");
	}
}


function bookmark(url,description)
{
    netscape="Si vous utilisez Firebid, pressez CTRL+D pour mettre ce site dans vos favoris";
    if (navigator.appName=='Microsoft Internet Explorer')
    {
	window.external.AddFavorite(url,description);
    }
    else if (navigator.appName=='Netscape')
    {
	alert(netscape);
    }
}


function staf()
{
   var NewWin = window.open("staf.html","","menubar=no,toolbar=no,status=no,resizable=no,height=220,width=600");
}

function askto()
{
   var AskToWinWin = window.open("askto.html","","menubar=no,toolbar=no,status=no,resizable=no,height=380,width=600");
}

