licz=0;
function otworz(nazwa,szer,wys) {
szerx = szer+17;
config='left=100,top=100,width='+szerx+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes';
kitekSC='okno' + licz;
stadion=window.open('',kitekSC,config)
var otworzZW='';
otworzZW+='<html><head>';
otworzZW+='<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">';
otworzZW+='<title>Powiększenie</title>';
otworzZW+='<script language="javascript">';
otworzZW+='setTimeout(';
otworzZW+='"self.close()';
otworzZW+=';",70000)';
otworzZW+='</';
otworzZW+='script>';
otworzZW+='</head>';
otworzZW+='<body style="margin: 0px; padding; 0px;">';
otworzZW+='<div align="center"><a href="#" onclick="javascript:self.close();"><img src="'+nazwa+'" border="0" alt=""></a></div>';
otworzZW+='</body></html>';
stadion.document.write(otworzZW);
stadion.focus();
licz+=1;
}

function chmurka(e,v,img){
topa="asd";
  if(topa){
    var t=document.createElement("div");
    t.className="chmurka";
    t.innerHTML='<img src="images/'+img+'" alt="">';
    topa="";
    v.move=function(e){
      e=e||event;
      t.style.left=e.clientX+document.body.scrollLeft+-20+"px";
      t.style.top=e.clientY+25+document.body.scrollTop+"px";
    }
    v.move(e);
    document.body.appendChild(t);
    v.onmousemove=function(e){v.move(e); }
    v.onmouseout=function(e){
      s=t.innerHTML;
      document.body.removeChild(t);

    }
  }
}
