
CLOCK=new Date();sesStrtAt=CLOCK.getTime();introMinTm=4000;introOK=0;nav=window.navigator;sp2=0;mac=0;ie=0;saf=0;ffx=0;ns7=0;ns8=0;gms=0;nts=0;aol=0;ope=0;
function VPgetNav(){
	var v,v2,i=0,platform='',minV='',ua=(nav.userAgent).toLowerCase();
	if(typeof(nav.platform)!='undefined')platform=(nav.platform).toLowerCase();
	if(typeof(nav.appMinorVersion)!='undefined')minV=(nav.appMinorVersion).toLowerCase();
	if(platform.indexOf('mac')!=-1){
		if(ua.indexOf('os x')!=-1){
			mac=1;
			if((i=ua.indexOf('gecko'))!=-1){
				if((i=ua.indexOf('firefox'))!=-1){
					v=parseFloat('0'+ua.substr(i+8),10);
					if(v>=3){
						ffx=30;
						gms=1;
					}else if(v>=1.5&&ua.substr(i+8)!="1.5.0.0"){
						ffx=15;
						gms=1;
					}//else return'mac+!';
				}
				if((i=ua.indexOf('netscape'))!=-1){
					v=parseFloat('0'+ua.substr(i+9),10);
					if(v>=8){
						ns8=1;
						gms=1;
					}else if(v>=7.2&&v<8){
						ns7=1;
						nts=1;
						gms=1;
					}//else return'mac+!';
				}
			}else if((i=ua.indexOf('safari'))!=-1){
				v=parseFloat('0'+ua.substr(i+7),10);
				saf=1;
				gms=1;
			}
		}//else return'mac-';
	}else if((i=ua.indexOf('opera'))!=-1){
		v=parseFloat('0'+ua.substr(i+6),10);
		ope=1;
		//return v<8?'op7-':'op8';
	}else if((i=ua.indexOf('msie'))!=-1){
		if(minV.indexOf('sp2')!=-1)sp2=1;
		v=parseFloat('0'+ua.substr(i+5),10);
		ie=v>=6?6000:v>=5.5?5500:1;
		if(ua.indexOf('aol')!=-1)aol=1;
		if(ua.indexOf('netscape/8')!=-1)ns8=1;
		//return v<5.5?'ie4':'ie55';
	}else if((i=ua.indexOf('gecko'))!=-1){
		if((i=ua.indexOf('firefox'))!=-1){
			v=parseFloat('0'+ua.substr(i+8),10);
			if(v>=3){
				ffx=30;
				gms=1;
			}else if(v>=1.5&&ua.substr(i+8)!="1.5.0.0"){
				ffx=15;
				gms=1;
			}else ffx=10;
		}
		if((i=ua.indexOf('netscape'))!=-1){
			v=parseFloat('0'+ua.substr(i+9),10);
			if(v>=7.2&&v<8){
				ns7=1;
				nts=1;
				gms=1;
			}else if(v>=8){
				ns8=1;
				gms=1;
				//return'ns8'
			}
		}
		if((i=ua.indexOf('safari'))!=-1){
			saf=1;
			gms=1;
		}
	}
}
VPgetNav();

var toBeOffed="",tmo1=null,ILtogON=0,ILtogTMO,keepON=-1,outOfMenu,clicked=0,mHallON=-1,carteON=0,reconstSrv=0,durTr=0.1;
function generalsrvc(toSct){
	adjustItmTog(toSct);
	if(toSct==1){servRm(8);clrRm(8)}
}
function retTo0srvc(){logoHalR.style.visibility="hidden";}
function from0srvc(){}
function earlysrvc(toSct){
	subplateRLpos=parseInt(getEl("subplateR").style.left);
	if(sctrON==0)logoHalR.style.visibility="hidden";
	advPseR.src="illus/pauseButtGrey+outl.png";
	stopFlasher("advPause");
	contrlsR.style.visibility="hidden";
	if(pRballR)pRballR.style.visibility="hidden";
	shohidSlidR(0);
	if(sctrON>0){
		o=getEl("SB_"+sctrON);
		o.style.backgroundColor="transparent";
		o.style.backgroundImage="none";
		otc=o.firstChild.nextSibling.nextSibling.nextSibling.nextSibling;
		if(!ie)otc=otc.nextSibling;
		otc.style.color="#888";
	}
	if(isIN("langMenu",toSct)){
		o=getEl("SB_"+toSct);                
		o.style.backgroundColor="white";
		o.style.backgroundImage="url(illus/terragradlite.jpg)";
		otc=o.firstChild.nextSibling.nextSibling.nextSibling.nextSibling;
		if(!ie)otc=otc.nextSibling;
		otc.style.color="black";
	}
}
function reconstSrvc(){
	reconstSrv=1;
	if(sctrON<sctN-1 && sctrON!=9)slidRinfoCur(-1);
}
function objONsrvc(o){}
function secuHide(){}
function carteTog(f){
	if(rdy&&sctrON>0){
		if(f)clearTimeout(tmo1);
		var dur=(ie&&window.event&&window.event.srcElement.id!="SB_7")?0:durTr;
		if(sctrON<sctN-1){
			var o=getEl("SB_7");
			if(f){
				o.style.height="347px";
				show('cartCnt',dur);
				hide('cartClt',0);
				if(sctrON>0){
					carteON=1;
					mHallON=sctN-1;
					if(sctrON<sctN-1&&!reconstSrv)setmHall("cH");
					reconstSrv=0;
				}
				outOfMenu=0;
				trmvuON(sctN-1,durTr);
			}else{
				o.style.height="46px";
				hide('cartCnt',0);
				show('cartClt',dur);
				carteON=0;
				outOfMenu=1;
				trmvuOF(sctN-1,durTr);
			}
		}else{
			if(f){
				outOfMenu=0;
				trmvuON(sctN-1,durTr);
			}else{
				outOfMenu=1;
				trmvuOF(sctN-1,durTr);
			}
		}
	}
}
function clrIntro(){
	CLOCK=new Date();
	if(introOK||CLOCK.getTime()-sesStrtAt>introMinTm)introOK=1;
}


// stackmenus
var MenContHeight=0;
var TimeToSlide=150;
var defaultStack='Stack0Content';
var defaultDisp='c00';
var defaultSrc='http://www.aubergedesavoie.com/ADS_chambres-suites-FR.htm';
var vuedStack=0;
var es='';
var openStack=es;
var heldStack=es;
var tmoS,dlyS;
var delayS=TimeToSlide;
var infoFraR=document.getElementById("infoFra");
var MenContON=0;
function refreshStack(s){
	s=s+'Content';
	if(s!=openStack){
		clearTimeout(dlyS);
		dlyS=setTimeout('runStack("'+s+'")',delayS);
	}
}
function launchFraSrc(){// open stack as a first time use
	if(!vuedStack){
		infoFraSrc(defaultSrc);
		runStack(defaultStack);
		heldStack=defaultStack;
		colorize(getEl(defaultDisp),'#fff','#c36');
		vuedStack=1;
	}
}
function callStack(src,S,D){//call from another section
	if(menuON && !MenContON){
		clicked=1;
		menuItmTog(getEl('SB_6'),6,0);// 6 is stack access menu item nr
		infoFraSrc(src);
		runStack(S);
		heldStack=S;
		colorize(getEl(D),'#fff','#c36');
		vuedStack=1;
		strtAni(6,0,0,1);
	}
}	
function infoFraSrc(s){
	//alert(s);
	if(s.indexOf(".htm")<0) s=s+(Lng=="fr"?"-FR.htm":"-EN.htm");
	document.getElementById("infoFra").src=s;
}
function runDisp(d){//index
	alert(getEl(d).href);

}
function runStack(accID){// from the stack menu itself
	//alert('   held='+heldStack+'   open='+openStack);
	//alert(accID);
	if(!MenContON && accID!=heldStack){
		MenContON=1;
		var nID=accID;//"Stack" + index + "Content"
		if(openStack==nID)nID=es;
		
		MenContHeight=getEl(accID+"_").offsetHeight;
		//MenContHeight=getEl("Stack" + index + "Content"+"_").offsetHeight;
		tmoS=setTimeout("animRel(" + new Date().getTime() + "," + TimeToSlide + ",'" + (openStack==heldStack?es:openStack) + "','" + nID + "')", 33);
		openStack=nID;
	}
}
function animRel(lastMomt, timeLeft, closingId, openingId){ // vert only
	//MenContON=1;
	var curMomt=new Date().getTime();// moves are calculated through apportionment of time
	var timInterv=curMomt-lastMomt;
	var opening=(openingId=='')?null:getEl(openingId);
	var closing=(closingId=='')?null:getEl(closingId);
	
	if(timeLeft<=timInterv){
		if(opening!=null) opening.style.height = 'auto';		
		if(closing!=null){
			//closing.style.display = 'none';
			closing.style.height='0px';
		}
		MenContON=0;
		return;
	}
	timeLeft-=timInterv;
	var curClosedHeight=Math.round((timeLeft/TimeToSlide)*MenContHeight); // apportionment of time
	if(opening!=null){
						if(opening.style.display != 'block') opening.style.display = 'block';
		opening.style.height=(MenContHeight-curClosedHeight)+'px';
	}
	if(closing!=null) {
		//indexIs=-1;
		closing.style.height=curClosedHeight+'px';
	}
	tmoS=setTimeout("animRel(" + curMomt + "," + timeLeft + ",'" + closingId + "','" + openingId + "')", 33);
}
function colorize(o,c,bgc){
	clearStacks();
	o.style.color=c;
	o.style.backgroundColor=bgc;
}
function clearStacks(){//currently limited to 10 elements holding up to 10 entries for simplification
	var s;
	for(i=0;i<stackN.length;i++){
		for(j=0;j<stackN[i];j++){
			s='c'+(i+'')+(j+'');
			getEl(s).style.color='';
			getEl(s).style.backgroundColor='';
		}	
	}	
}
var pullupCol='#fcf4f8';
affilogA=["logABF","logSMB","logCdlA","ILButtImg"];

pullupA=new Array();
// name, top, height, raise top by, sliding time, opacity folded, opacity expanded, color folded, color expanded
// set both folded and expanded opacity values to an equal value if opacity not changed of not defined 
pullupA[0]=["handicDim",0,-1,0,400,20,100,"white",pullupCol];// no move, height unaffected : -1
pullupA[1]=["fcbkBg",-1,48,-54,500,20,100,"white",pullupCol];
pullupA[2]=["logoBg",-1,48,-86,650,20,100,"white",pullupCol];
pullupA[3]=["",0,0,0,0,0,0,"",""];// avail
pullupA[4]=["",0,0,0,0,0,0,"",""];// avail
pullupA[5]=["blogLnk",1,-1,-47,500,0,100,"",""];// height unaffected : -1
pullupA[6]=["twitLnk",1,-1,-24,500,0,100,"",""];// "
pullupA[7]=["hotlBadg",2,40,-46,500,0,100,"",""];
pullupA[8]=["logABF",3,-1,0,650,100,100,"",""];
pullupA[9]=["logSMB",7,-1,-35,650,100,100,"",""];
pullupA[10]=["logCdlA",8,-1,-93,650,100,100,"",""];
pullupA[11]=["ILButtImg",11,-1,-62,650,100,100,"",""];

actio=new Array("getEl('fcbkPatch').style.visibility='visible'");
tmoP=new Array();

//function handicOffOn(f){
	//getEl('handicDim').style.opacity=f?"0.90":(mac?"0.10":"0.25");
	//getEl('handicDim').style.filter="alpha(opacity="+(f?"90":(mac?"10":"25"))+")";
//	runPullup(0,f,-1,-1);
//}
function fcbkOffOn(f){
	var o=getEl('fcbkBg');
	//getEl('holdLnk').style.visibility=f?"visible":"hidden";
	if(f)getEl('fcbkPatch').style.visibility='hidden';
	o.style.backgroundColor=f?pullupCol:"white";
	runPullup(1,f,-1,-1);
	runPullup(5,f,-1,-1);
	runPullup(6,f,-1,-1);
	runPullup(7,f,-1,0);//show fcbkPatch at end of OFF

}
function logbgOffOn(f){
	var i,o=getEl('logoBg');
	affilogLpOn=f?0:1;
	o.style.backgroundColor=f?pullupCol:"white";
	runPullup(2,f,-1,-1);
	for(var i=8;i<12;i++)runPullup(i,f,-1,-1);
	if(!f)affilogLp();// alternate flashing loop
	else for(i in affilogA){getEl(affilogA[i]).style.visibility="visible"}
}

function runPullup(pN,f,ONdo,OFFdo){// pullup item number, on or off flag, end action pointers // concommittant uses allowed // blends to already active move by reassessing current position
	if(tmoP[pN])clearTimeout(tmoP[pN]);
	var noH=pullupA[pN][2]==-1?-1:0;//height not changed or undefined
	var o=getEl(pullupA[pN][0]);
	var curT=parseInt(o.style.top);
	var curH=noH?-1:parseInt(o.style.height);
	var curO;
	if(pullupA[pN][5]!=pullupA[pN][6]){
		if(o.style.opacity){curO=Math.round(parseFloat(o.style.opacity)*100);} // up to standard browsers incl. msie 8
		else curO=parseInt(o.style.filter.substr(o.style.filter.indexOf("opacity=")+8));// older msie browsers
	}else curO=-1;
	var foldedT=pullupA[pN][1];
	var foldedH=pullupA[pN][2];// -1 if undefined or not used
	var raisedT=foldedT+pullupA[pN][3];
	var raisedH=noH?-1:(foldedT-raisedT)+foldedH;
	var intendedT,intendedH,togoT,togoRatio=1;
	intendedT=f?raisedT:foldedT;
	intendedH=f?raisedH:foldedH;
	intendedO=curO<0?-1:f?pullupA[pN][6]:parseInt(mac?pullupA[pN][5]/2:pullupA[pN][5]);
	togoT=intendedT-curT; // still to go for Top
	if(togoT)togoRatio=Math.abs(togoT)/Math.abs(raisedT-foldedT);// no /0
	tmoP[pN]=setTimeout("animPullup(" +new Date().getTime()+ "," +Math.round(pullupA[pN][4]*togoRatio)+ "," +pN+ "," +curT+ "," +curH+ "," +intendedT+ "," +intendedH+ "," +curO+ "," +intendedO+ "," +f+ "," +ONdo+ "," +OFFdo+ ")", 33);
}
function animPullup(lastMomt,timeLeft,pN,curT,curH,T,H,curO,O,f,ONdo,OFFdo){
	// vert only // ...  pullup item number, curTop, curHeight, intendedTop, intendedHeight, curOpa, intendedOpa, on or off flag, end action pointers
	// color trans unimplemented
	var o=getEl(pullupA[pN][0]);
	var togoT=T-curT;
	var curMomt=new Date().getTime();// moves are calculated through apportionment of time
	var timInterv=curMomt-lastMomt;
	if(timeLeft<=timInterv){
		if(togoT){
			o.style.top=T+'px';
			if(H>-1)o.style.height=H+'px';
		}
		if(curO>-1){
			o.style.opacity=O/100+'';
			o.style.filter='alpha(opacity='+O+')';
		}
		if(f){if(ONdo>-1)eval(actio[ONdo])}
		else if(OFFdo>-1)eval(actio[OFFdo]);
		return;
	}
	timeLeft-=timInterv;
	var pr=timeLeft/pullupA[pN][4];
	var movmade=togoT-Math.round(pr*togoT);// total distance to cover - distance left to cover // apportionment of time
	if(togoT){
		o.style.top=(curT+movmade)+'px'; 
		if(H>-1)o.style.height=(curH-movmade)+'px';
	}
	if(curO>-1){
		var opamade=O-Math.round(pr*(O-curO));
		o.style.opacity=(opamade/100)+' ';
		o.style.filter='alpha(opacity='+opamade+')';
	}
	tmoP[pN]=setTimeout("animPullup(" +curMomt+ "," +timeLeft+ "," +pN+ "," +curT+ "," +curH+ "," +T+ "," +H+ "," +curO+ "," +O+ "," +f+ "," +ONdo+ "," +OFFdo+ ")", 33);
}
var mlON=0;
function openMlFrm(){
	if(!mlON){
		getEl('mlFrm').src='http://www.aubergedesavoie.com/test-mail-share2.php5';
		mlON=1;
		//getEl('fcbkPatch').style.visibility="hidden";
		show('slate',.5);
		getEl('fcbkPatch').width=0;
	}
}
function closeMlFrm(){
	if(mlON){
		mlON=0;
		//getEl('fcbkPatch').style.visibility="visible";
		hide('slate',.5);
		getEl('mlFrm').src='http://www.aubergedesavoie.com/test-mail-share2.php5';//reload to prevent "resend" message
		getEl('fcbkPatch').width=290;
	}
}
var affilogPtr=4,affilogTm=3000;
var affilogLpOn=1,affilogLpTmr;
function affilogLp(){
	for(var i=0;i<affilogA.length;i++){
		//hide(affilogA[i],0);
		getEl(affilogA[i]).style.visibility="hidden";
	}
	affilogPtr=(affilogPtr+1)%affilogA.length;
	//show(affilogA[affilogPtr],0.05);
	getEl(affilogA[affilogPtr]).style.visibility="visible";
	//if(!( sctrON==1 && clck>=pRspot[1][2]*spdup) ){
		//var o=getEl("RmH3st");
		//if(o.style.visibility=="visible") o.style.visibility="hidden"; else o.style.visibility="visible";
	//}
	if(affilogLpOn)affilogLpTmr=setTimeout("affilogLp()",affilogTm);
}

function ILtog(f){if(!f){ILtogTMO=setTimeout("show('langue',0);if(sctrON==0)hide('logo',0);show('affilog',0);IntLinkR.style.visibility='hidden';intLinks=0;ILtogON=0;",1000);ILtogON=1;}else{hide("langue",0);if(sctrON==0)show("logo",0);hide("affilog",0);IntLinkR.style.visibility='visible';intLinks=1;}}
function ILon(){actRegul("ILtog","1");}
function ILoff(){actRegul("ILtog","0");}
function logoTog(o,f){if(!reconst){clrIntro();if(f)clearTimeout(tmo1);if(introOK){var hal=logoHalR;var lo=o.firstChild;if(!ie){lo=lo.nextSibling;hal.style.visibility="visible";}
if(hal&&lo){if(f){if(ie)hal.style.visibility="visible";else hal.style.opacity="1";
if(sctrON>0){outOfMenu=0;}}else{if(ie)hal.style.visibility="hidden";else hal.style.opacity="0";if(sctrON>0){outOfMenu=1;}}}}}}
function adjustItmTog(toSct){
	var repr,o,ofc,osc,otc;
	for(var i=0;i<menN-1;i++){
		repr=langMenu[i];
		o=getEl("SB_"+repr);             
		ofc=o.firstChild;
		osc=o.firstChild.nextSibling.nextSibling;
		otc=o.firstChild.nextSibling.nextSibling.nextSibling.nextSibling;
		if(!ie){
			ofc=ofc.nextSibling;
			osc=osc.nextSibling;
			otc=otc.nextSibling;
		}
		ofc.style.cursor=(repr!=toSct)?"pointer":"default";
		osc.style.cursor=(repr!=toSct)?"pointer":"default";
		o.style.cursor=(repr!=toSct)?"pointer":"default";
		otc.style.color=(repr!=toSct)?"#888":"black";
	}
}
function menuItmTog(o,n,f){//alert("menuItmTog  "+n+"  "+f);
	if(rdy&&n!=sctrON){
		var ofc=o.firstChild;
		var otc=ofc.nextSibling.nextSibling.nextSibling.nextSibling;
		if(!ie){
			ofc=ofc.nextSibling;
			otc=otc.nextSibling;
		}
		if(ofc&&otc){
			ofc.style.visibility=f?"visible":"hidden";
			if(f){
				otc.style.color="#903";
				if(sctrON==sctN-1)trmvuSWAP(n,durTr);
				if(sctrON>0)reconstSrv=0;
				outOfMenu=0;
			}else{
				if(n!=sctW&&n!=sctrON)otc.style.color=clicked?"black":"#888";
				sctW=-1;
				outOfMenu=clicked?0:1;
				if(sctrON==sctN-1&&!clicked)trmvuSWAP(0,durTr);
				clicked=0;
			}
		}
	}
}
function toAni(n){
	if(menuON){
		clicked=1;
		menuItmTog(getEl("SB_"+n),n,0);
		strtAni(n,0,0,.4);
		}
	}
function putOnSlidR(){
	//if(sctrON<sctN-1 && !( sctrON==1 && clck>=pRspot[1][2]*spdup) ) {
	if(sctrON<sctN-1 && sctrON!=1 && sctrON!=6 && sctrON!=9){ //&& sctrON!=1 
		clearTimeout(tmout_0);
		shohidSlidR(1);
	}
}
function trmvuSWAP(n,dur){
	//if(isIN("langMenu",n) && n!=8 && n!=6){
	//if(n!=8 && n!=6){// >> cV699 and cV600
	if(n!=8){// >> cV699 and cV600
		clearTimeout(tmo1);
		if(n>0){show("cV60"+n,dur);getEl("cV60"+n).setAttribute('isON',1);}
		if(n==1){show("cV698",dur);getEl("cV698").setAttribute('isON',1);}
		if(n==2){show("cV694",dur);getEl("cV694").setAttribute('isON',1);}
		if(n==4){show("cV697",dur);getEl("cV697").setAttribute('isON',1);}
		if(n==5){show("cV696",dur);getEl("cV696").setAttribute('isON',1);}
		if(n==6){show("cV693",dur);getEl("cV693").setAttribute('isON',1);}
		if(n==3){show("cV695",dur);getEl("cV695").setAttribute('isON',1);}
		tmo1=setTimeout("manageTrmvu("+n+","+dur+");",100);
	}
}
function manageTrmvu(n,dur){
	for(var i=1;i<menN;i++){           
		//if(i!=n && n!=6){
		if(i!=n){
			hide("cV60"+i,dur);getEl("cV60"+i).setAttribute('isON',0);
		}
	}
	if(n!=1){hide("cV698",dur);getEl("cV698").setAttribute('isON',0);}
	if(n!=2){hide("cV694",dur);getEl("cV694").setAttribute('isON',0);}
	if(n!=4){hide("cV697",dur);getEl("cV697").setAttribute('isON',0);}
	if(n!=5){hide("cV696",dur);getEl("cV696").setAttribute('isON',0);}
	if(n!=6){hide("cV693",dur);getEl("cV693").setAttribute('isON',0);}
	if(n!=3){hide("cV695",dur);getEl("cV695").setAttribute('isON',0);}
}
function setmHall(ois){}
function pRhover(n,f){if(sctrON!=sctN-1||sctN<=2)alert("wrong sctN : "+n);}
function chgepR(n){}

useSigns=0;if(useSigns){marginSign=0;opacLoSigns=0.35;}
useDynMenu=0
usePicOnDisc=0;useSwapDisc=0;useWobbleDisc=0;useRepositDisc=0;useBackLit=0;
if(useBackLit)bckLites=["BK0L","BK1L","BK2L","BK3L","BK4L","BK5L","BK6L"];
useMseJok=0;if(useMseJok)mseJokOpac=0.4;hdNNrW=0;
menN=7;sctN=9;
hdX=-144;hdY=0;circleRadius=0;frontLimit=15;backLimit=220;vBoxW=906;vBoxH=694;menuON=0;forwdHorHead=0;
pRbut_on="illus/Gold_ball-dark-NW18.png";pRbut_off="illus/Gold_offwh-flat14.png";pRbut_hov="illus/Gold_ball-red-SE18.png";
slidrLen=[370,325,250,325,370,325,0];cmtLen=[260,290,250,290,260,290,0];dimrOpa=[10,35,35,35,35,35,0];dimrOblig=[1,0,0,0,0,0,0];
txtGold="#ffe947";txtRed="#ff3075";
plotOpac=1;
usedMarkColor="black";raisonCol="#444434";cursorUsed="auto";
var moveQual=1;var mseRespse=2;showStr='show("plate",0.5);';
loadQ00=["illus/ADS-logo.gif","illus/plagne_logo.gif","illus/brides_logo.gif","illus/meribel_logo.gif","illus/courch_logo2.gif","illus/3vallees-logo.gif","illus/vthorens_logo.gif","illus/menuires.gif","illus/valmorel_logo.gif","illus/les_Arcs.gif","illus/tignes_logo.gif","illus/valdisere_logo.gif","illus/moutiers2.gif","illus/logo_170.png","illus/ABF-logo-W76.png","illus/logohalo.png","illus/menuhalo.png","illus/ABF-71x71.gif","illus/fleurs.gif","illus/chevet_det.gif","illus/door-symb.gif","illus/sabots3.gif","illus/verre_couvert-whi.gif","illus/cartes_symb-2.gif","illus/cartouche-W230.png","illus/arrow-D-red-W86.png"];

function transLang(nlg,sct){
	var i,f;
	Lng=nlg;
	for(i=0;i<langTxts[sct].length;i++){
				//if(sct==6)alert(sct+"   "+i+"   "+langTxts[sct][i]);
		f=(sctrON==1 && (langTxts[sct][i]=="I" || langTxts[sct][i]=="D" || langTxts[sct][i]=="P"));
		getEl(langTxts[sct][i]).innerHTML=eval(langTxts[sct][i]+(f?vuedRm:'')+'_'+nlg);
	}
for(i=0;i<languages.length;i++){
	getEl('flag_'+languages[i]).style.cursor="pointer";setOpac('flag_'+languages[i],.65);
}
if(langImgs.length)for(i=0;i<langImgs.length/3;i++)getEl(langImgs[i*3]).src=langImgs[i*3+1]+"_"+nlg+langImgs[i*3+2];

getEl('flag_'+nlg).style.cursor="default";
setOpac('flag_'+nlg,1);
if(menN)SBchge(sct,nlg);
}
langTxts=new Array();
langTtls=["pR_0","pR_1","pR_2","pR_3","pR_4","pR_5","pR_6","advPause","restart","progrX"];
langTtls1=["","","","","","","","[lpON]","",""];
SB_fr=["Accueil","Chambres<br>&nbsp;&nbsp;et suites","Réserver","Accès","Restaurant","La Carte","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Infos<br>Nouvelles"];
SB_en=["Home","Accommo-<br>&nbsp;&nbsp;dation","Reservation","Location","Restaurant","The Menu","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;News"];
function SBchge(sct,lg){
	if(ie)for(var i=0;i<langMenu.length;i++)getEl("SB_"+langMenu[i]).lastChild.innerHTML=Lng=='fr'?SB_fr[i]:SB_en[i];
	else for(var i=0;i<langMenu.length;i++)getEl("SB_"+langMenu[i]).lastChild.previousSibling.innerHTML=Lng=='fr'?SB_fr[i]:SB_en[i];
}
langImgs=["ILButtImg","illus/links-button-S",".jpg"];//,"RmCatal","illus/badge_room_catalog",".png"
langMenu=[8,1,2,3,4,5,6];
languages=["fr","en"];
function whchLng(){var i,fnd=0,l=ie>1?window.navigator.userLanguage:window.navigator.language;(l)?l.substr(0,2):"fr";for(i=0;i<languages.length;i++)if(l==languages[i])fnd=1;return fnd?l:"fr";}
Lng=whchLng();
if(ie==1||ie==5500){
	if(Lng=="fr")alert("La visite de ce site requiert Internet Explorer version 6, ou mieux 7, ou supérieure.\nAller sur http://www.microsoft.com/france/windows/products/winfamily/ie/worldwide.mspx");
	else alert("Visiting this site requires Internet Explorer version 6, or better 7 or above.\nGo to http://www.microsoft.com/uk/windows/products/winfamily/ie/worldwide.mspx");
}
if(ffx&&ffx<15){
	if(Lng=="fr")alert("La visite de ce site requiert Firefox version 1.5.0.1 ou supérieure.\nRecherchez des mises à jour sur le menu '?' de Firefox\nou allez sur http://www.mozilla.com/en-US/firefox/all.html pour charger la toute dernière version.");
	else alert("Visiting this site requires Firefox version 1.5.0.1 or above.\nLook for an update in the '?' menu of your Firefox browser or\ndownload the latest version on http://www.mozilla.com/en-US/firefox/all.html");
}
if(ffx&&ffx<30){
	if(Lng=="fr")alert("Pour une meilleure visite nous vous conseillons Firefox version 3.\nRecherchez des mises à jour sur le menu '?' de Firefox\nou allez sur http://www.mozilla.com/en-US/firefox/all.html pour charger la toute dernière version.");
	else alert("For an improved browsing experience we recommend Firefox version 3.\nLook for an update in the '?' menu of your Firefox browser or\ndownload the latest version on http://www.mozilla.com/en-US/firefox/all.html");
}


langTxts[0]=["instru","consultTxt","obj_102","obj_110","obj_111","obj_112","obj_113","obj_114","obj_115","obj_116","obj_117","obj_118","obj_119","obj_20","obj_21","obj_22","leg_30","leg_31","leg_32","leg_34","place","topo1","topo2","handicT","service","restoT","raison1","raison2","$cont40Txt","anTravTitle","anTravCommt","avisGA","credSite"];
langTxts[1]=["cliquer","eloigner","consultTxt","place","topo1","topo2","handicT","service","restoT","raison1","raison2","$cont40Txt","anTravTitle","anTravCommt","avisGA","credSite","savoir","roomsRet","I","D","P"];
langTxts[2]=["resaTitle","resaCommt","avisGA","credSite"];
langTxts[3]=["cliquer","eloigner","consultTxt","place","topo1","topo2","handicT","service","restoT","raison1","raison2","$cont40Txt","anTravTitle","anTravCommt","avisGA","credSite"];
langTxts[4]=langTxts[3];
langTxts[5]=["carteread1","carteread2","cartemen1","cartemen2","cartemen3"];
langTxts[6]=["StackCT","Stack0","c00","c01","c02","Stack1","c10","c11","c12","Stack2","c20","c21","Stack3","c30","c31","Stack4","c40","c41","Stack5","c50","c51","Stack6","c60","c61","StackRet","avisGA","credSite"];
langTxts[7]=langTxts[3];
langTxts[8]=langTxts[3];

anTravCommt_fr="Pour réserver en ligne cliquez le lien en bas de page et n&rsquo;hésitez pas à contacter Carine et son équipe ";
anTravCommt_fr+="qui auront le plaisir de vous renseigner.<br>TEL : <b>+33 479 24 20 15</b> - ";
anTravCommt_fr+="E-MAIL : <a href='mailto:aubergedesavoie@wanadoo.fr' style='text-decoration:none;color:#DD2255;'>aubergedesavoie@wanadoo.fr</a><br>";
anTravCommt_fr+="<b>TARIFS DES CHAMBRES HIVER 2011-2012</b> :&nbsp;";
anTravCommt_fr+="<a style='font-size:12px;color:#DD2255;' href='cartes/TARIF_CHAMBRES_HIVER_2011-12.pdf' target='_blank'>";
anTravCommt_fr+="PDF (613Ko)</a>&nbsp;&nbsp;&nbsp;";
anTravCommt_fr+="<a style='font-size:12px;color:#DD2255;' href='cartes/TARIF_CHAMBRES_HIVER_2011-12.jpg' target='_blank'>";
anTravCommt_fr+="JPEG (138Ko)</a>";

anTravCommt_en="For online reservation click on the link in the menu below. Do not hesitate to contact Carine and her team ";
anTravCommt_en+="who will be delighted to give you all information.<br>TEL : <b>+33 479 24 20 15</b> - ";
anTravCommt_en+="E-MAIL : <a href='mailto:aubergedesavoie@wanadoo.fr' style='text-decoration:none;color:#DD2255;'>aubergedesavoie@wanadoo.fr</a><br>";
anTravCommt_en+="<b>ROOM RATES WINTER 2011-2012</b> :&nbsp;";
anTravCommt_en+="<a style='font-size:12px;color:#DD2255;' href='cartes/TARIF_CHAMBRES_HIVER_2011-12.pdf' target='_blank'>";
anTravCommt_en+="PDF (613Ko)</a>&nbsp;&nbsp;&nbsp;";
anTravCommt_en+="<a style='font-size:12px;color:#DD2255;' href='cartes/TARIF_CHAMBRES_HIVER_2011-12.jpg' target='_blank'>";
anTravCommt_en+="JPEG (138Ko)</a>";
				
anTravTitle_fr='Hôtel rénové, agrandi<br>et classé <span style="font-size:150%;vertical-align:-10px">***</span><div class="titre" style="left:-1px;top:-1px;width:420px;height:26px;">Hôtel rénové, agrandi<br>et classé <span style="font-size:150%;vertical-align:-10px">***</span></div>';
anTravTitle_en='Renovated hotel, extended<br>and upgraded to 3 stars<div class="titre" style="left:-1px;top:-1px;width:420px;height:26px;">Renovated hotel, extended<br>and upgraded to 3 stars</div>';


instru_fr='Cette animation se contrôle comme une vidéo<br>Cliquez barre, boutons et photos animées<br>pour arrêt, retour, avance et passer l&rsquo;intro';
instru_fr+='<div class="PA AL" style="left:-1px;top:-1px;color:#fff;">Cette animation se contrôle comme une vidéo<br>Cliquez barre, boutons et photos animées<br>pour arrêt, retour, avance et passer l&rsquo;intro</div>';
instru_en='Control this animation as a video<br>You may click buttons, bar and animated photos<br>to pause, play back, advance or skip the intro';
instru_en+='<div class="PA AL" style="left:-1px;top:-1px;color:#fff;">Control this animation as a video<br>You may click buttons, bar and animated photos<br>to pause, play back, advance or skip the intro</div>';
consultTxt_fr='Consultez<br>menus et<br>carte des<br>vins';
consultTxt_en='Discover<br>the Menu<br>and the<br>Wine List ';
cliquer_fr="Cliquer sur une enseigne<br>pour ouvrir son site web";
eloigner_fr="Eloigner la souris<br>pour reprendre la visite";
cliquer_en="Click on a sign<br>to open its web site";
eloigner_en="Move the mouse away<br>to continue the visit";
obj_102_fr='passer l&rsquo;intro';
obj_110_fr='à 20mn<div class="off2">à 20mn</div><div class="off1">à 20mn</div>';
obj_111_fr='à 10mn<div class="off2">à 10mn</div><div class="off1">à 10mn</div>';
obj_112_fr='à 25mn<div class="off2">à 25mn</div><div class="off1">à 25mn</div>';
obj_113_fr='à 30mn<div class="off2">à 30mn</div><div class="off1">à 30mn</div>';
obj_114_fr='à 40mn<div class="off2">à 40mn</div><div class="off1">à 40mn</div>';
obj_118_fr='à 30mn<div class="off2">à 30mn</div><div class="off1">à 30mn</div>';
obj_115_fr='à 20mn<div class="off2">à 20mn</div><div class="off1">à 20mn</div>';
obj_119_fr='à 30mn<div class="off2">à 30mn</div><div class="off1">à 30mn</div>';
obj_116_fr='à 45mn<div class="off2">à 45mn</div><div class="off1">à 45mn</div>';
obj_117_fr='à 55mn<div class="off2">à 55mn</div><div class="off1">à 55mn</div>';
obj_20_fr='A proximité des plus belles stations de Savoie';

leg_30_fr='Agrandi, rénové<br>classé 3 étoiles';
leg_30_en='Extended, renovated<br>upgraded to 3 stars';

leg_31_fr='Chambres à partir de 89&nbsp;&euro;<br>Soirée étape sur demande';
leg_31_en='Accomodation ranging from 89&nbsp;<span style="font-variant:small-caps">eur</span><br>Professional deals on request';

leg_32_fr='Bar. Restaurant. Menus traditionels à partir de 16.90&nbsp;&euro;';
leg_34_fr='&nbsp;';
obj_21_fr='&nbsp;Au centre historique de Moûtiers&nbsp;';
obj_22_fr='&nbsp;L&rsquo;accueil et le service d&rsquo;une grande maison&nbsp;';
obj_102_en='skip intro';
obj_110_en='20&rsquo; away<div class="off2">20&rsquo; away</div><div class="off1">20&rsquo; away</div>';
obj_111_en='10&rsquo; away<div class="off2">10&rsquo; away</div><div class="off1">10&rsquo; away</div>';
obj_112_en='25&rsquo; away<div class="off2">25&rsquo; away</div><div class="off1">25&rsquo; away</div>';
obj_113_en='30&rsquo; away<div class="off2">30&rsquo; away</div><div class="off1">30&rsquo; away</div>';
obj_114_en='40&rsquo; away<div class="off2">40&rsquo; away</div><div class="off1">40&rsquo; away</div>';
obj_118_en='30&rsquo; away<div class="off2">30&rsquo; away</div><div class="off1">30&rsquo; away</div>';
obj_115_en='20&rsquo; away<div class="off2">20&rsquo; away</div><div class="off1">20&rsquo; away</div>';
obj_119_en='30&rsquo; away<div class="off2">30&rsquo; away</div><div class="off1">30&rsquo; away</div>';
obj_116_en='45&rsquo; away<div class="off2">45&rsquo; away</div><div class="off1">45&rsquo; away</div>';
obj_117_en='55&rsquo; away<div class="off2">55&rsquo; away</div><div class="off1">55&rsquo; away</div>';
obj_20_en='Near the nicest mountain resorts in Savoie';

leg_32_en='Bar. Restaurant. Traditional menus from 16.90&nbsp;<span style="font-variant:small-caps">eur</span>';
leg_34_en='&nbsp;';
obj_21_en='&nbsp;In the historical centre of Moûtiers&nbsp;';
obj_22_en='&nbsp;The welcome and service of a &ldquo;grande maison&rdquo;&nbsp;';
place_fr='Hôtel <span style="font-size:150%;vertical-align:-10px">***</span> et Restaurant à Moûtiers<br>carrefour des 3 vallées';
place_fr+='<div class="titre" style="left:-1px;top:-1px;width:467px;height:40px;line-height:28px;">Hôtel <span style="font-size:150%;vertical-align:-10px">***</span> et Restaurant à Moûtiers<br>carrefour des 3 vallées</div>';
place_en='Hotel <span style="font-size:150%;vertical-align:-10px;">***</span> and restaurant in Moutiers<br>in the heart of the 3 valleys';
place_en+='<div class="titre" style="left:-1px;top:-1px;width:467px;height:40px;line-height:28px;">Hotel <span style="font-size:150%;vertical-align:-10px;">***</span> and restaurant in Moutiers<br>in the heart of the 3 valleys</div>';

topo1_fr='<ul><li>Gare SNCF à 2 minutes à pied,';
topo1_fr+='<li>Accès voie express d&rsquo;Albertville, Chambéry, Grenoble, Annecy';
topo1_fr+='<li>Télécabine Brides-Méribel à 10 minutes (accès aux 3 Vallées)';
topo1_fr+='<li>Parking public ou garage privé payant à une minute à pied</ul>';

topo1_en='<ul><li>Train station at a 2 minutes walking distance,';
topo1_en+='<li>Fast road access from Albertville, Chambery, Grenoble, Annecy';
topo1_en+="<li>Gondola lift Brides-Meribel 10' away (access to The 3 Valleys)";
topo1_en+='<li>Public car park or private garage (extra cost) on request</ul>';

service_fr='Cadre authentique<br>Excellence de la table et de la cave<br>Chambres neuves et rénovées<br>Appartement et suites grand confort';
service_en='Genuine atmosphere<br>Excellent cuisine and wines<br>New and renovated rooms<br>High comfort apartment and suites';

topo2_fr='<ul><li>Restaurant 200 couverts, plusieurs salles, l&rsquo;une avec cheminée';
topo2_fr+='<li>Cuisine traditionnelle, spécialités savoyardes, pizzas au feu de bois';
topo2_fr+='<li>Huîtres, homard, crustacés, fruits de mer, marée fraiche</ul>';

topo2_en='<ul><li>Restaurant 200 seats, several halls, one with fireplace';
topo2_en+='<li>Traditional cuisine, Savoy specialties, firewood oven pizzas';
topo2_en+='<li>Oysters, lobster, crayfish, crab, clams, seafood</ul>';

handicT_fr='Installations<br>pour P.M.R.<br>Normes 2015';
handicT_en='Facilities for<br>disabled people<br>EU norms 2015';		

resaTitle_fr='Cliquez ici<br>pour votre réservation en ligne';
resaTitle_fr+='<div class="titre" style="left:-1px;top:-1px;width:400px;padding:5px 0 20px 0;">Cliquez ici<br>pour votre réservation en ligne</div>';
resaTitle_en='Click here to reserve online<br>&nbsp;';
resaTitle_en+='<div class="titre" style="left:-1px;top:-1px;width:400px;padding:5px 0 20px 0;">Click here to reserve online<br>&nbsp;</div>';
resaCommt_fr='Le formulaire de réservation va s&rsquo;ouvrir<br>sous un nouvel onglet ou sur une nouvelle fenêtre.<br>Vous pourrez la refermer<br>après avoir effectué la réservation.';
resaCommt_en='The reservation form will open<br>under a new tab or in a new window.<br>You can close it<br>after completing your reservation.';
avisGA_fr='Navigateurs recommandés pour visiter ce site : Safari, Chrome, Firefox.<br>Merci de s&rsquo;assurer que le réglage du moniteur offre toutes les justes tonalités.<br>NB : Les photos panoramiques présentent des courbures inévitables<br>qui sont dûes à la projection à plat.';
avisGA_en='Best browsers for this web site : Safari, Chrome, Firefox.<br>Please make sure that the monitor settings offer the best range of tonalities.<br>Note: Panoramic photos inevitably have curvatures due<br>to their projection on the flat medium.';

credSite_fr='site réalisé par vu-par.com (copyright 2008-2011)';
credSite_en='site design vu-par.com (copyright 2008-2011)';
restoT_fr='Se restaurer, se détendre, se rencontrer';
restoT_fr+='<div class="titre" style="left:-1px;top:-1px;width:600px;height:26px;">Se restaurer, se détendre, se rencontrer</div>';
raison1_fr='restaurant, pizzeria';
raison2_fr='bar, salle savoyarde';
restoT_en='Eating, Relaxing, Meeting';
restoT_en+='<div class="titre" style="left:-1px;top:-1px;width:600px;height:33px;">Eating, Relaxing, Meeting</div>';
raison1_en='restaurant, pizzeria';
raison2_en='bar, salle savoyarde';
$cont40Txt_fr='visite du salon et d&rsquo;autres salles';
$cont40Txt_en='visit of the salon and other halls';
chamT_fr='Les chambres<div class="titre" style="left:-1px;top:-1px;width:200px;height:26px;">Les chambres</div>';
sdbST_fr='salle de bain';
sdbP_fr='Toutes offrent baignoire,<br>douche et sèche-cheveux.';
pdjP_fr='Sur demande, petit-déjeuner<br>servi à la chambre.';
chStST_fr='chambre standard';
chStP_fr='Confortable<br>Salle de bain<br>WC privés<br>Télévision 18 chaînes, Canal+';
chLxST_fr='chambre luxe';
chLxP_fr='Vaste, confortable, joliment<br>décorée, entièrement rénovée<br>Salle de bain. WC séparés<br>Télévision 18 chaînes, Canal+';
chamT_en='The rooms<div class="titre" style="left:-1px;top:-1px;width:200px;height:26px;">The rooms</div>';
sdbST_en='bathroom';
sdbP_en='All include bathtub<br>shower and hair dryer.';
pdjP_en='On request, breakfast<br>will be served in the room.';
chStST_en='standard bedroom';
chStP_en='Comfortable<br>Bathroom<br>Private toilet<br>18 channels TV, Canal+';
chLxST_en='deluxe bedroom';
chLxP_en='Large, comfortable, nicely<br>decorated, entirely renovated.<br>Bathroom, separated toilet.<br>18 channels TV, Canal+';
advPause_fr=["Continuer l'animation","PAUSE"];advPause_en=["Continue animation","PAUSE"];restart_fr="Redémarrer l'animation";
restart_en='Restart animation';progrX_fr="FERMER la barre de contrôle. Pour ouvrir, passer la souris au-dessus du bouton PAUSE en bas à gauche et garder le curseur au-dessus de la barre. CLIQUER SUR LA LIGNE DE PROGRÈS pour contrôler le déroulement.";
progrX_en='CLOSE the control bar. For opening pass the mouse over the PAUSE button at the bottom left and keep cursor over the bar. CLICK ON PROGRESS LINE in order to control the sequence.</>';pR_fr=new Array();

StackCT_fr="NOUVELLE - INFO";
Stack0_fr="La une";
c00_fr="&nbsp;Du nouveau : aperçu photo&nbsp;";
c01_fr="&nbsp;Les travaux de 2010&nbsp;";
c02_fr="&nbsp;Le Café prend vie et couleur&nbsp;";
Stack1_fr="&Agrave; l&rsquo;Hôtel";
c10_fr="&nbsp;Du nouveau : aperçu photo&nbsp;";
c11_fr="&nbsp;Les travaux de 2010&nbsp;";
c12_fr="&nbsp;Tarifs 2011-2012&nbsp;";
Stack2_fr="Au Restaurant";
c20_fr="&nbsp;";
c21_fr="&nbsp;";
Stack3_fr="Au Café de l&rsquo;Auberge";
c30_fr="&nbsp;Le Café prend vie et couleur&nbsp;";
c31_fr="&nbsp;";
Stack4_fr="La région";
c40_fr="&nbsp;Stations les plus proches&nbsp;";
c41_fr="&nbsp;&Eacute;vènements aux environs&nbsp;";
Stack5_fr="Maisons s&oelig;urs";
c50_fr="&nbsp;";
c51_fr="&nbsp;";
Stack6_fr="Archives";
c60_fr="&nbsp;L&rsquo;Auberge avant travaux&nbsp;";
c61_fr="&nbsp;";
StackRet_fr="Page d&rsquo;accueil";

StackCT_en="NEWS - INFORMATION";
Stack0_en="Headlines";
c00_en="&nbsp;What's new? : a quick view&nbsp;";
c01_en="&nbsp;The Big Works of 2010&nbsp;";
c02_en="&nbsp;New life at the Caf&eacute;&nbsp;";
Stack1_en="At the Hotel";
c10_en="&nbsp;What's new? : a quick view&nbsp;";
c11_en="&nbsp;The Big Works of 2010&nbsp;";
c12_en="&nbsp;Rates 2011-2012&nbsp;";
Stack2_en="At the Restaurant";
c20_en="&nbsp;";
c21_en="&nbsp;";
Stack3_en="At the Caf&eacute; de l&rsquo;Auberge";
c30_en="&nbsp;New life at the Caf&eacute;&nbsp;";
c31_en="&nbsp;";
Stack4_en="The region";
c40_en="&nbsp;Nearest resorts&nbsp;";
c41_en="&nbsp;Nearby happenings&nbsp;";
Stack5_en="Sister houses";
c50_en="&nbsp;";
c51_en="&nbsp;";
Stack6_en="Archives";
c60_en="&nbsp;As Auberge used to be&nbsp;";
c61_en="&nbsp;";
StackRet_en="Home page";

pR_fr[0]=["Les plus belles stations de Savoie","Votre auberge à Moûtiers","Accueil et service"];
pR_fr[1]=[""];
pR_fr[2]=[""];
pR_fr[3]=["Vue extérieure","Plan d'arrivée","Tableau d'itinéraires","Carte en relief"];
pR_fr[4]=["Salle de restaurant et terrasse","Les fûts","Entrée du restaurant","Bar et réception","Salle savoyarde et salle pizzeria"];//"La salle du bar",
pR_fr[5]=["Plateau royal (en saison)","Fondue et raclette","Toasts devant le bar","Poisson et marée fraîche selon saison"];
pR_fr[6]=[""];
pR_en=new Array();
pR_en[0]=['The nicest resorts in Savoie','Your inn is in Moutiers','Welcome and service'];
pR_en[1]=[""];
pR_en[2]=[""];
pR_en[3]=["External view","Arrival map","Possible itineraries","3D map"];
pR_en[4]=["Restaurant main hall and terrace","The barrels","Restaurant entrance","The bar hall","Bar and reception","Salle savoyarde and pizzeria hall"];
pR_en[5]=["Plateau royal (in the winter season)","Fondue and raclette","Toasts before the bar","Fish and seafood (in the winter season)"];var popupWin=null;function opWindow(w,h,perc){var winX=0,winY=0;var url="http://hotel.reservit.com/reservit/reserhotel.php?lang="+Lng.toUpperCase()+"&hotelid=1759";var name="RESA";if(window.screen){winX=(screen.availWidth-w)*perc*.01;winY=(screen.availHeight-h)*perc*.01;popupWin=eval("window.open(url,name,'scrollbars,resizable,width='+w+',height='+h+',left='+winX+',top='+winY)");}else popupWin=window.open(url,name);}
pR_en[6]=[""];

var vuedRm=8,ChPhoOn="rC8ch0";
function servRm(n){
			//alert(n);
	for(var i=1;i<9;i++){
		if(i!=3 && i!=4){
			var ofc=getEl("rmCho"+i).firstChild;
			if(!ie)ofc=ofc.nextSibling;
					//alert(ofc.tagName+"  "+ofc.src);
			if(ofc)ofc.style.visibility=(i!=n)?"hidden":"visible";
			var o=getEl("rC"+i+"bg");
			var p=getEl("rC"+i+"ti");
			o.src=(i!=n)?"illus/Ch-bgDegr.jpg":"illus/Ch-bgDegrLite.jpg";
			p.src=(i!=n)?"illus/Ch--"+i+"-g_"+Lng+".png":"illus/Ch--"+n+"-r_"+Lng+".png";
		}
	}

	var ChPhoOf=ChPhoOn;
	var of=getEl(ChPhoOf);
	ChPhoOn="rC"+n+"ch0";
	var on=getEl(ChPhoOn);
	vuedRm=n;

	hide(ChPhoOf,0);of.setAttribute('isON',0);
		//if(n==7{
			//getEl("rC7sb_").style.visibility="visible";
			//getEl("rC7sb_").setAttribute('isON',1);
		//}
	if(vdoRun){show(ChPhoOn,0);on.setAttribute('isON',1);} //else hide(ChPhoOn,0);on.setAttribute('isON',0);
}
function clrRm(n){
		var ofc=getEl("rmCho"+n).firstChild;
		if(!ie)ofc=ofc.nextSibling;
		if(ofc)ofc.style.visibility="hidden";
		//if(n==7){
			//getEl("rC7sb_").style.visibility="visible";
			//getEl("rC7sb_").setAttribute('isON',1);
		//}
}
function updRm(n){
	if(clck>=4750*spdup){
		getEl("I").innerHTML=eval("I"+n+"_"+Lng);
		getEl("D").innerHTML=eval("D"+n+"_"+Lng);
		//alert(n+"   "+eval('P'+n+"_"+Lng) );
		//alert(getEl("P").id);
		getEl("P").innerHTML=eval("P"+n+"_"+Lng);
				//if(n==7){
				//getEl("rC7sb_").style.visibility="visible";
				//getEl("rC7sb_").setAttribute('isON',1);
			//}
	
		gointoLoop('',n);
	}
}
roomsRet_fr='Retour au sommaire';
roomsRet_en='Back to summary';
savoir_fr='Cliquez pour en savoir plus';
savoir_en='Click for details';

I1_fr='Chambre standard';
D1_fr='<ul><li>Lit double (ou jumeaux)<li>Salle de bain tout confort<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Superficie environ 16 m&sup2;<ul>';
P1_fr='&Agrave; partir de <b>89&euro;</b>';
I2_fr='Chambre privilège';
D2_fr='<ul><li>De 2 à 4 lits, double ou jumeaux, selon chambre<li>Salle de bain tout confort, certaines avec douchettes jumbo<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Superficie 20 à 27 m&sup2;<ul>';
P2_fr='&Agrave; partir de <b>99&euro;</b>';
I3_fr='Chambre luxe';
D3_fr='<ul><li>Lit double (ou jumeaux)<li>Salle de bain tout confort, douchettes jumbo<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Superficie environ 24 m&sup2;<ul>';
P3_fr='&Agrave; partir de <b>119&euro;</b>';
I4_fr='Ch. familiale luxe';
D4_fr='<ul><li>4 lits de 90x180cm ou<br>2 lits doubles sur demande<li>Salle de bain tout confort, douchettes jumbo<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Superficie environ 27 m&sup2;<ul>';
P4_fr='&Agrave; partir de <b>149&euro;</b>';
I5_fr='Suite Courchevel';
D5_fr='<ul><li>Un lit double 200x210cm<li>Un lit de 90x180cm<li>Grande salle de bain, baignoire et coin douche, douchettes jumbo<li>Coin salon<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Exposition Sud-Est<li>Grand confort<li>Superficie environ 35 m&sup2;<ul>';
P5_fr='&Agrave; partir de <b>189&euro;</b>';
I8_fr='Suite Val d&rsquo;Isère';
D8_fr='<ul><li>Un lit double 200x210cm<li>Un lit de 90x180cm<li>Grande salle de bain, baignoire et coin douche, douchettes jumbo<li>Coin salon<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Exposition Sud-Ouest<li>Grand confort<li>Superficie environ 35 m&sup2;<ul>';
P8_fr='&Agrave; partir de <b>189&euro;</b>';
I6_fr='Appart.</sup> Tremplin';
D6_fr='<ul><li>Un lit double 200x210cm<li>Couchage supplémentaire sur demande<li>Grande salle de bain, baignoire bois et coin douche, douchettes jumbo<li>Coins salon et déjeuner<li>Chaînes France et étranger<li>Accès Wifi gratuit<li>Grand confort, sup. 60 m&sup2;<li>Possibilités : long séjour, séminaires, show-room<ul>';
P6_fr='&Agrave; partir de <b>209&euro;</b>';
I7_fr='P.M.R.';
D7_fr='<ul><li>Accès étudié et facile<li>Chien de P.M.R. accepté<li>Lit double<li>Salle de bain aménagée pour P.M.R. et son accompagnant,<br>douchettes jumbo<li>Tout confort<li>Chaînes françaises et étrangères<li>Accès Wifi gratuit<li>Superficie 21 m&sup2;<ul>';
P7_fr='&Agrave; partir de <b>99&euro;</b>';


I1_en='Standard room';
D1_en='<ul><li>Double bed (or twin bed)<li>Full amenities bathroom<li>French and foreign TV<li>Free Wifi access<li>Surface area about 16 m&sup2;<ul>';
P1_en='Rate: from <b>89&euro;</b>';
I2_en='Privilege room';
D2_en='<ul><li>From 2 to 4 beds, double or twin, acc. to room<li>Full amenities bathroom, some with jumbo shower heads<li>French and foreign TV<li>Free Wifi access<li>Surface area 20-27 m&sup2;<ul>';
P2_en='Rate: from <b>99&euro;</b>';
I3_en='Luxury room';
D3_en='<ul><li>Double bed (or twin bed)<li>Full amenities bathroom, jumbo shower heads<li>French and foreign TV<li>Free Wifi access<li>Surface area 24 m&sup2;<ul>';
P3_en='Rate: from <b>119&euro;</b>';
I4_en='Luxury family room';
D4_en='<ul><li>4 beds 90x180cm or<br>2 double beds on demand<li>Full amenities bathroom, jumbo shower heads<li>French and foreign TV<li>Free Wifi access<li>Surface area about 27 m&sup2;<ul>';
P4_en='Rate: from <b>149&euro;</b>';
I5_en='Courchevel Suite';
D5_en='<ul><li>1 double bed 200x210cm<li>1 bed 90x180cm<li>Large bathroom, bathtub, separate shower, jumbo shower heads<li>Lounging area<li>French and foreign TV<li>Free Wifi access<li>Facing South-East<li>Very comfortable<li>Surface area about 35 m&sup2;<ul>';
P5_en='Rate: from <b>189&euro;</b>';
I8_en='Val d&rsquo;Isère Suite';
D8_en='<ul><li>1 double bed 200x210cm<li>1 bed 90x180cm<li>Large bathroom, bathtub, separate shower, jumbo shower heads<li>Lounging area<li>French and foreign TV<li>Free Wifi access<li>Facing South-West<li>Very comfortable<li>Surface area about 35 m&sup2;<ul>';
P8_en='Rate: from <b>189&euro;</b>';
I6_en='Tremplin Apartment';
D6_en='<ul><li>1 double bed 200x210cm<li>Extra bed only on request<li>Large bathroom, wooden bathtub, separate shower with jumbo heads<li>Lounging and dining areas<li>French and foreign TV<li>Free Wifi access<li>Very comfortable, &asymp; 60 m&sup2;<li>Options : long stay, small seminars, show-room<ul>';
P6_en='Rate: from <b>209&euro;</b>';
I7_en='For the disabled';
D7_en='<ul><li>Carefully designed easy access<li>Guide dog accepted<li>Double bed<li>Bathroom with an easy access for the disabled, jumbo shower heads<li>Full amenities<li>French and foreign TV<li>Free Wifi access<li>Surface area 21 m&sup2;<ul>';
P7_en='Rate: from <b>99&euro;</b>';

carteread1_fr="(nécessite ";
carteread2_fr="ouverture sous nouvel onglet ou fenêtre";
cartemen1_fr="&nbsp;<br>Carte, Menus, Vins <br><span>5 pages, PDF 616 Ko</span><br>&nbsp;";
cartemen2_fr="&nbsp;<br>Vins (2e partie)<br><span>1 page, PDF 157 Ko</span><br>&nbsp;";
cartemen3_fr="&nbsp;<br>Glaces, Bar<br>Brasserie<br>Vins au verre<br>Champagnes<br><span>2 pages, PDF 325 Ko</span><br>&nbsp;";

carteread1_en="(requires ";
carteread2_en="will open under a new tab or window";
cartemen1_en="&nbsp;<br>Carte, Menus, Wines <br><span>5 pages, PDF 616 Ko</span><br>&nbsp;";
cartemen2_en="&nbsp;<br>Wines (2nd part)<br><span>1 page, PDF 157 Ko</span><br>&nbsp;";
cartemen3_en="&nbsp;<br>Ice creams, Bar<br>Beers, Snacks<br>Wines by the glass<br>Champagnes<br><span>2 pages, PDF 325 Ko</span><br>&nbsp;";

function pRchge(sct,lg){}
function stVDOsrvc(){
	var ra,ct,s='',pRl=pRspot[sctrON].length,dx=0,butW=18,pRtop=0,buttop=1,sldtop=2,cmtdist=10;useSlidR=pRl?1:0;
	slidRpos=new Array();
	if(pRl){
		pRlit=-1;
		for(var i=0;i<pRl;i++){
			ra=pRspot[sctrON][i]*spdup/AO[nOfAO-1][0];
			slidRpos[i]=dx+parseInt(ra*slidrLen[sctrON]-butW/2);
			s+='<div id="pR_'+i+'div" class="pRs" ';
			s+='style="left:'+slidRpos[i]+'px;top:'+pRtop+'px;">';
			s+='<img id="pR_'+i+'" src="'+pRbut_off+'" width="18" height="18" class="button" style="top:'+buttop+'px;">';
			s+='</div>';
		}
		s+='<div id="slidR" class="slidRenv" style="left:'+dx+'px;top:'+sldtop+'px;width:'+slidrLen[sctrON]+'px;" ';
		s+='onmousedown="slidRhdle(event)" onmousemove="slidRmse(event)" onmouseout="slidRinfoCur(-1)">';
		s+='<div class="slidRcont" style="left:0px;width:'+slidrLen[sctrON]+'px">';
		s+='<div id="slidRfill" class="slidfill" style="width:100%"></div>';
		s+='</div>';
		s+='<div id="pRball" class="button" style="left:'+(slidRpos[0]-dx)+'px;top:'+(pRtop+buttop-sldtop)+'px;width:18px;height:18px;">';
		s+='<img src="'+pRbut_on+'" width="18" height="18" >';
		s+='</div>';
		s+='<div class="slidRtrap" ></div>';
		s+='</div>';
		ct="";
		s+='<div id="progrCmt" class="PA" style="left:'+(dx+slidrLen[sctrON]+cmtdist)+'px;top:'+sldtop+'px;width:'+cmtLen[sctrON]+'px;color:'+txtGold+'">'+ct+'</div>';
		prgR.innerHTML=s;
		sldR=getEl("slidR");
		sldRf=getEl("slidRfill");
		pRballR=getEl("pRball");
		prCmtR=getEl("progrCmt");
		if(ie)dimrR.style.filter="alpha(opacity="+dimrOpa[sctrON]+")";
		else dimrR.style.opacity=""+(dimrOpa[sctrON]/100);
	}
	contrlsR.style.visibility=sctrON==sctN-1?"hidden":"visible";
}
