

/* INCLUDE AS:  <script type="text/javascript" src="/ghs.js"> </script>    ********************/

//*********************************************************************************************
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


//*********************************************************************************************
function Setfocus(dff) {
	dff.focus();
	return;
}


//*********************************************************************************************
/*function AddToList(){
	opener.document.ItemForm.txtRoomID.value = frmRooms.lstRooms.value + "";
	opener.document.ItemForm.txtRoomName.value = frmRooms.lstRooms.options[frmRooms.lstRooms.selectedIndex].text + "";
	window.close();
}
*/

//*********************************************************************************************
function validDate(inDate) {
	if (inDate.length !=10) {
		return false
	}
	return true
}

//*********************************************************************************************

function ConfirmDelete()
{
var agree=confirm("Are you sure you want to delete these records?");
if (agree)
	return true ;
else
	return false ;
}


//*********************************************************************************************
function printPage() {
if (window.print)
window.print()
else
alert("Sorry! Your browser does not support this print feature!");
}
//*********************************************************************************************


//*********************************************************************************************


//*********************************************************************************************


//*********************************************************************************************

