
function galeria(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width=650,height=450,scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><meta http-equiv="imagetoolbar" content="no"><title>'+alt+'</title><body rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()"><table border=0 width=100% height=100%><tr><td align=center valign=middle class=bok2>'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<a href=javascript:close();><img border=0 height="'+imageHeight+'" width="'+imageWidth+'" src=\"'+imageName+'\"></a><br>&nbsp;<br>'+alt); 	}
	newWindow.document.write('</td></tr></table></body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function galeria2(inname) {
	maxiView = window.open('iv.asp?'+inname, "okienko", "width=600, height=600, toolbar=no, menubar=no, location=no, personalbar=no, status=no, resizable=no, scrollbars=no, copyhistory=no");
		maxiView.focus();
}
var ready01 = false;
var nextFrame01 = 0;
var ready02 = false;
var nextFrame02 = 0;
function fl01_DoFSCommand(command, args) {
	args=unescape(args);
	if (command=='nextFrame') {
		ready01=true;
		nextFrame01=args;
		document.fl01.SetVariable("_root.in_text", "ready frame " + nextFrame01);
		if (ready01&&ready02) {startNextSecne();};
	}
	else if (command == 'popup') {
		maxiView = window.open('iv.asp?'+args, "okienko", "width=600, height=600, toolbar=no, menubar=no, location=no, personalbar=no, status=no, resizable=no, scrollbars=no, copyhistory=no");
		maxiView.focus();
	}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft")!=-1 && navigator.userAgent.indexOf("Windows")!=-1) {
	document.writeln('<script language=VBScript\>');
	document.writeln('on error resume next');
	document.writeln('sub fl01_FSCommand(ByVal command, ByVal args)');
	document.writeln('call fl01_DoFSCommand(command, args)');
	document.writeln('end sub');
	document.write('</script\> \n');
};
function fl02_DoFSCommand(command, args) {
	args=unescape(args);
	if (command=='nextFrame') {
		ready02=true;
		nextFrame02=args;
		document.fl02.SetVariable("_root.in_text", "ready frame " + nextFrame02);
		if (ready01&&ready02) {startNextSecne();};
	}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft")!=-1 && navigator.userAgent.indexOf("Windows")!=-1) {
	document.writeln('<script language=VBScript\>');
	document.writeln('on error resume next');
	document.writeln('sub fl02_FSCommand(ByVal command, ByVal args)');
	document.writeln('call fl02_DoFSCommand(command, args)');
	document.writeln('end sub');
	document.write('</script\> \n');
};
function startNextSecne() {
	
	document.fl01.GotoFrame(nextFrame01);
	document.fl02.GotoFrame(nextFrame02);
	
}

function scena_DoFSCommand(command, args) {
args=unescape(args);
//var fl01Obj = document.getElementById('fl01');
if (command=='nextFrame') {
ready01=true;
nextFrame01=args;
document.scena.SetVariable("_root.in_text", "ready frame " + nextFrame01);
if (ready01&&ready02) {startNextSecne();};
}
else if (command == 'popup') {
maxiView = window.open('iv.asp?'+args, "okienko", "width=600, height=600, toolbar=no, menubar=no, location=no, personalbar=no, status=no, resizable=no, scrollbars=no, copyhistory=no");
maxiView.focus();
}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft")!=-1 && navigator.userAgent.indexOf("Windows")!=-1) {
document.writeln('<script language=VBScript\>');
document.writeln('on error resume next');
document.writeln('sub scena_FSCommand(ByVal command, ByVal args)');
document.writeln('call scena_DoFSCommand(command, args)');
document.writeln('end sub');
document.write('</script\> \n');
};
