// JavaScript Document
function Rollover(value, ssmenu, visibility){
	var monUl = document.getElementById('menu');
	monUl.style.background = "transparent url(../img/nav-financites.gif) 0 "+value+"px no-repeat";
	if(ssmenu!=""){
				document.getElementById(ssmenu).style.visibility= visibility;
			
	}
}

function twAller(_url,_cadre,_target) {
	if(_url=="nosite"){
		alert("site bientôt en ligne");
		return false;
	}else if(_url=="no"){
		return false;
	}
	
	if (_cadre) {
		parent._cadre.location.href = _url;
	} else if (_target) {
		_target = window.open(_url,_target);
	} else {
		window.location.href = _url;
	}	
}

function popUp(strURL,strType,strHeight,strWidth)
{
	var strOptions="";
	if (strType=="console") strOptions="scrollbars,resizable,height="+strHeight+",width="+strWidth;
	if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
	if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
	window.open(strURL, '_blank', strOptions);
}