	function init() {
	  if (TransMenu.isSupported()) {
			TransMenu.initialize();
menu1.onactivate = function() { document.getElementById("home").className = "hover"; };
menu1.ondeactivate = function() { document.getElementById("home").className = ""; };
menu2.onactivate = function() { document.getElementById("fonctionnalites").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("fonctionnalites").className = ""; };
menu3.onactivate = function() { document.getElementById("news").className = "hover"; };
menu3.ondeactivate = function() { document.getElementById("news").className = ""; };
menu4.onactivate = function() { document.getElementById("download").className = "hover"; };
menu4.ondeactivate = function() { document.getElementById("download").className = ""; };
menu5.onactivate = function() { document.getElementById("affiliates").className = "hover"; };
menu5.ondeactivate = function() { document.getElementById("affiliates").className = ""; };
menu6.onactivate = function() { document.getElementById("search").className = "hover"; };
menu6.ondeactivate = function() { document.getElementById("search").className = ""; };
	 	}
  }
  function goToName(name)
{	
	var url = location.href;
	var i = url.indexOf("#");
	if (i > 0)
	{
		url = url.substring(0,i);
	}
	location.href = url + "#" + name;
}

function ChangeUrl(formulaire)
{
	location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
}

function popup(url,h,w)
{
	newwindow=window.open(url,'thevphone.com','height='+h+',width='+w+'status=no,toolbar=no,menubar=no,location=no, scrollbars=yes');
	if (window.focus) {newwindow.focus()}
	return false;
}

