function checkLoginFields() {
	if (document.inputForm.strLogin.value==""){
    		alert("Please enter a username");
			document.inputForm.strLogin.focus();
    		return; 
			}
  	else if (document.inputForm.strPassword.value==""){
    		alert("Please enter a password");
			document.inputForm.strPassword.focus();
    		return;
			}
  	else { 
			document.inputForm.submit();
	}
}

// netscape 4 broser resize bug fix
/* 
NS4 = document.layers;
	if (NS4) {
		origWidth = innerWidth;
		origHeight = innerHeight;
	}
	function reDo() {
	if (innerWidth != origWidth || innerHeight != origHeight) 
	location.reload();
	}
	if (NS4) onresize = reDo;
*/

function openEventLog(URL) {
popupWin=window.open(URL,'EventLog','scrollbars=yes,status=yes,toolbar=no,location=no,width=500,height=480')
}