//-----
// This script is provided by Actie Consulting LLC
//-----

var hasOpenPopup = 0;
// this is for opening pop-up windows
function openPopup( url, name, widgets, openerUrl )
{

	var host = location.hostname;

	if (window == top) { window.top.name = "opener"; }
	var popupWin = window.open( url, name, widgets );
	if(popupWin) {hasOpenPopup = 1;}
	if ( popupWin && popupWin.opener ) {
		if ( openerUrl )
		{
			popupWin.opener.location = openerUrl;
		}
	}
	if ( popupWin) {
		popupWin.focus();
	}
}
// Function directs the browser to go to 
function goTo( url ) {
	window.location.href = url;
}


