﻿	function validate()
	{
			text1 = document.form2.text1.value;
			text1 = text1.toString().toLowerCase();
			text2 = document.form2.text2.value;
			text2 = text2.toString().toLowerCase();
			//alert(text1 + "  " + text2)
			if (text1 =="butler" && text2 =="in228")
			  	load('DB/index.htm');
			  else if (text1 =="butler" && text2 =="in2023")
			  	load('WP1/index.html');
	 		  else if (text1 =="butler" && text2 =="webcourse")
			  	load('http://webcourses.butlercc.edu');		
			 else
			 	alert("You did not enter the correct id/password. Contact your instructor "); 
	}

	function load(url)
	{
		location.href=url;
	}


