Jquerydemo

 Blinking JS

timer = setInterval(function() {
debugger;
caCookie();
}, 10000);

function blink(el) {
            //debugger;
            if (!el) {
                el = this
            }
            $(el).animate({ opacity: 0.5 }, 1000, function() {
                $(this).animate({ opacity: 1 }, 1000, blink);
            });           
            return;
        }

function UBlnk() {
            //debugger;
            timer = 0;
            document.cookie = "BlinkC=n";
            document.cookie = "MyChatCookie=0";
            $("#divIm").css({ opacity: 1 });           
            jQuery('#divIm').stop().animate({ opacity: 1 }, 300); //Stops blink
            clearInterval(timer);
            clearTimeout(timer);           
            return false;
        }