	$(document).ready(function(){
//$.post("ajax_notebookContent.php?parseInt(Math.random() * 1000","",function(date){alert(date);});
//$.post("ajax_login.php?parseInt(Math.random() * 1000",{ajax_username: "aaaa"},function(date){alert(date);});

		$(".huachu").hide();
		$("li").mouseover(function(){
			$(this).find("table:first").addClass("mouseover");
			$(this).find("div").show();			
		});
		
		$("li").mouseout(function(){
			$(this).find("table").removeClass("mouseover");
			$(this).find("div").hide();			
		});
		
		$("table:odd").addClass("odd"); 
		
		$("#plist > h2").click(function(){
			//alert("ddd");
			$(this).next("ul").slideToggle("slow");
		
		});
	
	});
	
	
	function login(){
		//$(".content:not(login)").fadeTo("slow",0.2); 
		//$(".content").fadeTo("slow",0.2);
		$(".login").fadeIn("slow");
		setTimeout("$('.login').hide();", 100000);
		
	}

	function closelogin(){
		$(".login").fadeOut("slow");
		//$(".content").fadeTo("slow",1.0);	
	}
	
	function saveChanges() {
		var username = $("#loginform").find("#username").val();
		var password = $("#loginform").find("#password").val();
		$.get("ajax_login2.php?parseInt(Math.random() * 1000",{ajax_username: username},function(date){$('.msg').html(date);});
				

	}
