// ***** Rollover ********************************************************************************
function roll(img_name,img_src) {
	document[img_name].src = img_src;
}
// ***********************************************************************************************

// ***** Pop Up Window ***************************************************************************
function popUp(URL,name,w,h,withMenuAndScroll) {
	var featureStr = "";
	if (withMenuAndScroll == "withMenuAndScroll") {
		featureStr = "width=" + w + ",height=" + h + ",directories=no,location=no,menubar=yes,resizable=yes,scrollbars=yes,status=no,toolbar=no"
	} else if (withMenuAndScroll == "scrollOnly" ){
		featureStr = "width=" + w + ",height=" + h + ",directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no"
	} else {
		featureStr = "width=" + w + ",height=" + h + ",directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no"
	}
	var newWin = window.open(URL,name,featureStr);
	newWin.focus();
}
// ***********************************************************************************************


// ***** Navigate using Properties drop-down *****************************************************
function dropGo(whichField) {
	var whereTo = eval("document.forms." + whichField + ".options[document.forms." + whichField + ".selectedIndex].value");
	if(whereTo != "NULL" && whereTo != "" && whereTo != null) {
		window.location.href = whereTo;
	}
}
// ***********************************************************************************************

// ***** Navigate using Properties drop-down *****************************************************
function dropGoNewWin(whichField) {
	var whereTo = eval("document.forms." + whichField + ".options[document.forms." + whichField + ".selectedIndex].value");
	if(whereTo != "NULL" && whereTo != "" && whereTo != null) {
		var newWin = window.open(whereTo);
	}
}
// ***********************************************************************************************

