// JavaScript Document

<!--
var childOpen = false;
var winpop = "";

function popup(strUrl){
//if child already open, close it before opening
if (childOpen == true)
	{
	//could also just focus it, if the document being loaded into the window is always the same
	//winpop.focus();
	winpop.close();
	winpop = window.open (strUrl,"win1","width=600,height=340,scrollbars=no,resizable=no,left=175,top=30");
	winpop.focus();
	childOpen = true;
	}
	else
	{
	winpop = window.open (strUrl,"win1","width=600,height=340,scrollbars=no,resizable=no,left=175,top=30");
	winpop.focus();
	childOpen = true;
	}
}

function closeChild()
//closes the child window if it's open when this page is unloaded
//calles by body tag onunload
{
	if (childOpen == true)
	{
	//set child's sensor, so it won't try to update the parent (as it will be closed by then)
	winpop.parentOpen = false;
	winpop.close();
	}
}

var origColor = "";
var origTextColor = "";

function linkMo(){
//change parent element background
origColor = window.event.srcElement.parentElement.style.backgroundColor;
origTextColor = window.event.srcElement.style.color;
window.event.srcElement.parentElement.style.backgroundColor = 'slateblue';
window.event.srcElement.style.color = '#ffffff';

}
function linkOut(){
//change parent element background
window.event.srcElement.parentElement.style.backgroundColor = origColor;
window.event.srcElement.style.color = origTextColor;
}
//-->
