<!-- Hide code from older browsers

var sponsor = 1;  // global variable for current sponsor (Don't change this!)
var go = 1;       // tells the banner if to rotate


var max = 4;     // number of banners


var url1 = "http://www.jimrohn.com/default.asp?kbid=10281";
var url2 = "http://www.rayenelli.com";
var url3 = "http://www.success101.biz/ebookad.html";
var url4 = "http://www.couponfile.net/advertise.html";

var text1 = "Get Jim Rohn's FREE e=zine";
var text2 = "Designer Jewelry at Affordable Prices";
var text3 = "Get a FREE ebook";
var text4 = "Advertise for $9.95 a year.";


// function to link to appropriate sponsor
function GoSponsor()
   {
   location = eval("url" + sponsor);
   }

// function to rotate image
function rotate()
   {
   if (document.images)   // Only if the image object exists so no errors occur with IE 3.0
     {
     if (go)        // If cursor not on image
       {
       if (++sponsor > max) sponsor = 1;
       document.images['pic'].src = "http://www.success101.biz/banner" + sponsor + ".gif";
       window.setTimeout('rotate();',10000);
       }
     else          // If cursor on image, try to rotate later
       {
       window.setTimeout('rotate();',10000);
       }
     }
   }

// function to display text in the status bar about the current banner
function windowON()
    {
    window.status = eval('text' + sponsor);
    setTimeout("windowOFF()",10000);
    }

// function to clear the status bar message
function windowOFF()
    {
    window.status="";
    }
// End Hiding -->
