<!--
<!---Logins-->

var FirstTime
function keyPressed(evt) {
	
   if(event.keyCode==17)
		{
		FirstTime = 'yes'
		}
//if(event.keyCode==88 && FirstTime=='yes')
//	{

//var w;
//w=screen.width-10;

//var h;
//h=screen.height-172;

//if(location.href.substring(0,21)=="http://192.168.10.184")
//	{
//	var page = "https://192.168.10.184/LI/choices.asp";
//	}
//else
//	{
//	var page = "https://www.nhoem.state.nh.us/LI/choices.asp";
//	}
//windowprops = "width=" + w + ",height=" + h + ",location=yes, left=0,top=0"
//+ ",scrollbars=yes,menubar=yes,toolbar,resizable=yes"
//+ ",status=yes,maximize";

//window.open(page, "_blank", windowprops);
//}

if(event.keyCode==90 && FirstTime=='yes')
		{

var w;
w=screen.width-10;

var h;
h=screen.height-172;

var page = "https://owa.hsem.nh.gov/exchange";
windowprops = "width=" + w + ",height=" + h + ",location=yes, left=0,top=0"
+ ",scrollbars=yes,menubar=yes,toolbar,resizable=yes"
+ ",status=yes,maximise=yes";

window.open(page, "Popup", windowprops);
}

if(event.keyCode==69 && FirstTime=='yes')
		{

var w;
w=screen.width-10;

var h;
h=screen.height-172;

var page = "https://nheoc.nh.gov/eoc7";
windowprops = "width=" + w + ",height=" + h + ",location=yes, left=0,top=0"
+ ",scrollbars=yes,menubar=yes,toolbar,resizable=yes"
+ ",status=yes,maximise=yes";

window.open(page, "Popup", windowprops);
}
}
<!--End Login-->

<!--Maximized Popup-->
function NewMaxWindow(mypage, myname, scroll) {

var w;
w=screen.width-10;

var h;
h=screen.height-172;

winprops = "width=" + w + ",height=" + h + ",location=yes, left=0,top=0"
+ ",scrollbars=yes,menubar=yes,toolbar,resizable=yes"
+ ",status=yes,maximise=yes";

win = window.open(mypage, "_blank", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
<!--End Maximized Popup-->

<!--Middle Screen Popup-->
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'

win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
<!--End Middle Screen Popup-->

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// Set the message for the alert box

am = "This function is disabled!";

// do not edit below this line
// ===========================

bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

function clear() {
   window.status="";
}
function display(stuff) {
   window.status = stuff;
   /* Clear the display after 15 seconds, more or less
      1000 equals one second, you can change to suit yourself */
   setTimeout("clear()",15000);
}

//-->

