var i = 1;

banner1= new Image();

banner1.src = "art/work/3programbk_cvr.jpg";

banner2 = new Image();

banner2.src = "art/work/3programbk_1.jpg";

banner3 = new Image();

banner3.src = "art/work/3programbk_2.jpg";

banner4 = new Image();

banner4.src = "art/work/3programbk_3.jpg";

banner5 = new Image();

banner5.src = "art/work/3programbk_4.jpg";

banner6 = new Image();

banner6.src = "art/work/3programbk_5.jpg";

banner7 = new Image();

banner7.src = "art/work/3programbk_6.jpg";

banner8 = new Image();

banner8.src = "art/work/3programbk_7.jpg";




links = new Array

links[1] = "3programbkcvr_big.html"

links[2] = "3programbk1_big.html"

links[3] = "3programbk2_big.html"

links[4] = "3programbk3_big.html"

links[5] = "3programbk4_big.html"

links[6] = "3programbk5_big.html"

links[7] = "3programbk6_big.html"

links[8] = "3programbk7_big.html"



description = new Array

description[1] = "3rd Annual Latin Grammy Awards Program Book Cover"

description[2] = "3rd Annual Latin Grammy Awards Program Book"

description[3] = "3rd Annual Latin Grammy Awards Program Book"

description[4] = "3rd Annual Latin Grammy Awards Program Book"

description[5] = "3rd Annual Latin Grammy Awards Program Book"

description[6] = "3rd Annual Latin Grammy Awards Program Book"

description[7] = "3rd Annual Latin Grammy Awards Program Book"

description[8] = "3rd Annual Latin Grammy Awards Program Book"

description[9] = "3rd Annual Latin Grammy Awards Program Book"






function startTime(){



        var time= new Date();

        hours= time.getHours();

        mins= time.getMinutes();

        secs= time.getSeconds();

        closeTime=hours*3600+mins*60+secs;

        closeTime+=2;	// How many seconds til the next rotation

        Timer();



}



function Timer(){

        var time= new Date();

        hours= time.getHours();

        mins= time.getMinutes();

        secs= time.getSeconds();

        curTime=hours*3600+mins*60+secs

        if (curTime>=closeTime){

		if (i < 8){	// The number 8 is the amount of banners that you have

			i++;

			document.banner.src = eval("banner" + i + ".src");

		}

		else{

			i = 1;

			document.banner.src = eval("banner" + i + ".src");

		}

		startTime();

	}

        else{

                window.setTimeout("Timer()",1000)}



}



function clickLink(){

	top.location = links[i]

}



function descript(){

	window.status = description[i]

}



// -->
