// mamy tu 3 funkcje otwierajace okno
//1 ktora ma na stale ustawione wymiary okna
//2 ktora ma wymiary dynamiczne
//3 ktora jest do wyswietlania obrazkow jako tlo dzikei temu nie ma marginesow po bokach.
function newWindow(bookgif)         {
        Window = window.open(bookgif, "bookWin", "width=527,height=750");

                                }



function displayWindow(url, width, height)         {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height +  'resizable=1,scrollbars=no,menubar=no' );
                                                }




function select_url(x){location = x}

//-->

<!--
noweOkno = null;
function galeria(src, w, h, scrol){
if(window.screen){
 aw=screen.availWidth;
 ah=screen.availHeight;
}
else{
 aw=1024;
 ah=768;
}
if(noweOkno==null || noweOkno.closed){
 ustawienia=
 "left=" + 0 + ","
 +"top=" + 0 + ","
 +"screenX=" + aw + ","
 +"screenY=" + ah + ","
 +"width=" + w + ","
 +"height=" + h + ","
 +"innerWidth=" + w + ","
 +"innerHeight=" + h + ","
 +"toolbar=no,"
 +"location=no,"
 +"directories=no,"
 +"status=no,"
 +"menubar=no,"
 +"scrollbars=" + scrol + ","
 +"resizable=yes"
 noweOkno = window.open("",'obrazek',ustawienia);
}
noweOkno.document.open();
noweOkno.document.clear();
noweOkno.document.write(
"<html><head>\n"
+"<style><!--\n"
+"body{color: #000000;\n"
+"font-family:Arial, Helvetica, sans-serif;\n"
+"background: #ffffff;\n"
+"margin-left: 0px;\n"
+"margin-top: 0px;\n"
+"margin-right: 0px;\n"
+"scrollbar-3d-light-color : red;\n"
+"scrollbar-arrow-color : #ffffff;\n"
+"scrollbar-base-color : #000000;\n"
+"scrollbar-face-color : #4669BA;\n"
+"scrollbar-highlight-color : #4669BA;\n"
+"scrollbar-shadow-color : #000000;}\n"
+"--></style>\n"
+"</head>\n"
+"<body><img src=" + src + "></body>\n"
+"</html>"
);
noweOkno.document.close();
noweOkno.focus();
}



function komentarz(src, w, h){
if(window.screen){
 aw=screen.availWidth;
 ah=screen.availHeight;
}
else{
 aw=1024;
 ah=768;
}
if(noweOkno==null || noweOkno.closed){
 ustawienia=
 "left=" + 0 + ","
 +"top=" + 0 + ","
 +"screenX=" + aw + ","
 +"screenY=" + ah + ","
 +"width=" + w + ","
 +"height=" + h + ","
 +"innerWidth=" + w + ","
 +"innerHeight=" + h + ","
 +"toolbar=no,"
 +"location=no,"
 +"directories=no,"
 +"status=no,"
 +"menubar=no,"
 +"scrollbars=yes,"
 +"resizable=no"
 noweOkno = window.open("",'obrazek',ustawienia);
}
noweOkno.document.open();
noweOkno.document.clear();
noweOkno.document.write(
"<html><head>\n"
+"<link href=style.css rel=stylesheet type=text/css>\n"
+"<script language=JavaScript src='open_window.js'></script>\n"
+"<meta http-equiv=Content-Type content=text/html; charset=iso-8859-2>\n"
+"</head>\n"
+"<body background= onclick=" + document.close + ">\n"
+"<table width=100%><tr><td class=dane align=center><font class=objasnienie>KOMENTARZ</font></td></tr>\n"
+"<tr><td class=dane><font>" + src + "</font></td></tr></table></body>\n"
+"</html>"
);
noweOkno.document.close();
noweOkno.focus();
}
//-->
