

$().ready(function(){
	$("#loginFormusername").focus(function() {
		if ($(this)[0].value == "Username")
		{
			$(this)[0].value = "";
		}
	});
	
	$("#loginFormusername").focusout(function() {
		if ($(this)[0].value == "")
		{
			$(this)[0].value = "Username";
		}
	});
	
	$("#loginFormpassword").focus(function() {
		if ($(this)[0].value == "Password")
		{
			$(this)[0].value = "";
		}
	});
	
	$("#loginFormpassword").focusout(function() {
		if ($(this)[0].value == "")
		{
			$(this)[0].value = "Password";
		}
	});
});

function memberlogout(){
	if (confirm("Confirm Logout?"))
	{
		$.post("action_member.php",{
			actionflag: "logout"
		}, function(txt){
			location.href = 'home.php';
		});
	}
}

$(function() {
	$("#divcontentbg").height($("#divcontent").height()+70);
	$("#over").height($("#divcontent").height()+70);
});

function callmenu(id)
{
	$(".event-content").slideUp("fast"),
	$("#"+id).fadeIn("fast");
}
