// on vérifie qu'une page interne est bien chargée dans la page principale
if (window == window.top) {
	// on recharge la page dans la frame
	var l_paths = window.location.href.split('/');
	var l_fileName = l_paths[l_paths.length - 1];
	if (l_fileName.substring(0, 1) == '_') {
		// page interne -> on réaffiche la page principale
		top.location.href = 'site.htm?url=' + l_fileName;
	}
}

function contentLoaded(a_item) {
	parent.menuHaut.selectItem(a_item);
	parent.document.title = 'Daï & Monika Choï - Photographes professionnels - ' + a_item;
}

var message="";
function clickIE() {
	if (document.all) {
		(message);return false;
	}
}

function clickNS(e) {
	if(document.layers ||(document.getElementById&&!document.all)) {
		if (e.which==2||e.which==3) {
		 	(message);return false;
		}
	}
}
if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS;
} else {
	document.onmouseup=clickNS;
	document.ondoubleclick=clickNS;
	document.oncontextmenu=clickIE;
}
document.oncontextmenu=new Function("return false")

