// JavaScript Document

/******************************************************************************/
/* Emule l'tat :hover sur les lments non <a> dans les browser non standard */
/* dans ce cas si les <li>  l'intrieur du #menuPrincipal                    */
/******************************************************************************/
sfHover = function() {
	var sfEls = document.getElementById("menu").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);


function none(){}
$(document).ready(function(){
	
	$("#btmenuSpeaker").hover(function() { /*alert("i 8 ie6&7");*/	$("#dropmenuSpeaker").css("display", "block");});
	$("#overmenuSpeaker").hover(function(){},function(){$("#dropmenuSpeaker").css("display", "none");});	
	
	$("#btmenuParticipant").hover(function() { /*alert("i 8 ie6&7");*/	$("#dropmenuParticipant").css("display", "block");});
	$("#overmenuParticipant").hover(function(){},function(){$("#dropmenuParticipant").css("display", "none");});
	
	$("#btmenuProgram").hover(function() { /*alert("i 8 ie6&7");*/	$("#dropmenuProgram").css("display", "block");});
	$("#overmenuProgram").hover(function(){},function(){$("#dropmenuProgram").css("display", "none");});
					   
	//$(".drop > .clickdrop").click(function() {	$(this).parent(".drop").children(".dropforum").slideDown();});
	//$(".drop").hover(function(){},function(){$(this).children(".dropforum").slideUp();});
	$("#menuGauche a").click(function() {$(this).parent("li").parent("ul").children("li").children("ul").slideUp(); $(this).parent("li").children("ul").slideToggle(); });
});


