function CheckSubject(SubjectValue,OtherSubjectValue,OtherSubjectPos)
{
	if(OtherSubjectValue==SubjectValue)   
	 {	
		document.getElementById(OtherSubjectPos).style.visibility = "visible";
		document.frmregister.SubjectOther.focus();
		
	 }
	 else
	 {
		 document.getElementById(OtherSubjectPos).style.visibility = "hidden";
	 }
}

function CheckGrade(GradeValue,OtherGradeValue,OtherGradePos,OtherSubjectPos)
{
	
	 
	 if(GradeValue==OtherGradeValue)   
	 {	
		document.getElementById(OtherGradePos).style.visibility = "visible";
		document.frmregister.GradeOther.focus();
	 }
	 else
	 {
		 document.getElementById(OtherGradePos).style.visibility = "hidden";
	 }
}
