$(document).ready(function() {
    if ($.cookie("hash") != null)
    {
        $(".ifAutoLogin").attr("checked","checked");
    }
    else
    {
        $(".ifAutoLogin").removeAttr("checked");
    }
});

