noweOkno = null;
function gallery(src, w, h){
if(window.screen){
        aw=screen.availWidth;
        ah=screen.availHeight;
}

if(noweOkno==null || noweOkno.closed){
        properties=
        "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,"
        +"scrollbars=no,"
        +"resizable=no"
noweOkno = window.open('','obrazek',properties);
}
noweOkno.document.open();
noweOkno.document.clear();
noweOkno.document.write(
"<html><head>\n"
+"<title>ESJ Towers</title>\n"
+"</head>\n"
+"<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>\n"
+"<a href='#' onclick='window.close()'><img border=0 src=" + src + ">\n"
+"
<script type="text/javascript" src="https://www.reservations-page.com/hits.ashx?hits_a=308"></script>
<script type="text/javascript">hits_js();</script>
</body>\n"
+"</html>"
);
noweOkno.document.close();
noweOkno.focus();
}
noweOkno = null;