// JavaScript Document

var newWindow
function emailWindow()
{
   		if (!newWindow || newWindow.closed) {

			var URL = unescape(location.href)	// get current URL in plain ASCII

				var xstart = URL.lastIndexOf("/") + 1

				var xend = URL.length

				var hereName = URL.substring(xstart,xend)

				var herePath = URL.substring(0,xstart)

			//newWindow = window.open("https://www.northernmicro.com/en/gov/email.asp?SURL=https://www.northernmicro.com/en/gov/pc/order12_a.asp","","status,height=300,width=280")
			newWindow = window.open("https://www.northernmicro.com/en/gov/email.asp?SURL=" + herePath + hereName,"","status,height=300,width=280")
			if (!newWindow.opener) {
				newWindow.opener = window
			}
		}

		else {
			// window's already open; bring to front
			newWindow.focus()
		}

}