<!--
dlg = null;
function afficherFenetreGestion(sLien) {
 features = 'toolbar=no,location=no,directories=no,status=yes,menubar=no,' + 'scrollbars=yes,resizable=yes,left=0,top=0,width=' + (screen.width - 12) + ',height=' + (screen.height - 55)
 if (window.top.gestion) {
	window.top.gestion.dlg = window.open (sLien,"afficherFenetre",features)
	window.top.gestion.dlg.focus();
 } else {
	window.dlg = window.open (sLien,"afficherFenetre",features)
	window.dlg.focus();
 }
} 

function fncMouseOver(objImg, sPrefixeImageGestion, overIn, bVisible) {
	var sVisible = "visible";
	var sAncien = "";
	
	sAncien = objImg.src.substring(0,objImg.src.lastIndexOf("/")+1);
	sAncien += sPrefixeImageGestion
	if (bVisible)
		sAncien += "visible";
	else
		sAncien += "non_visible";
	if (overIn)
		sAncien += "_on.gif";
	else
		sAncien += "_off.gif";
	objImg.src=sAncien;
}


function fermerFenetreGestion(tag, nomPage) {
	var sUrl = document.location.href;
	//if (window.top.contenu) {
		window.top.contenu.dlg.close();
		window.top.contenu.dlg = null;
	//} else {
	//	window.dlg.close();
	//	window.dlg = null;
	//}
	
	if (sUrl.indexOf("#")>=0) {
		sUrl = sUrl.substring(0,sUrl.indexOf("#"));
	}
	
	document.location.href = sUrl + "#" + nomPage + "_" + tag;
	document.location.reload();
}
function fermerFenetreGestion2() {
	window.top.gestion.dlg.close();
	window.top.gestion.dlg = null;
	document.location.reload();
}
function fermerFenetreGestion3(nosia) {
	var sUrl = "../../site/detail_maison.asp?nosia="+nosia;
	window.top.gestion.dlg.close();
	window.top.gestion.dlg = null;
	document.location.href = sUrl;
}

-->