function affiche(id) {
   if (document.getElementById) {
	document.getElementById(id).style.visibility="visible";
   } 
   else if (document.all) {
	document.all[id].style.visibility="visible";
   } 
   else if (document.layers) {
	document.layers[id].visibility="visible";
   } 
}
	
function efface(id) {
   if (document.getElementById) {
	document.getElementById(id).style.visibility="hidden";
   } 
   else if (document.all) {
	document.all[id].style.visibility="hidden";
   } 
   else if (document.layers) {
	document.layers[id].visibility="hidden";
   }  
}

function AjoutFavo() { 
   if ((navigator.appName.indexOf("Microsoft",0)>=0) && (parseInt(navigator.appVersion)>=4)) { 
	window.external.AddFavorite("http://www.gregcorp.fr","Les sites de Chrys, Greg, Quentin & Tristan" ); 
   } else 
   { 
	alert("Cette fonction n'est proposée que par Internet Explorer 4+")
   } 
}

function AfficheHomePage()
   {
   if (document.all && document.getElementById)
   {
	document.write('<A HREF="#" onClick="HomePage(this);return(false)"></A>');
   }
}

function HomePage(obj)
   {
   obj.style.behavior='url(#default#homepage)';
   obj.setHomePage('http://www.gregcorp.fr');
}
 
function ouvre2Pages(page1, page2) {
   parent.nomCadre1.location.href = page1;
   parent.nomCadre2.location.href = page2; 
} 

