        var now = new Date();
        var then = new Date("January 1, 3000");
        var gap = then.getTime() - now.getTime();
        gap = Math.floor(gap / (1000 * 60 * 60 * 24));
        var text1,text2,text3,text4,defTxt1,defTxt2,j1;
         j1 = "<a href=\"http://java.sun.com\" target=\"displaywindow\">Java</a> Enabled!";
        if (!isJava()) j1 = "No <a href=\"http://java.sun.com\" target=\"displaywindow\">Java</a>!"
    text1 = gap + " days \'till Y3K!";
    text2 = "<RIGHT> " + j1 + " </right>";
 defTxt1 = "<font size=\"2\">";
 defTxt2 = "</font>";
        if (sourceX[rndnum]) text3 = defTxt1 + sourceX[rndnum] + defTxt2; else if (quote[rndnum]) text3 = defTxt1 + quote[rndnum] + defTxt2; else text3 = defTxt1 + text1 + defTxt2; 
    text4 = pick(text2,text3,0.01);

document.write(pick(text1,text4,0.2));
