// JavaScript Document
<!--

sweter="";
opcje="toolbar=0,location=0,direction=0,status=0,menubar=0,scrollbars=0,width=480,height=360";
function zoom_swf(galeria,nrr,opisf) {
  		sW=screen.availWidth-20;
		sH=screen.availHeight-20;
        oknoW=480;
        oknoH=360;

		if (sweter.closed == false)
{sweter.close(); sweter=window.open('','sweter',opcje);} else
{sweter=window.open('','sweter',opcje);}
sweter.focus();

sweter.moveTo  (sW/2 - oknoW/2, sH/2 - oknoH/2);
sweter.focus();
sweter.document.write ('<html>');
sweter.document.write ('<head>');
sweter.document.write ('<title>--- new music art ------</title>');
sweter.document.write ('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');
sweter.document.write ('</head><body bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF" text="#FFFFFF">'); 

sweter.document.write (''); 
sweter.document.write (''); 
sweter.document.write ('<table cellpadding="0" cellspacing="0" align="center" height="100%" width="100%">');
sweter.document.write ('<tr><td>');
sweter.document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="480" height="360">');
sweter.document.write ('<param name="movie" value="powieksz.swf?plik='+galeria+'&nr='+nrr+'">');
sweter.document.write ('<param name="quality" value="high">');
sweter.document.write ('<embed src="powieksz.swf?plik='+galeria+'&nr='+nrr+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="360">');
sweter.document.write ('</embed></object>');
sweter.document.write ('</td></tr></table>');
sweter.document.write ('');
sweter.document.write ('');

}
function strefa_zamknieta(plik) {
window.open(plik,'sweter',"toolbar=0,location=0,direction=0,status=0,menubar=0,scrollbars=0,width=480,height=480")
}

function ShowImg(file, width, height)
{
	if(is.ie)
	{
		var left = (window.screen.availWidth / 2) - (width / 2);
		var top = window.screen.availHeight / 2 - (height / 2);
	}
	else
	{
		var left = '0';
		var top = '0';
	}
	var windowW = width;
	var windowH = height;
	
	if(is.nav)
	{
		windowW += 5;
		windowH += 5;
	}
	
	var win = window.open('', null, "toolbar=no,width=" + windowW + ",height=" + windowH + ",status=no,resizable=no,titlebar=no,left=" + left + ",top=" + top); 
	win.document.write("<html><head><title>Podgląd zdjęcia</title></head>");
	win.document.write("<body style='margin:0px;padding:0px;'><a href='javascript:window.self.close();'><img src='" + file + "' width='" + width + "' heigth='" + height + "' border='0' /></a></body></html>");	
}

function setBrowser() // detekcja przegladarki
{
	this.ver = navigator.appVersion;
	this.dom = document.getElementById ? 1 : 0;
	this.ie4 = (document.all && !this.dom) ? 1 : 0;
	this.ie5 = (this.ver.indexOf("MSIE 5") > -1 && this.dom) ? 1 : 0;
	this.ie55 = (this.ver.indexOf("MSIE 5.5") > -1 && this.dom) ? 1 : 0;
	this.ie6 = (this.ver.indexOf("MSIE 6") > -1 && this.dom) ? 1 : 0;
	this.nav4 = (document.layers) ? 1 : 0;
	this.nav6 = (this.dom && parseInt(this.ver) >= 5) ? 1 : 0;
	this.ie = (this.ie4 || this.ie5 || this.ie6);
	this.nav = (this.nav4 || this.nav6);
	return this;
}
var is = new setBrowser(); // inicjalizuje wersje przegladarki


//-->
