<!--
function openWin(url,hauteur,largeur)
{	
	window.open(url,'nom','toolsbar=no,height='+hauteur+',width='+largeur);
}

function openWinvideo(url,hauteur,largeur)
{	
	window.open(url,'video','toolsbar=no,height='+hauteur+',width='+largeur);
}

function openWin2(url,hauteur,largeur)
{	
	window.open(url,'nom2','toolsbar=no,scrollbars=1,height='+hauteur+',width='+largeur);
}


function rollOver(ImgNme)
{
 obj=document.images[ImgNme];
 obj.src=(obj.src.lastIndexOf('_on')!=-1)? obj.src.replace(/_on/gi,"_off"):obj.src.replace(/_off/gi,"_on");
}


function PSR_imprimer () { 
    var PSR_f1 = null; 
    var PSR_content=document.getElementById('PSR_print').parentNode.innerHTML; 
    var PSR_title=document.getElementsByTagName('title')[0].innerText; 
    if (PSR_f1) {if(!PSR_f1.closed) PSR_f1.close();} 
    PSR_f1 = window.open ('',"PSR_f1", "height=500,width=600,menubar=yes,scrollbars=yes,resizable=yes,,left=10,top=10"); ; 
    PSR_f1.document.open(); 
    PSR_f1.document.write("<html><head><title>" + PSR_title + "</title><link rel='STYLESHEET' type='text/css' href='style.css'></head><body bgcolor='#ffffff'><div align=center><img src='images/logo_aayc.gif'></div><br>"+PSR_content+"</body></html>"); 
    PSR_f1.document.close(); 

    PSR_f1.focus(); 
PSR_f1.print();
} 


function redirection_moteur(moteur, langue) {
		numoption = document.frmMoteur.type_hebergement.selectedIndex;
		valeurchoix = document.frmMoteur.type_hebergement.options[numoption].value;
		window.location.href = 'http://new-chaudanne.ingenie.fr/index.php?type_hebergement=' + valeurchoix;
}

function afficheId(baliseId) {
	  if (document.getElementById && document.getElementById(baliseId) != null){
	    	if(document.getElementById(baliseId).style.visibility == 'hidden'){
	    		document.getElementById(baliseId).style.visibility='visible';
	    		document.getElementById(baliseId).style.display='block';
	    	}else {
	    		document.getElementById(baliseId).style.visibility='hidden';
	    		document.getElementById(baliseId).style.display='none';
	    	}
	    }
}

function cacheId(baliseId)
{
  if (document.getElementById && document.getElementById(baliseId) != null)
    {
    document.getElementById(baliseId).style.visibility='hidden';
    document.getElementById(baliseId).style.display='none';
    }
}

function div_cache(nomdiv)
{
 var style = document.getElementById(nomdiv).style.visibility;
 var display  = "block";
 
 if (style != "hidden")
 {
  style ="hidden";
  display = "none";
 }
 else
 {
  style ="visible";
  display = "block";
 }
 document.getElementById(nomdiv).style.visibility= style;
 document.getElementById(nomdiv).style.display = display; 
 //this.choix_groupe.elements[nomdiv]
}

function div_montre(nomdiv)
{
 var style = document.getElementById(nomdiv).style.visibility;
 var display  = "block";
 
 if (style != "visible")
 {
  style ="visible";
  display = "block";
 }
 else
 {
  style ="hidden";
  display = "none";
 }
 document.getElementById(nomdiv).style.visibility= style;
 document.getElementById(nomdiv).style.display = display; 
 //this.choix_groupe.elements[nomdiv]
}

function gestion_affichage(id, mode) {
  var element;
  var element_lien;  
  //alert(id + '->' + mode);
  tableau_id = id.split('|');  
  for(i=0; i < tableau_id.length; i++) {  
	  element = document.getElementById(tableau_id[i]);
	  element_lien = document.getElementById("lien_" + tableau_id[i]); 
	  if(mode == 'montrer') {  
		  element.style.display = 'block';
		  /*element_lien.className="";*/
	  }
	  if(mode == 'cacher') {  
		  element.style.display = 'none';
		  /*element_lien.className="";*/
	  }  
  }
}

function change_date_cross_selling_prestation_jour(sdate,requete) {
    url_envoi = 'index.php?dateRechercheDispoPrestationJour=' + sdate + '&' + requete;
	document.location.href =  url_envoi;
}

//-->

