

<!--

function POPUP(obraz)
{
var imgwidth=6;
var imgheight=6;

var posnamx=['west','centre','east','*'];
var posnamy=['sky','horizon','floor','*'];

var px=0;
var py=0;
var IEjustierenW=0;
var IEjustierenH=0;

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;

document.writeln('<div id="branding" align="center" style="position:absolute; visibility:show; left: 50%; margin-left:-230px; top:220px; z-index:2; height: 0px;">');
document.writeln('<table width=10 height="0"><tr valign=top><td>');
document.writeln('<A HREF="index.php?strona=informacje&id_inf=7" TARGET="_self">');
document.writeln('<IMG SRC="'+ obraz +'" border=0 WIDTH=495 HEIGHT=326 ALT=""></A>');
document.writeln('</td>');
document.writeln('<td><input type=button onClick="schowaj()" value=" x "></td></tr></table></div>');

IEjustierenW=3;
IEjustierenH=3;
}


function schowaj() {
document.getElementById('branding').style.visibility="hidden";
//document.all["branding"].style.visibility="hidden";
};

function pos(x,y)
{
var px=0;
var py=0;
var IEjustierenW=0;
var IEjustierenH=0;

 if (x==3) x=(px+1)%3;
if (y==3) y=(py+1)%2;
if (x==0) {imgwidth='6'}
else if (x==1) {imgwidth='Math.round((eval(innerW)-374)/2)'}
else {imgwidth='(eval(innerW)-407)+3*IEjustierenW'}
if (y==0) {imgheight='6'}
else if (y==1) {imgheight='(eval(innerH)-278)+3*IEjustierenH'}
else {imgheight='Math.round((eval(innerH)-266)/2)'};
px=x;
py=y;
}

document.write ('<IMG SRC="" BORDER=0 WIDTH=1 HEIGHT=1 onload="setVariables(); checkLocation();">');

setTimeout ("schowaj()", 8000);

var i=0;
var radius=0;
function setVariables() {


if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
docStyle="document.";
styleDoc="";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
docStyle="";
styleDoc=".style";
innerW="document.body.clientWidth";
innerH="document.body.clientHeight";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
}
}

function checkLocation() {

objectXY="branding";
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
var imgheight;
var imgwidth;
/*y=(eval(imgheight)-IEjustierenH)+currentY-eval(docStyle + objectXY + styleDoc + vert);
x=(eval(imgwidth)-IEjustierenW)+currentX-eval(docStyle + objectXY + styleDoc + horz);
if (y>1) y=(y+9)/10;
if (y<-1) y=(y-9)/10;
if (x>1) x=(x+9)/10;
if (x<-1) x=(x-9)/10;*/
//document.1.1.value=window.x;
/*x=x;
y=y;*/

setTimeout("checkLocation()",1);
}
function evalMove() {
eval(docStyle + objectXY + styleDoc + horz + "+=" + x);
eval(docStyle + objectXY + styleDoc + vert + "+=" + y);
}
setVariables();
checkLocation();
pos(2,3);

//-->
