<!--
okno = null; 

function wopen(page) {
	if(window.screen){aw=screen.availWidth; ah=screen.availHeight;}else{aw=640;ah=480;}
	w=640;h=384;
    ustawienia=
     "left=" + (aw-w)/2 + ","
    +"top=" + (ah-h)/2 + ","
    +"screenX=" + (aw-w)/2 + ","
    +"screenY=" + (ah-h)/2 + ","
    +"width=" + w + ","
    +"height=" + h + ","
    +"innerWidth=" + w + ","
    +"innerHeight=" + h + ","
    +"toolbar=no,"
    +"location=no,"
    +"directories=no,"
    +"status=no,"
    +"menubar=no,"
	+"personalbar=no,"
    +"scrollbars=no,"
    +"resizable=no";
	
	if(okno==null || okno.closed){
		okno = window.open(page,'',ustawienia);
		okno.focus();
	}else{
		str=okno.document.location.pathname;
		if(str.indexOf(page)==-1){okno.document.location.href=page;}
		okno.focus();
	}
}
//-->