// JavaScript Document
var trigger=null;//declare var as global for all functions
//declare trigger null cuz to tell to not do anything until we tell him his function
function triggerHideDiv(divid,divid2,delay)
{
	trigger=setTimeout("hideDiv('"+divid+"')",delay);//set the time out of 3 secondes to call the method to hide the block
	trigger=setTimeout("hideDiv('"+divid2+"')",delay);//set the time out of 3 secondes to call the method to hide the block
}
function stopTrigger()
{
	clearTimeout(trigger);
}
function showDiv(divid,divid2)
{
	document.getElementById(divid).style.visibility="visible";
	document.getElementById(divid2).style.visibility="visible";
}

function hideDiv(divid,divid2)
{
	document.getElementById(divid).style.visibility="hidden";
	document.getElementById(divid2).style.visibility="hidden";
}
