popupWin = null;
function openPopUp(urlPop, properties, title)
{
	NFW = window.open("", 'PopUp' , properties)     
    NFW.blur()
    window.focus()       
    var frameString=""+
					"<html>"+
					"<head>"+
					"<title>"+title+"</title>"+
					"</head>"+
					"<body topmargin='0' leftmargin='0' rightmargin='0' marginwidth='0' marginheight='0' framespacing='0'>"+
					"<div onclick='javascript:window.close();'><img src='"+urlPop+"' border='0'></div>"+
					"</body></html>"
    NFW.document.open();
    NFW.document.write(frameString)
    NFW.document.close()
    NFW.focus()

}

function WindowPopUp(fname, properties)
	{
		if( popupWin && !popupWin.closed )
		{
			popupWin.focus();
		}
		else
		{
			popupWin = window.open(fname, 'PopUp', properties);
		}
	}

function dl(txt) {
   return confirm(txt);
}

function rowOverEffect(object) {
	OClass = Object.className;
	Object.className = 'MouseOver';
}

function rowOutEffect(object) {
  	Object.className = OClass;
}

function FocusMsg(targ, msg) {
	targ.value = msg;
	return true;
}

function BlurMsg(targ, msg) {
	if (targ.value == '') targ.value = msg;
	return true;
}

if (document.images) {

	var nav_blank = new Image();
	nav_blank.src = "images/nav_blnk_arrow.gif";
	var nav_active = new Image();
	nav_active.src = "images/nav_act_arrow.gif";
}

function hot(img) {
	document[img].src = nav_active.src;
}

function cold(img) {
	document[img].src = nav_blank.src;
}
