
<!-- zaladownie obrazków -->
<!-- Begin
var image1 = new Image();
var image2 = new Image();
var image3 = new Image();
var image4 = new Image();
var image5 = new Image();
var image6 = new Image();
var image7 = new Image();
var image8 = new Image();

image1.src = "images/za_start.gif"
image2.src = "images/za_ulubione.gif"
image3.src = "images/za_napisz.gif"
image4.src = "images/vol_01.jpg"
image5.src = "images/vol_02.jpg"
image6.src = "images/vol_03.jpg"
image7.src = "images/vol_04.jpg"
image8.src = "images/vol_05.jpg"

var los=0;
var on=true;
var id=0;
var i=0;

function pokaz(){
if (on == true) {
id = setInterval("losuj()",Math.random()*200 +50);
}
else if (on == false ) {
window.clearInterval(id);
}
}
function losuj(){
i++;
los=Math.round(Math.random()*4+1);
document.zar.src='images/vol_0'+los+".jpg";
}

function wlacz(){
on = !on;
}



<!--
var newwindow;
var wheight = 0, wwidth = 0;
function popimg(url, title, iwidth, iheight, colour, msg) {
var pwidth, pheight;

if ( !newwindow || newwindow.closed ) {
pwidth=iwidth+30;
pheight=iheight+30;
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=1,top=50,left=10');
wheight=iheight;
wwidth=iwidth;
}

if (wheight!=iheight || wwidth!=iwidth ) {
pwidth=iwidth+30;
pheight=iheight+60;
newwindow.resizeTo(pwidth, pheight);
wheight=iheight;
wwidth=iwidth;
}

newwindow.document.clear();
newwindow.focus();
newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body bgcolor= \"' + colour + '\" style=\"font-family: Verdana;FONT-SIZE: 9px;FONT-WEIGHT: normal;COLOR: #242C37;\"> <center>');
newwindow.document.writeln('<a title="Kliknij aby zamkn±æ!" href="javascript:window.close();"><img src=' + url + ' border=\"0\"></a><br /><br />' + msg + '<br /><br />');
newwindow.document.writeln('<\/center> <\/body> <\/html>');
newwindow.document.close();
newwindow.focus();
}

// Routines to tidy up popup windows when page is left
// Call with an onUnload="tidy5()" in body tag

function tidy5() {
if (newwindow && !newwindow.closed) { newwindow.close(); }
}
//-->
