function Active2(imgName) {
	if (document.images) {
		document[imgName].src = "img/photos"+imgName.charAt(7)+"1.jpg";}}

function Inactive2(imgName) {
	if (document.images) {
		document[imgName].src = "img/photos"+imgName.charAt(7)+".jpg";}}
		
function Active(imgName) {
	if (document.images) {
		document[imgName].src = "img/bt_"+imgName.charAt(3)+"_over.gif";}}

function Inactive(imgName) {
	if (document.images) {
		document[imgName].src = "img/bt_"+imgName.charAt(3)+".gif";}}

function preload() {
	bt1 = new Image(); bt1.src = "img/bt_1_over.gif";
	bt2 = new Image(); bt2.src = "img/bt_2_over.gif";
	bt3 = new Image(); bt3.src = "img/bt_3_over.gif";
	bt4 = new Image(); bt4.src = "img/bt_4_over.gif";
	bt5 = new Image(); bt5.src = "img/bt_5_over.gif";
	bt6 = new Image(); bt6.src = "img/bt_6_over.gif";
}
function openJeu() {

 popupWin = window.open('jeu.html','Jeu','scrollbars=no,width=600,height=350,resizable=no,alwaysraised=yes,toolbar=no,locationbar=no,titlebar=no,menubar=no,statusbar=no,screenX=400,screenY=400');
 }

function openSeances() {

 popupWin = window.open('seances.html','Seances','scrollbars=no,width=347,height=284,resizable=no,alwaysraised=yes,toolbar=no,locationbar=no,titlebar=no,menubar=no,statusbar=no,screenX=400,screenY=400');
 }
 
 function viewPic(img)
{
	i1 = new Image;
	i1.src = img;
	html = '<html><head><meta http-equiv="content-type" content="text/html;charset=iso-8859-1"><link rel=stylesheet type="text/css" href="styleie.css"><script type="text/javascript" language="JavaScript" src="javascript.js"></script><title>:::: CEDRIC DUSSER Designer d interactivit&eacute; ::::</title></head><body bgcolor="black" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td align="center" valign="middle"><IMG SRC="'+img+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+20,document.imageTest.height+60)" onclick="javascript:window.close()"></td></tr></table></body></html>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
 
 sys=navigator.platform;
nav=navigator.appName;

<!--

// begin absolutely positioned scrollable area object scripts
// Extension developed by David G. Miles
// Original Scrollable Area code developed by Thomas Brattli
function verifyCompatibleBrowser(){
 this.ver=navigator.appVersion
 this.dom=document.getElementById?1:0
 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
 this.ie4=(document.all && !this.dom)?1:0;
 this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;

 this.ns4=(document.layers && !this.dom)?1:0;
 this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
 return this
}
bw=new verifyCompatibleBrowser()


var speed=40

var loop, timer

function ConstructObject(obj,nest){
 nest=(!nest) ? '':'document.'+nest+'.'
 this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
 this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
 this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight
 this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight
 this.up=MoveAreaUp;this.down=MoveAreaDown;
 this.MoveArea=MoveArea; this.x; this.y;
 this.obj = obj + "Object"
 eval(this.obj + "=this")
 return this
}
function MoveArea(x,y){
 this.x=x;this.y=y
 this.css.left=this.x
 this.css.top=this.y
}
function MoveArea2(x,y2){
 this.x=x;this.y2=y
 }

function MoveAreaDown(move){
	if(this.y>-this.scrollHeight+objContainer.clipHeight){
 this.MoveArea(0,this.y-move)
 if(loop) setTimeout(this.obj+".down("+move+")",speed)
	}
}
function MoveAreaUp(move){
	if(this.y<0){
	this.MoveArea(0,this.y-move)
 if(loop) setTimeout(this.obj+".up("+move+")",speed)
	}
}

function PerformScroll(speed){
	if(initialised){
		loop=true;
		if(speed>0) objScroller.down(speed)
		else objScroller.up(speed)
	}
}

function CeaseScroll(){
 loop=false
 if(timer) clearTimeout(timer)
}
var initialised;
function InitialiseScrollableArea(){
 objContainer=new ConstructObject('divContainer')
 objScroller=new ConstructObject('divContent','divContainer')
 objScroller.MoveArea(0,0)
 objContainer.css.visibility='visible'
 initialised=true;
}
// end absolutely positioned scrollable area object scripts

// ss menu home
var Rub1 = 300;
var Rub2 = 460;
var Rub3 = 600;
var Rub4 = 700;
var Rub5 = 800;
var Rub6 = 920;

// ss menu portofio
var Rub7 = 40;
var Rub8 = 190;
var Rub9 = 405;
var Rub10 = 560;
var Rub11 = 600;
// neo
var Rub12 = 40;
var Rub13 = 360;
var Rub14 = 580;
var Rub15 = 750;

// pas utilisé
var Rub16 = 1490;
var Rub17 = 1570;
var Rub18 = 1620;

function Distance(rub){
	//window.alert(objScroller.y)
	dist = eval('Rub'+rub);
	objScroller.y = -dist;
	objScroller.css.top = objScroller.y 
}


