function AjaxBackGround(bool) {
    if (bool) {
		//$("#_yctable").hide();
		$("#AjaxBackGround").height(document.documentElement.clientHeight).css("top", document.documentElement.scrollTop).css("opacity", 0.5).show();
        $("#AjaxInfo").css("top", document.documentElement.scrollTop + document.documentElement.clientHeight * 0.3).css("opacity",1).show();
        $(window).scroll(function() {
            $("#AjaxInfo").stop().animate({ top: document.documentElement.scrollTop + document.documentElement.clientHeight * 0.3 }, 500);
            $("#AjaxBackGround").css("top", document.documentElement.scrollTop);
        });
        $(window).resize(function() {
            $("#AjaxBackGround").height(document.documentElement.clientHeight);
        });
		
    } else {
        $("#AjaxBackGround").hide();
        $("#AjaxInfo").hide();
		$("#_yctable").show();
        $(window).unbind("scroll").unbind("resize");
    }
	
}


function Login(callback) {
    AjaxBackGround(true);
    $("#AjaxInfoHead").text("Login");
	      
   // $("#AjaxInfoContent");//.html("").append($("#cat"+callback).html());
   	$("#AjaxInfoFootButton").unbind("click").bind("click", function() {
        document.getElementById("_formsearch").submit();
    });
}



function MM_j(obj)
{ 
	Login();
} 