function login(){
	var password = $("#password").val();
	if(password == ''){
		$("#warning").html('<strong class="error">Please enter a password. If you havne\'t been provided a passoword, please <a href="/other/general-contact">contact us</a> for one.</strong>');
	}
	else{
		$.get("/video/login.php?password="+password, function(result){
			if(result == 0){
				$("#warning").html('<strong class="error">Incorrect Password! If you have forgotten your password, please <a href="/other/general-contact">contact us</a> for a new one.</strong>');
			}
			else if (result == 1){
				$("#activeUserDiv").html("Login Successful");
				setTimeout("window.location.reload()",1000);
			}
		});
	}
	return false;
}