adImages = new Array(
                'cronobanner.jpg', 
                'surptradbanner.gif', 
								'http://www.bidpay.com/Banners3/banner4.gif',
                'paypal.gif',
                'canabanner.jpg', 
                'dd_lg_banner.gif',
                'pplbanner.gif' 
                )


adURL = new Array(


                'http://www.cronomagic.com', 
                'http://www.73.com', 
								'http://www.bidpay.com',
                'http://www.paypal.com',
                'http://www.canasoft.net', 
                'http://www.desktopdollars.com/default.asp?id=aspencer1', 
                'http://www.prepaidlegal.com/go/partners' 
                )


        thisAd = 0
        imgCt = adImages.length


var timeDelay = 1; // change delay time in seconds



        function rotate() {
                if (document.images) {
                                thisAd++
                                if (thisAd == imgCt) {
                                        thisAd = 0
                                }
                                document.adBanner.src=adImages[thisAd]
                        setTimeout("rotate()", 5 * 1000)
                }
        }
        
        function newLocation() {
                document.location.href = adURL[thisAd]
        }

if (document.images) {            // Active Images
        img1on = new Image();      
        img1on.src = "home2.gif"; 
        img2on = new Image(); 
        img2on.src = "advertise2.gif";  
        img3on = new Image();      
        img3on.src = "orders2.gif"; 
        img4on = new Image(); 
        img4on.src = "contact2.gif";  
        img5on = new Image(); 
        img5on.src = "auctionorders2.gif";  
        
        img1off = new Image(); 
        img1off.src = "home1.gif"; 
        img2off = new Image();          
        img2off.src = "advertise1.gif"; 
        img3off = new Image(); 
        img3off.src = "orders1.gif"; 
        img4off = new Image();          
        img4off.src = "contact1.gif"; 
        img5off = new Image();          
        img5off.src = "auctionorders1.gif"; 
}

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}


function init(){
        rotate()
}

