function ValidateNumber(e, object) 
			{
				var code;
				if (!e) { var e = window.event; }
				if (e.keyCode)
				{
					if ((e.keyCode < 58) || ( (e.keyCode > 94) && (e.keyCode < 106) ) )  {
						
					} else {
						object.value = object.value.substring(0, (object.value.length - 1));
					}
				}
				else if (e.which)
				{
					if ((e.which < 58) || ( (e.which > 94) && (e.which < 106) ) )  {
						
					} else {
						object.value = object.value.substring(0, (object.value.length - 1));
					}
				}
			}
			function DisableInput(e)
			{
				if (e.keyCode) { e.keyCode = 0; }
			}
			function ClearForm()
			{
				var formobject = document.warmwavecalculator;
				formobject.roomwidth.value = "1000";
				formobject.roomdepth.value = "1000";
				formobject.roomtype.options[0].selected = true;
				formobject.totalwattage.value = "75";
			}
			function CalculateWattage()
			{
				var formobject = document.warmwavecalculator;
				var roomwidth = formobject.roomwidth.value;
				var roomdepth = formobject.roomdepth.value;
				var roomtype = formobject.roomtype.value;
				var totalwattage = Math.round((((roomwidth / 100) * (roomdepth / 100)) * roomtype) / 100);
				formobject.totalwattage.value = totalwattage;
			}