var menuOver = false;
var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1);
var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
function mouseover(div){
	div.className = "sous_menu_over"
	menuOver = true;
}

function mouseout(div){
	div.className = "sous_menu"
	menuOver = false;
}

function showSousMenu(id){
	document.getElementById('sous_menu' + id).className = 'bande_menu';
	document.getElementById('menu' + id).className = 'menu_hover';
}

function checkOver(id){
	setTimeout("checkIfOver(" + id + ")",150);
}

function checkIfOver(id){
	if(!menuOver){
		document.getElementById('sous_menu'+id).className = 'hid';
		document.getElementById('menu' + id).className = 'mn'+id;
	}
}

function checkField(){
	
}

function changePage(id){
    document.location.href="index.php?id="+id;
}

function toggleOO(div,div2){
    if ($(div).css('display') == 'none'){
        $(div).css({'display':'inline'})
        if (div2 != "")
            $(div2).css({'display':'none'})
    }else{
        $(div).css({'display':'none'})
    }
}
