var browserName = navigator.appName;
	var browserVersion = parseInt(navigator.appVersion);

	var IE4 = ((browserName=="Microsoft Internet Explorer") && (browserVersion>=4));
	var NS4 = ((browserName=="Netscape") && (browserVersion>=4));
	var IE3 = ((browserName=="Microsoft Internet Explorer") && (browserVersion<4));
	var NS3 = ((browserName=="Netscape") && (browserVersion<4));	

	loaded = false;	

 if (navigator.userAgent && navigator.userAgent.indexOf("MSIE") >=0 && (navigator.userAgent.indexOf("Windows 9") >=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
  document.write('<SCRIPT LANGUAGE=VBScript\> \n');
  document.write('on error resume next \n');
  document.write('Sub pasek_FSCommand(ByVal command, ByVal args)\n');
  document.write('  call pasek_DoFSCommand(command, args)\n');
  document.write('end sub\n');
  document.write('</SCRIPT\> \n');
  }

function okienko(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no, menubar=no' );
		Win.resizeTo(width, height);
		Win.focus();
  
};
function okienko2(url, width, height) {
        width1=width/2;
		height1=height/2;
		x=screen.availWidth/2-width1;
		y=screen.availHeight/2-height1;
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=1, menubar=no, left='+x+', top='+y );
		Win.resizeTo(width, height);
		Win.focus();
  
};

if (NS4) {
function zmien(skad,gdzie)
{
if(navigator.userAgent.substring(0,11) != "Mozilla/2.0")
{
	skad = eval(skad + ".src");
	document [gdzie].src = skad;
}
}
};

function change(img1,img2)
{
	if (img2.complete){
		img1.src = img2.src;
		return true;
	}
};


