<!-- Script Begin
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=yes,menubar=no,status=yes, toolbar=no' );
}
function checkDecimals(fieldName, fieldValue, i) {
	decimals = 0;
	if ( (isNaN(fieldValue)) || (parseInt(fieldValue) <=0) ) {
		alert("That does not appear to be a valid positive number. \n Please try again.");
		document.FORM1.elements[i+1].focus();
		return (false);
	}else{
		timeshundred = parseFloat(fieldValue * Math.pow(10, decimals));
		integervalue = parseInt(parseFloat(fieldValue) * Math.pow(10, decimals));
		if (timeshundred != integervalue)	{
			alert ("Please enter a quantity with no decimal places.");
			document.FORM1.elements[i+1].focus();
    		return (false);
		}else{
			return true;
		}
	}
}

//  Script End -->
