// --------------------------------------------------------
// Use to highlight the row for the left-side menu
// --------------------------------------------------------
function doMenuOn( obj ) {
	obj.bgColor = "#dddddd";
	obj.style.cursor = "hand";
}

// --------------------------------------------------------
// Returns the row to it's previous color
// --------------------------------------------------------
function doMenuOff( obj ) {
	obj.bgColor = "#ececec";
}

// --------------------------------------------------------
// Used to select the search mode
// --------------------------------------------------------
function doSearch( mode ) {
	var frm = document.forms['frmSearch'];

	frm.operation.value = mode;
	frm.submit();
}