// JavaScript Document
function movetorub(rub) {
	window.document.anim.movetorub(rub);
}
function ajaxRub(rub) {
	cacheTout();
	montre(rub);
}
function montre(id)
{
		var element_style=null
		if (document.getElementById)
		{element_style=document.getElementById(id).style;}
		else if (document.all)
		{element_style=document.all[id].style;} 
		if(element_style)  {element_style.display="block";}
}
function cache(id)
{
		var element_style=null
		if (document.getElementById)
		{element_style=document.getElementById(id).style;}
		else if (document.all)
		{element_style=document.all[id].style;} 
		if(element_style)  {element_style.display="none";}
}
function cacheTout()
{
	var LesRub = new Array("HO","GS","BC","FO","RP","CT","CO");
	for (rub in LesRub){cache(LesRub[rub]);} 
}
function inithome()
{
	var rub="HO";
	ajaxRub(rub);
}
