I was wondering if someone could please look at this for me and try to explain what I am doing wrong? When I pull up the error console it tells me there are at least 2 mistakes which are:
Uncaught SyntaxError: Unexpected token else sureGrade.js:46
Uncaught ReferenceError: check_grade is not defined gradesPage.html:15.
Any help would be greatly appreciated. Thank You.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script>
function check_grade()
{
	 var percent = document.gradeForm.percent.value;
	 var percent = parseFloat(percent);
	 var absences = document.gradeForm.absences.value;
	 var absences = parseInt(absences);
	
	If (absences >= 5) 
		{
			document.gradeForm.comments.value = "You have an F because of excessive absentees";
		}
	  Else If (percent >= 90 || percent <= 100 && absences <= 2)
		{
			document.gradeForm.comments.value = "You have gained 3% to your percent for having few absences. + \n"
			"Your Grade: A, Your Percent: + percent * 0.3";
		}
	 Else If (percent >= 90 || percent <= 100)
			document.gradeForm.comments.value = "Your Grade: A, Your Percent: + percent";
	Else If (percent <= 89.9 || percent  >= 80)
		{
			document.gradeForm.comments.value = "Your Grade: B, Your percent: + percent";
		}
	Else If  (percent <= 89.9 || percent >= 80 && absences <= 2)
		{
			document.gradeForm.comments.value = "You have gained 3% to your percent for having few absences. + \n"
			"Your Grade: B, Your Percent: + percent * 0.3";
		}
	Else If (percent <= 79.9 || percent >= 70)
		{
			document.gradeForm.comments.value = "Your Grade: C, Your Percent: + percent";
		}
	Else If (percent <= 79.9 || percent >= 70 && absences <= 2)
		{
			document.gradeForm.comments.value = "You have gained 3% to your percent for having few absences. + \n"
			"Your Grade: C, Your Percent: + percent * 0.3";
		{
	Else If (percent <= 69.9 || percent >= 60)
		{
			document.gradeForm.comments.value = "Your Grade: D, Your Percent: + percent";
		}
	Else If (percent <= 69.9 || percent >= 60 && absences <= 2)
		{
			document.gradeForm.comments.value = "You have gained 3% to your percent for having few absences. + \n"
			"Your Grade: D, Your Percent: + percent * 0.3";
		}
	Else 
		{
			document.gradeForm.comments.value = "I am sorry you have fail this semester. + \n"
			"Your Grade: F, Your Percent: + percent";
		}
		}
</script>
</head>

<body>		
<form name="gradeForm" action="#">
   <label for="absences">How many absences do you have?: </label><br />
   <input type="text" name="absences" /><br />
   <label for="percent">What is your grade percent? </label><br />
   <input type="text" name="percent" /><br />
   <textarea name = "comments" readonly = "true" value = "comments" rows = "5" cols = "20"></textarea>
   <input type="button" value="check_grade" onclick="check_grade()" /><br />
</form>
</body>
</html>