
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
   version = "no";
   if (browserName == "Netscape" && browserVer >= 3) version = "ok";
   if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "ok";

	if (version == "ok") {
	  button_on = new Image();
	  button_on.src = "/img/pikto/point_red.gif";
	  button_off = new Image();
	  button_off.src = "/img/pikto/point.gif";
	}


function select(nazwa,mod) {

	if (version == "ok") {
	    this_img = eval("button_"+mod+".src");
	    document[nazwa].src=this_img;
	}


}

nn4=(document.layers) ? true : false; 
ie4=(document.all) ? true : false; 
okno=null; 


function okienko(w,h,nazwa,scroll) {
	if (okno) { 
 	  if (ie4) okno.close(); 
 	  else if (nn4) okno.closed; 
 	  okno=null 
 	}; 
	  okno=window.open(nazwa,'okno',"status=no,menubar=no,scrollbars="+scroll+",resizable=no, width="+w+", height="+h+", top=50,left=100");
	}
