  browserName = navigator.appName;   // detect browser
  browserVer = parseInt(navigator.appVersion);
  platform = navigator.platform;   // detect bs
  var nsVersion;
  var mouseX, mouseY;

  if (browserName == "Netscape" && browserVer < 5) {
      ns=1; ie=0;mz=0;
  }
  if ((browserName != "Microsoft Internet Explorer") && (browserVer >= 5)){
      ns=0; ie=0; mz=1;
  }
  if (browserName == "Microsoft Internet Explorer") {
      ns=0; ie=1; mz=0;
  }
//----------------------------------------------------------------------------
// pump up browser width
 function setBrowserWidth (width) {
		if (width > screen.availWidth) return;  // if no place, then there is no place

		if (ie || mz) curWidth = document.body.offsetWidth;  // get current width
		else curWidth = window.innerWidth;

		if (curWidth >= width) return; // if current browser window, is bright enough, goodbye
		// ok, make bigger window
		if (ie || mz) window.resizeTo(width, document.body.offsetHeight);
			else	{  // ns 4
				window.outerWidth = screen.availWidth;
			}
	}
//----------------------------------------------------------------------------
// rollover for all
  function rollover(pic_name, file_name) {
    if (ns) {   // netscape 4.x proprietary style
      document[pic_name].src = file_name;
    }
    else {  // mozilla or other dom compatible
      document.getElementsByName(pic_name)[0].src = file_name;
    }
  }
//----------------------------------------------------------------------------
// opens new Window
function openWindow(pageurl,w,h)
{
    large = window.open (pageurl,"international",
               String("width="+w+",height="+h+",scrollbars=no,locationbar=no"));
}

