<!--//
    window.document.writeln("<img src='' width='0' height='0' name='adSens'>");
    var counter=1;
    var loc=window.location.href;
    var Mac;
    function makeCookie(name,value,days)
    {
        if (days)
        {
            var date = new Date();
            date.setTime(date.getTime()+(days*24*60*60*1000));
            var expires = "; expires="+date.toGMTString();
        }
        else var expires = "";
        document.cookie = name + "=" + value + expires + "; path=/";
    }
    function readCookie(name)
    {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for(var i=0;i < ca.length;i++)
        {
            var c = ca[i];
            while (c.charAt(0)==' ') c = c.substring(1,c.length);
            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
        }
        return null;
    }
    function eraseCookie(name)
    {
        createCookie(name,"",-1);
    }
    function rotate()
    {
        cookieValue = readCookie("adMacAddr");
        saveURL=window.location.href;
        saveIndex=saveURL.indexOf("adSEN=");
        if (counter<=5)
        {
            if ((cookieValue!=null) || (saveIndex>=1))
            {
                if ((saveIndex>=1) && (counter==1))
                {
                    Mac=window.location.href.split("adMac=")[1];
                    makeCookie("adMacAddr",Mac,1);
                    Mac=Mac.split("-")[0];
                }
                else
                {
                    cookieValue = readCookie("adMacAddr");
                    if(cookieValue!=null)
                        Mac=cookieValue.split("-")[0];
                }
                counter++;
                var cookieEnabled=(navigator.cookieEnabled)? true : false
                //if not IE4+ nor NS6+
                if (typeof navigator.cookieEnabled=="undefined" &&
!cookieEnabled)
                {
                    document.cookie="testcookie";

cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false
                }
                if (cookieEnabled)
                {
                    cookie_enable=1;
                }
                else
                {
                    cookie_enable=0;
                }
                if (counter<=2)
                {

window.document.adSens.src=("http://www.clicksentinel.com/cm/accept.php?adMac=" + Mac + "&counter=" + counter + "&adRes=" + screen.width + "x" + screen.height + "&java_ena=1&five_sec=2&cookie_ena=" + cookie_enable + "&curURL=" + window.location.href );
                    setTimeout("rotate();",5*1000);
                }
                if (counter==3)
                {

window.document.adSens.src=("http://www.clicksentinel.com/cm/accept.php?adMac=" + Mac + "&counter=" + counter + "&adRes=" + screen.width + "x" + screen.height + "&java_ena=1&five_sec=1&cookie_ena=" + cookie_enable + "&curURL=" + window.location.href );
                    setTimeout("rotate();",30*1000);
                }
                if (counter>3)
                {

window.document.adSens.src=("http://www.clicksentinel.com/cm/accept.php?adMac=" + Mac + "&counter=" + counter + "&adRes=" + screen.width + "x" + screen.height + "&java_ena=1&cookie_ena=" + cookie_enable + "&curURL=" + window.location.href );
                    setTimeout("rotate();",30*1000);
                }
            }
        }
    }
    rotate();
//-->