function calculateRoomSize()
{	
	var width = document.getElementById("roomwidth").value;
	var length = document.getElementById("roomlength").value;
	
	if ( parseInt(width) > 0 && parseInt(length) > 0 )
	{
		document.getElementById("roomsize").innerHTML = width * length;
	}
	else
	{
		alert("You must enter positive numbers for the room width and length.");
	}
}

