/*function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password. Access Requires Permission,            Contact STi at (301)770-7077.',' ');
while (testV < 3) {
if (!pass1) 
history.go(-1);
if (pass1.toLowerCase() == "campus") {
alert('You are authorized to view the STi Conference Live !');
window.open("live.htm", "STiWindow", "width=1000,height=650,resizable=1,scrollbars=1,status=1,toolbar=1,menubar=1");

break;
} 
testV+=1;
var pass1 = 
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3) 
history.go(-1);
return " ";
} */
function check()
{
	var chk= document.frm.pwd.value;
	if(chk == "")
	{
		alert("Provide Password");
		return false;
	}
	else if(chk != "campus")
	{
		alert("Incorrect Password");
		return false;
	}
	else if(chk == "campus")
	{
		document.location ="sti-live-conference.aspx";
	}
}

function check1()
{
	var chk1= document.frm1.pwd1.value;
	if(chk1 == "")
	{
		alert("Provide Password");
		return false;
	}
	else if(chk1 != "campus")
	{
		alert("Incorrect Password");
		return false;
	}
	else if(chk1 == "campus")
	{
		document.location ="sti-live-test.aspx";
	}
}
function check2()
{
	var chk2= document.frm2.pwd2.value;
	if(chk2 == "")
	{
		alert("Provide Password");
		return false;
	}
	else if(chk2 != "campus")
	{
		alert("Incorrect Password");
		return false;
	}
	else if(chk2 == "campus")
	{
		document.location ="sti-live-norconf.aspx";
	}
}
function check3()
{
	var chk3= document.frm3.pwd3.value;
	if(chk3 == "")
	{
		alert("Provide Password");
		return false;
	}
	else if(chk3 != "campus")
	{
		alert("Incorrect Password");
		return false;
	}
	else if(chk3 == "campus")
	{
		document.location ="sti-live-noroffic.aspx";
	}
}


