window.onerror=stoperror

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function stoperror(){
 return true
}

function voyages(id)
{
	window.open('http://www.voyages-voyage.com');
}

function hebergement(id)
{
	window.open('http://sivit.fr/index-fr.php?click=12144');
}
 
 
 
 function f_select(action)
{
 chemin = location.href;
 pos = chemin.lastIndexOf('/');
 chemin = chemin.substring(pos+1);
 pos = chemin.indexOf('?');
 if (pos != -1) chemin = chemin.substring(0, pos);
 if (navigator.userAgent.indexOf('MSIE') != -1 && chemin != 'voyages') // IE
 {
  if (action == 0) action = 'hidden'; else action = 'visible';
  calque = document.getElementsByTagName('select'); 
 }
}
// SPECIAL MENU
sfHover = function()
{
  var sfEls = document.getElementById("nav").getElementsByTagName("LI");
  for (var i=0;i<sfEls.length;i++)
  {
   sfEls[i].onmouseover = function()
   {
    this.className += " sfhover";
   }
   sfEls[i].onmouseout = function()
   {
    this.className = this.className.replace(new RegExp(" sfhover\\b"), "");
   }
  }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


