mm:ss'));
        setInterval(function() {
            $('.lockscreen-time').text((new Date()).format('hh:mm:ss'));
        }, 500);
        init();
        animate();
    });

    $(document).keydown(function(event) {
   	    if (event.keyCode == 13) {
   	    	unlock();
   	    }
   	});
     
    function unlock() {
        var username = $("input[name='username']").val();
        var password = $("input[name='password']").val();
        if ($.common.isEmpty(password)) {
        	$.modal.msg("请输入�