<!--//
function reviewvalid(reviewform) 
{
var submit_accepted = false;
var chk_val = true;
    if (submit_accepted)  // prevents NN4 resubmission
        return(false);
var AllowedChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_01234567890"
var AllowedNumbers = "0123456789"
var foundchecked = false;
var i;
/*
	for (i = 0; i < document.reviewform.rValue2.length; i++) 
	{
		if (document.reviewform.rValue2[i].checked) 
		{
			foundchecked = true;
		}
	}
	if (!(foundchecked)) 
	{
		alert("Please select your Ratings.");
		return false;
	}			
*/
if(document.reviewform.rValue2.value == "0")
		{  alert("Please Select your Ratings for this website.")
			document.reviewform.rValue2.focus()
			return false
		}
		
if(document.reviewform.rvr.value == "0" || document.reviewform.rvr.value == "")
{
	alert("Only members are allowed to review");
	return false;
}

// Start checking Title
if(document.reviewform.revtitle.value == "")
		{  alert("Please Enter your Review Title.")
			document.reviewform.revtitle.focus()
			return false
		}

// end checking title

// Start checking desc
if(document.reviewform.reviewdesc.value == "")
		{  alert("Please Enter your Review.")
			document.reviewform.reviewdesc.focus()
			return false
		}

// end checking desc

if (chk_val)
    reviewform.p_js_on.value = 1;
    submit_accepted = chk_val;
	return (chk_val);
}
	
function countLetter(thisform)
{
  var charcount = 0;
  var charcount = thisform.reviewdesc.value.length;
  thisform.char_count.value = charcount;
}

// STOP HIDING FROM OTHER BROWSERS -->
