

    var agt=navigator.userAgent.toLowerCase(); 



    // *** BROWSER VERSION *** 

    // Note: On IE5, these return 4, so use is_ie5up to detect IE5. 

    var is_major = parseInt(navigator.appVersion); 

    var is_minor = parseFloat(navigator.appVersion); 



    // Note: Opera and WebTV spoof Navigator.  We do strict client detection. 

    // If you want to allow spoofing, take out the tests for opera and webtv. 

    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 

                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 

                && (agt.indexOf('webtv')==-1)); 

    var is_nav2 = (is_nav && (is_major == 2)); 

    var is_nav3 = (is_nav && (is_major == 3)); 

    var is_nav4 = (is_nav && (is_major == 4)); 

    var is_nav4up = (is_nav && (is_major >= 4)); 

    var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) || 

                          (agt.indexOf("; nav") != -1)) ); 

    var is_nav5 = (is_nav && (is_major == 5)); 

    var is_nav5up = (is_nav && (is_major >= 5)); 



    var is_ie   = (agt.indexOf("msie") != -1); 

    var is_ie3  = (is_ie && (is_major < 4)); 

    var is_ie4  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) ); 

    var is_ie4up  = (is_ie  && (is_major >= 4)); 

history.go(1);
// fonctions de mouvements et d'affichage du scroll
var niveau=0;                 
var stope=0;
var debut;                     
var fin;                                      

var longueur=1100;


function bouge(num)
{
var thepartyObj=eval(debut+'"text"'+fin);
	
if (is_nav5up)
	{
	niveau=parseInt(thepartyObj.style.top);
	}
else 
	{
	niveau=parseInt(thepartyObj.top);
	}
	
 if ((niveau+num < 7) && (niveau+num > -longueur) && (stope==0))
// if ((niveau+num < 7) && (stope==0))
	{
	niveau+=num;
	if (is_nav5up)
		{
		thepartyObj.style.top=niveau;
		}
	else
		{
		thepartyObj.top=niveau;
		}
	setTimeout("bouge("+num+");",0);
	}

}


function jestop(boolea)
{
if (boolea==1) { stope=1; }
else { stope=0; }
}

function init()                 // Initialisation des variables d'environnement
{

if (is_nav5up)
	{
    	debut="document.getElementById(";
        fin=")";
        inclu="";
	}
else if (is_nav4)
	{
        debut="document[";
        fin="]";
        inclu=".document";
	}
else if (is_ie4up)
	{
    	debut="document.all[";
        fin="].style";
        inclu="";
	}
}



