
//alert('coucou');


function ffalse()
                {
                        return false;
                }
                function ftrue()
                {
                        return true;
                }
                document.onselectstart = new Function ("return false");
                if(window.sidebar)
                {
                        document.onmousedown = ffalse;
                        document.onclick = ftrue;
                }





if (navigator.userAgent.indexOf("Firefox")!=-1)
document.onmousedown = function () { return false; };

//if (navigator.appVersion.indexOf("Mac")!=-1 && navigator.userAgent.indexOf("Firefox")!=-1)








var d = document;
var dsS = d.styleSheets;
if (dsS[0].insertRule) dsS[0].insertRule("html { overflow-x: hidden; }", dsS[0].cssRules.length); // W3C DOM2 Style
else if (dsS[0].addRule) dsS[0].addRule("html", "overflow-x: hidden"); // Microsoft
if (dsS[0].insertRule) dsS[0].insertRule("html { overflow-y: hidden; }", dsS[0].cssRules.length); // W3C DOM2 Style
else if (dsS[0].addRule) dsS[0].addRule("html", "overflow-y: hidden"); // Microsoft





function getWindowHeight() {
    var h = 0;
    if (typeof(window.innerHeight) == 'number') { // Netscape
        h = window.innerHeight;
    } else if (document.documentElement && document.documentElement.clientHeight) {
        h = document.documentElement.clientHeight;
    } else if (document.body && document.body.offsetHeight) { //client
        h = document.body.offsetHeight;
    }
    return h;
}






function getWindowWidth() {
    var w = 0;
    if (typeof(window.innerWidth) == 'number') { // Netscape
        w = window.innerWidth;
    } else if (document.documentElement && document.documentElement.clientWidth) {
        w = document.documentElement.clientWidth;
    } else if (document.body && document.body.offsetWidth) { //client
        w = document.body.offsetWidth;
    }
    return w;
	
	
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////






var juskalabox1 = 1455;










function alignArrowsLeft() {
	
	
		
	
	
	
	var posleft1 = juskalabox1-101;
	var posleft2 = juskalabox1+1300*1-101;
	var posleft3 = juskalabox1+1300*2-101;
	var posleft4 = juskalabox1+1300*3-101;
	var posleft5 = juskalabox1+1300*4-101;
	var posleft6 = juskalabox1+1300*5-101;
	var posleft7 = juskalabox1+1300*6-101;
	var posleft8 = juskalabox1+1300*7-101;
	var posleft9 = juskalabox1+1300*8-101;
	var posleft10 = juskalabox1+1300*9-101;
	var posleft11 = juskalabox1+1300*10-101;
	var posleft12 = juskalabox1+1300*11-101;
	var posleft13 = juskalabox1+1300*12-101;
	var posleft14 = juskalabox1+1300*13-101;
	var posleft15 = juskalabox1+1300*14-101;
	var posleft16 = juskalabox1+1300*15-101;
	var posleft17 = juskalabox1+1300*16-101;
	var posleft18 = juskalabox1+1300*17-101;
	var posleft19 = juskalabox1+1300*18-101;
	var posleft20 = juskalabox1+1300*19-101;
	var posleft21 = juskalabox1+1300*20-101;
	var posleft22 = juskalabox1+1300*21-101;
	var posleft23 = juskalabox1+1300*22-101;
	var posleft24 = juskalabox1+1300*23-101;
	var posleft25 = juskalabox1+1300*24-101;
	var posleft26 = juskalabox1+1300*25-101;
	var posleft27 = juskalabox1+1300*26-101;
	var posleft28 = juskalabox1+1300*27-101;
	
	
	var posright1 = juskalabox1+861;
	var posright2 = juskalabox1+1300*1+861;
	var posright3 = juskalabox1+1300*2+861;
	var posright4 = juskalabox1+1300*3+861;
	var posright5 = juskalabox1+1300*4+861;
	var posright6 = juskalabox1+1300*5+861;
	var posright7 = juskalabox1+1300*6+861;
	var posright8 = juskalabox1+1300*7+861;
	var posright9 = juskalabox1+1300*8+861;
	var posright10 = juskalabox1+1300*9+861;
	var posright11 = juskalabox1+1300*10+861;
	var posright12 = juskalabox1+1300*11+861;
	var posright13 = juskalabox1+1300*12+861;
	var posright14 = juskalabox1+1300*13+861;
	var posright15 = juskalabox1+1300*14+861;
	var posright16 = juskalabox1+1300*15+861;
	var posright17 = juskalabox1+1300*16+861;
	var posright18 = juskalabox1+1300*17+861;
	var posright19 = juskalabox1+1300*18+861;
	var posright20 = juskalabox1+1300*19+861;
	var posright21 = juskalabox1+1300*20+861;
	var posright22 = juskalabox1+1300*21+861;
	var posright23 = juskalabox1+1300*22+861;
	var posright24 = juskalabox1+1300*23+861;
	var posright25 = juskalabox1+1300*24+861;
	var posright26 = juskalabox1+1300*25+861;
	var posright27 = juskalabox1+1300*26+861;
	var posright28 = juskalabox1+1300*27+861;
	
	
	
document.getElementById('left1').style.left = posleft1+"px";
	document.getElementById('left2').style.left = posleft2+"px";
	document.getElementById('left3').style.left = posleft3+"px";
	document.getElementById('left4').style.left = posleft4+"px";
	document.getElementById('left5').style.left = posleft5+"px";
	document.getElementById('left6').style.left = posleft6+"px";
	document.getElementById('left7').style.left = posleft7+"px";
	document.getElementById('left8').style.left = posleft8+"px";
	document.getElementById('left9').style.left = posleft9+"px";
	document.getElementById('left10').style.left = posleft10+"px";
	document.getElementById('left11').style.left = posleft11+"px";
	document.getElementById('left12').style.left = posleft12+"px";
	document.getElementById('left13').style.left = posleft13+"px";
	document.getElementById('left14').style.left = posleft14+"px";
	document.getElementById('left15').style.left = posleft15+"px";
	document.getElementById('left16').style.left = posleft16+"px";
	document.getElementById('left17').style.left = posleft17+"px";
	document.getElementById('left18').style.left = posleft18+"px";
	document.getElementById('left19').style.left = posleft19+"px";
	document.getElementById('left20').style.left = posleft20+"px";
	document.getElementById('left21').style.left = posleft21+"px";
	document.getElementById('left22').style.left = posleft22+"px";
	document.getElementById('left23').style.left = posleft23+"px";
	document.getElementById('left24').style.left = posleft24+"px";
	document.getElementById('left25').style.left = posleft25+"px";
	document.getElementById('left26').style.left = posleft26+"px";
	document.getElementById('left27').style.left = posleft27+"px";
	document.getElementById('left28').style.left = posleft28+"px";

	

	
	


	
	
	
	document.getElementById('right1').style.left = posright1+"px";
	document.getElementById('right2').style.left = posright2+"px";
	document.getElementById('right3').style.left = posright3+"px";
	document.getElementById('right4').style.left = posright4+"px";
	document.getElementById('right5').style.left = posright5+"px";
	document.getElementById('right6').style.left = posright6+"px";
	document.getElementById('right7').style.left = posright7+"px";
	document.getElementById('right8').style.left = posright8+"px";
	document.getElementById('right9').style.left = posright9+"px";
	document.getElementById('right10').style.left = posright10+"px";
	document.getElementById('right11').style.left = posright11+"px";
	document.getElementById('right12').style.left = posright12+"px";
	document.getElementById('right13').style.left = posright13+"px";
	document.getElementById('right14').style.left = posright14+"px";
	document.getElementById('right15').style.left = posright15+"px";
	document.getElementById('right16').style.left = posright16+"px";
	document.getElementById('right17').style.left = posright17+"px";
	document.getElementById('right18').style.left = posright18+"px";
	document.getElementById('right19').style.left = posright19+"px";
	document.getElementById('right20').style.left = posright20+"px";
	document.getElementById('right21').style.left = posright21+"px";
	document.getElementById('right22').style.left = posright22+"px";
	document.getElementById('right23').style.left = posright23+"px";
	document.getElementById('right24').style.left = posright24+"px";
	document.getElementById('right25').style.left = posright25+"px";
	document.getElementById('right26').style.left = posright26+"px";
	document.getElementById('right27').style.left = posright27+"px";
	document.getElementById('right28').style.left = posright28+"px";
	
	
	
	
	
	
}
	
	







		
		
		
function alignArrowsTop() {
	

	
	var randomnumber1=Math.floor(Math.random()*51);
	

document.getElementById('left1').style.top = (getWindowHeight() / 2 -725) + "px" ;
	document.getElementById('left2').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left3').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left4').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left5').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left6').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left7').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left8').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left9').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left10').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left11').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left12').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left13').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left14').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left15').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left16').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left17').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left18').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left19').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left20').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left21').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left22').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left23').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left24').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left25').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('left26').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('left27').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('left28').style.top = (getWindowHeight() / 2 -725) + "px";



document.getElementById('right1').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right2').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right3').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right4').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right5').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right6').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right7').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right8').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right9').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right10').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right11').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right12').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right13').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right14').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right15').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right16').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right17').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right18').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right19').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right20').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right21').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right22').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right23').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right24').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right25').style.top = (getWindowHeight() / 2 -775) + "px";
	document.getElementById('right26').style.top = (getWindowHeight() / 2 -725) + "px";
	document.getElementById('right27').style.top = (getWindowHeight() / 2 -750) + "px";
	document.getElementById('right28').style.top = (getWindowHeight() / 2 -775) + "px";
	
	
	

	




	
	
	
	



	
	
	
	
}












/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////












function alignAnchors() {







var posbox1 = juskalabox1-((getWindowWidth()/2)-405);
var posbox2 = (juskalabox1+((1000+300)*1))-((getWindowWidth()/2)-405);
var posbox3 = (juskalabox1+((1000+300)*2))-((getWindowWidth()/2)-405);
var posbox4 = (juskalabox1+((1000+300)*3))-((getWindowWidth()/2)-405);
var posbox5 = (juskalabox1+((1000+300)*4))-((getWindowWidth()/2)-405);
var posbox6 = (juskalabox1+((1000+300)*5))-((getWindowWidth()/2)-405);
var posbox7 = (juskalabox1+((1000+300)*6))-((getWindowWidth()/2)-405);
var posbox8 = (juskalabox1+((1000+300)*7))-((getWindowWidth()/2)-405);
var posbox9 = (juskalabox1+((1000+300)*8))-((getWindowWidth()/2)-405);
var posbox10 = (juskalabox1+((1000+300)*9))-((getWindowWidth()/2)-405);
var posbox11 = (juskalabox1+((1000+300)*10))-((getWindowWidth()/2)-405);
var posbox12 = (juskalabox1+((1000+300)*11))-((getWindowWidth()/2)-405);
var posbox13 = (juskalabox1+((1000+300)*12))-((getWindowWidth()/2)-405);
var posbox14 = (juskalabox1+((1000+300)*13))-((getWindowWidth()/2)-405);
var posbox15 = (juskalabox1+((1000+300)*14))-((getWindowWidth()/2)-405);
var posbox16 = (juskalabox1+((1000+300)*15))-((getWindowWidth()/2)-405);
var posbox17 = (juskalabox1+((1000+300)*16))-((getWindowWidth()/2)-405);
var posbox18 = (juskalabox1+((1000+300)*17))-((getWindowWidth()/2)-405);
var posbox19 = (juskalabox1+((1000+300)*18))-((getWindowWidth()/2)-405);
var posbox20 = (juskalabox1+((1000+300)*19))-((getWindowWidth()/2)-405);
var posbox21 = (juskalabox1+((1000+300)*20))-((getWindowWidth()/2)-405);
var posbox22 = (juskalabox1+((1000+300)*21))-((getWindowWidth()/2)-405);
var posbox23 = (juskalabox1+((1000+300)*22))-((getWindowWidth()/2)-405);
var posbox24 = (juskalabox1+((1000+300)*23))-((getWindowWidth()/2)-405);
var posbox25 = (juskalabox1+((1000+300)*24))-((getWindowWidth()/2)-405);
var posbox26 = (juskalabox1+((1000+300)*25))-((getWindowWidth()/2)-405);
var posbox27 = (juskalabox1+((1000+300)*26))-((getWindowWidth()/2)-405);
var posbox28 = (juskalabox1+((1000+300)*27))-((getWindowWidth()/2)-405);



document.getElementById('box1').style.left = posbox1+"px";
document.getElementById('box2').style.left = posbox2+"px";
document.getElementById('box3').style.left = posbox3+"px";
document.getElementById('box4').style.left = posbox4+"px";
document.getElementById('box5').style.left = posbox5+"px";
document.getElementById('box6').style.left = posbox6+"px";
document.getElementById('box7').style.left = posbox7+"px";
document.getElementById('box8').style.left = posbox8+"px";
document.getElementById('box9').style.left = posbox9+"px";
document.getElementById('box10').style.left = posbox10+"px";
document.getElementById('box11').style.left = posbox11+"px";
document.getElementById('box12').style.left = posbox12+"px";
document.getElementById('box13').style.left = posbox13+"px";
document.getElementById('box14').style.left = posbox14+"px";
document.getElementById('box15').style.left = posbox15+"px";
document.getElementById('box16').style.left = posbox16+"px";
document.getElementById('box17').style.left = posbox17+"px";
document.getElementById('box18').style.left = posbox18+"px";
document.getElementById('box19').style.left = posbox19+"px";
document.getElementById('box20').style.left = posbox20+"px";
document.getElementById('box21').style.left = posbox21+"px";
document.getElementById('box22').style.left = posbox22+"px";
document.getElementById('box23').style.left = posbox23+"px";
document.getElementById('box24').style.left = posbox24+"px";
document.getElementById('box25').style.left = posbox25+"px";
document.getElementById('box26').style.left = posbox26+"px";
document.getElementById('box27').style.left = posbox27+"px";
document.getElementById('box28').style.left = posbox28+"px";




}






















function alignFooter() {

document.getElementById('footer').style.top = getWindowHeight()-230 + "px" ;
document.getElementById('spani').style.width = getWindowWidth() + "px" ;
document.getElementById('td0').style.width = (getWindowWidth()-999)/2 + "px" ;
document.getElementById('td4').style.width = (getWindowWidth()-999)/2 + "px" ;
}








//window.onresize = function(){
//	alignFooter();
//	alignArrowsTop();
//	alignArrowsLeft();
//	alignAnchors();
//	
//	/*document.documentElement.scrollLeft += 1;*/
//}







function cacher() { 
document.body.style.overflow='hidden'; 
} 

function afficher(){ 
document.body.style.overflow=''; 
} 











var oO =

{

   connect: function(oElem, sEvType, fn, bCapture)

   {

	return document.addEventListener ?

		oElem.addEventListener(sEvType, fn, bCapture):

		oElem.attachEvent ?

			oElem.attachEvent('on' + sEvType, fn):

			false;

   },



   a1: function()

   {

     alignFooter();


   },



   a2: function()

   {

      alignArrowsTop();


   },
   
   
    a3: function()

   {

     alignArrowsLeft();


   },
   
   
   
     a4: function()

   {

     alignAnchors();

   },
   
   
   
   
   

};



oO.connect(window, 'resize', oO.a1, false);

oO.connect(window, 'resize', oO.a2, false);
oO.connect(window, 'resize', oO.a3, false);
oO.connect(window, 'resize', oO.a4, false);






