// JS pour Visitez

plan1 = new Image();
plan2 = new Image();
plan1.src = "_design/bout_plan1.gif";
plan2.src = "_design/bout_plan2.gif";
pisc1 = new Image();
pisc2 = new Image();
pisc1.src = "_design/b_piscine1.gif";
pisc2.src = "_design/b_piscine2.gif";

function bplan(nomIm, src) {	
document.images[nomIm].src = src;
}

 function plancamp(leplan){ 
popwpos=(screen.width/2)-220;
pophpos=(screen.height/2)-192;
defs='left='+popwpos+', top='+pophpos+',width=600,height=385,resizable=yes,scrollbars=no,toolbar=no,directories=no,location=no,status=no,menubar=no'
popplan = window.open(leplan,'npp',defs)
if(popplan.window.focus){popplan.window.focus();}
}
 
 function popup(inventaire){ 
popwpos=(screen.width/2)-135;
pophpos=(screen.height/2)-200;
invent='left='+popwpos+', top='+pophpos+',width=450,height=400,resizable=yes,toolbar=no,directories=no,location=no,status=no,menubar=no'
popupw = window.open(inventaire,'npp',invent)
if(popupw.window.focus){popupw.window.focus();}
}

function hidekey(){
document.getElementById('cool').style.display='none'
}

function myload() {
pos_menu();
pos_logo();
affich_logo();
hidekey();
}