// Minstrel JavaScript Document
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=480,left = 320,top = 272');");
}
// End -->

function onAmountKey(evt) {
  evt = (evt) ? evt : event;
  var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode : ((evt.which) ? evt.which : 0));
  if ((charCode > 31) && (charCode < 48 || charCode > 57) && (charCode != 36) && (charCode != 46) && charCode != 116) {
    alert("Enter only numerals in this field");
    return false;
  }
  	if(navigator.appName=="Netscape"){theKey=evt.which}
	if(navigator.appName.indexOf("Microsoft")!=-1){theKey=window.event.keyCode}
	if(theKey==13){
		return onCalculateBill();
  return true
}
}