
<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		index2_03_over = newImage("images/index2_03-over.gif");
		index2_03_index2_06_over = newImage("images/index2_03-index2_06_over.gif");
		index2_05_over = newImage("images/index2_05-over.gif");
		index2_06_over = newImage("images/index2_06-over.gif");
		index2_07_over = newImage("images/index2_07-over.gif");
		index2_08_over = newImage("images/index2_08-over.gif");
		preloadFlag = true;
	}
}




function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	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('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	//newWindow.document.close();
	//newWindow.focus();
}

function galeria(adres) 
{
  var width=160;
  var height=120;
  var Win=window.open("","Image", 'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no');

  Win.document.write('<html><HEAD><TITLE>Image</TITLE><style>body{ margin-left: 0px;margin-right: 0px; margin-top: 0px;margin-bottom: 0px; }</style><link rel="stylesheet" href="style.css" type="text/css"></HEAD>');
  Win.document.write('<body bgcolor="#FFFFFF">');
  Win.document.write('<table width=100% height=100% cellpadding=0 cellspacing=0><tr><td align=center><a href="javascript:close();"><img name="obrazek" border="0" src='+adres+' onload="javascript:window.resizeTo(obrazek.width+30,obrazek.height+70);" class=border></a></td></tr></table>');
  Win.document.write('<body></html>');
  	 Win.document.close();
	 Win.focus();
}