<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('Vérifiez que vous avez rempli tous les champs marqués par *. \n\nPlease fill out all fields marqued with *.');
  document.MM_returnValue = (errors == ''); 
}
//-->

<!--

function verScroll(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.icoGallerie);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('icoGallerie').style");
}
else {
if (document.all) {
var page = eval(document.all.icoGallerie.style);
      }
   }
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);

if (loop == true  ) {
 if ((direction == "dn") && (y_pos > maxSCROLL)) {
 	
  page.top = (y_pos - (speed));
  } else {  
 
  if (direction == "up" && y_pos < 0) {
  page.top = (y_pos + (speed));
 
  } else {
   if (direction == "top") {
   page.top = 10;
   }
  }
}
scrolltimer = setTimeout("verScroll(direction,speed)", 1);
   }
}







function stopScroll() {
loop = false;
clearTimeout(scrolltimer);
}




// -->
var tab = new Array ("presentation_0","presentation_1","presentation_2","presentation_3","presentation_4","presentation_5","presentation_6","contact_0","contact_1","contact_2","contact_3","contact_4","contact_5","contact_6","tarifs_0","tarifs_1","tarifs_2","tarifs_3","tarifs_4","tarifs_5","tarifs_6","hebergement_0","hebergement_1","hebergement_2","hebergement_3","loisirs_0","loisirs_1","loisirs_2","loisirs_3","loisirs_4","loisirs_5","balneo_0","balneo_1","balneo_2","balneo_3","balneo_4","balneo_5","balneo_6","balneo_7","balneo_8","balneo_9","balneo_10","restauration_0","restauration_1","restauration_2","restauration_3","reservation_0","reservation_1","reservation_2","reservation_3","reservation_4");

function show_details (id)
{
if (document.getElementById(id).style.display == 'none')
	{
	document.getElementById(id).style.display = "inline";
     for(i=0;i<tab.length;i++)
		{
		if ((tab[i] != id) && document.getElementById(tab[i]) )
 		document.getElementById(tab[i]).style.display = "none";
		}
	}
else
document.getElementById(id).style.display = "inline";

}

function main_image (id)
{
if (document.getElementById(id).style.display == 'none')
	{
	document.getElementById(id).style.display = "inline";
     for(i=0;i<tab.length;i++)
		{
		if ((tab[i] != id) && document.getElementById(tab[i]) )
 		document.getElementById(tab[i]).style.display = "none";
		}
	}
else
document.getElementById(id).style.display = "inline";

}



/***/
function show_descreptif (id)
{
var tab = new Array ("tonic","forme","minceur","legers","romatisme","dos","stress","beaute","forme","tonic");

if (document.getElementById(id).style.display == 'none')
	{
		
	document.getElementById(id).style.display = "inline";
     for(i=0;i<tab.length;i++)
		{
		if ((tab[i] != id) && document.getElementById(tab[i]) ){
 		document.getElementById(tab[i]).style.display = "none";
			}
		}
	}
else
document.getElementById(id).style.display = "none";
}



  //infos bull
var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
offsetX = 0;
offsetY = 20;
var toolTipSTYLE="";
function initToolTips()
{
  if(ns4||ns6||ie4)
  {
    if(ns4) toolTipSTYLE = document.toolTipLayer;
    else if(ns6) toolTipSTYLE = document.getElementById("toolTipLayer").style;
    else if(ie4) toolTipSTYLE = document.all.toolTipLayer.style;
    if(ns4) document.captureEvents(Event.MOUSEMOVE);
    else
    {
      toolTipSTYLE.visibility = "visible";
      toolTipSTYLE.display = "none";
    }
    document.onmousemove = moveToMouseLoc;
  }
}


function toolTip(msg, fg, bg)
{
  if(toolTip.arguments.length < 1) // hide
  {
    if(ns4) toolTipSTYLE.visibility = "hidden";
    else toolTipSTYLE.display = "none";
  }
  else // show
  {
    if(!fg) fg = "#5D7BC3";
    if(!bg) bg = "#FFFFFF";
    var content =
    '<table border="0" cellspacing="0" cellpadding="1" bgcolor="' + fg + '"><td>' +
    '<table border="0" cellspacing="0" cellpadding="1" bgcolor="' + bg + 
    '"><td align="center"><font face="sans-serif" color="' + fg +
    '" size="-2">&nbsp\;' + msg +
    '&nbsp\;</font></td></table></td></table>';
    if(ns4)
    {
      toolTipSTYLE.document.write(content);
      toolTipSTYLE.document.close();
      toolTipSTYLE.visibility = "visible";
    }
    if(ns6)
    {
      document.getElementById("toolTipLayer").innerHTML = content;
      toolTipSTYLE.display='block'
    }
    if(ie4)
    {
      document.all("toolTipLayer").innerHTML=content;
      toolTipSTYLE.display='block'
    }
  }
}



function moveToMouseLoc(e)
{
  if(ns4||ns6)
  {
    x = e.pageX;
    y = e.pageY;
  }
  else
  {
    x = event.x + document.body.scrollLeft;
    y = event.y + document.body.scrollTop;
  }
  toolTipSTYLE.left = x + offsetX;
  toolTipSTYLE.top = y + offsetY;
  return true;
}


function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="fr/%27+cheminVignette+%27" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="fr/%27+chemin+%27" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width,document.imageTest.height)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=none,location=none,directories=none');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	}

function rollover_tjs(nom,src) {	
document.images[nom].src=src;
}

function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,width=478,height=400');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	}
	
	
function runSlideShow(){
   if (document.all){
      document.images.SLIDESIMG.style.filter="blendTrans(duration=2)"
      document.images.SLIDESIMG.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SLIDESIMG.filters.blendTrans.Apply()      
   }
   document.images.SLIDESIMG.src = preLoad[j].src
   if (document.all){
      document.images.SLIDESIMG.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}
	
	


