<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(document).ready(function() { 
    var isShowedDialod = false;
    $(document).mouseout(function(e) {
        if (e.pageY - $(window).scrollTop()&lt;5 &amp;&amp; !isShowedDialod &amp;&amp; !isMobile.any()){
            $( "#dialog-message" ).dialog({
                width: 540,
                height: 200,
                modal: true,
                create: function (event, ui) {$(event.target).parent().css('position', 'fixed');},
            });
            isShowedDialod = true;
            createCookie('giftemail', '1', 1);
        }
    });
    $("#dialog-button").click(function(){
        email = $.trim($('#dialog-email').val()); 
        if (email.length &lt;= 5){
            $('#dialog-email').addClass('dialog-error');
        }
        else{
            $("#dialog-result").html('');
            $('#dialog-email').removeClass('dialog-error');
            $("#dialog-buttons").hide();
            $("#dialog-loading").show();
            $.post("./_ajax.php", 
            {func:'gift', email:email}, 
            function(data){
                $("#dialog-loading").hide();
                $("#dialog-result").show();
                $("#dialog-result").html(data);
            });
        }
    });
});</pre></body></html>