// JavaScript Document

  function windowOpen(varpag,width,height) {
      myWindow = window.open("","windowRef","width=" + width + ",height=" + height+",top=0,left=0,screenX=0,screenY=0");
      myWindow.location.href = varpag;
  	  myWindow.focus();
      if (!myWindow.opener) myWindow.opener = self;
  }

  function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
	}
	
	function MM_jumpMenu(targ,selObj,restore){ //v3.0
  	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  	if (restore) selObj.selectedIndex=0;
	}

	function NewWindow(mypage, myname, w, h, scrollbars) {
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scrollbars+',resizable=no'
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}