﻿var hraWindow = '';
	
function InitPopup(url, features) {
	//checks to see if the popup is already open, if so, close
	if (!hraWindow.closed && hraWindow.location) {
		hraWindow.close();
	}

	hraWindow = window.open(url,'mypopup',features);
	if (!hraWindow.opener) hraWindow.opener = self;
	if (hraWindow.closed) alert("It appears the page you requested is being blocked by pop-up blocking software.\nPlease disable any pop-up blockers to view the page.");

	hraWindow.focus();

	return false;
}

