
function SubmitShortReview() 
{
	var maxwords = 10;
	var wordcount = document.fReview.review.value.split(" ");
	var reviewField = document.fReview.review;
	var unameField = document.fReview.username;
	var pwordField = document.fReview.password;
	
	if (unameField != null && typeof(unameField) != "undefined")
	{
		if (unameField.value.length == 0 || pwordField.value.length == 0)
		{
		alert("Please enter your fourm username and password");
		return false;
		}
	}
		
	if (wordcount.length > maxwords)
	{
		alert("Please restrain your input to 10 or less words");
		return false;
	}
	
	else if (reviewField.value.length == 0)
	{
		alert("Please enter your short review");
		return false;
	}
	
	else
	{
		document.fReview.submit();
		//alert('Success!');
	}
}


function SelectMenu_Jump(obj)
{
  if (obj.selectedIndex)
    window.location=obj.options[obj.selectedIndex].value
}
