Nav =(navigator.appName=="Netscape") ? "NN" : "IE"
Vers = parseInt(navigator.appVersion)
N4 = ((Nav=="NN")&&(Vers==4))
isNS = (Nav=="NN")
function ReloadPage(init) { // reloads the window if NN>=4 resized
	if((isNS)&&(Vers>=4))
		if (init) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=ReloadPage; }
		else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
ReloadPage(true);

function pop(u,t) {
	switch(t) {
		case 1: return window.open(u,"","scrollbars=yes,resizable=yes,width=10,height=10,left=20,top=20")
		case 2: return window.open(u,"","scrollbars=yes,resizable=no,width=10,height=11,left=20,top=20")
		case 3: return window.open(u,"pop","scrollbars=yes,resizable=no,width=10,height=10,left=20,top=20")
		case 4: return window.open(u,"pop","scrollbars=yes,resizable=yes,width=10,height=10,left=20,top=20")
		case 5: return window.open(u,"","width=10,height=10,left=20,top=20,scrollbars=no")
	}
	
	/*
	
	
	switch(t) {
		case 1: return window.open(u,"","scrollbars=yes,resizable=yes,width=410,height=300,left=20,top=20")
		case 2: return window.open(u,"","scrollbars=yes,resizable=no,width=600,height=401,left=20,top=20")
		case 3: return window.open(u,"pop","scrollbars=yes,resizable=no,width=410,height=560,left=20,top=20")
		case 4: return window.open(u,"pop","scrollbars=yes,resizable=yes,width=760,height=560,left=20,top=20")
		case 5: return window.open(u,"","width=490,height=220,left=20,top=20,scrollbars=no")
	}*/
	return window.open(u)
}
function printfile(a,f) {
	pop(topmenu+"elt/print.php?url="+f+"&a="+a,2)
}
function dwnfile(a,f) {
	pop(topmenu+"elt/dwn.php?url="+f+"&a="+a,5)
}
function dwnscript(a,f) {
	location.replace(topmenu+"elt/dwnscript.php?dwn="+f+"&a="+a)
}
function sendfile(a,f,m) {
	pop(topmenu+"elt/send.php?f="+f+"&a="+a+"&m="+m+"&ref="+document.location.href,5)
}
function space(f) {
	pop(topmenu+"elt/space.php?redac="+f,3)
}
function ident() {
	if(location.href.indexOf("/en/")>0)
		pop(topmenu+"elt/log_en.php",1)
	else pop(topmenu+"elt/log.php",1)
}