var i = 1;

banner1= new Image();

banner1.src = "art/work/grammypro1.jpg";

banner2 = new Image();

banner2.src = "art/work/grammypro2.jpg";

banner3 = new Image();

banner3.src = "art/work/grammypro3.jpg";

banner4 = new Image();

banner4.src = "art/work/grammypro4.jpg";

banner5 = new Image();

banner5.src = "art/work/grammypro5.jpg";



links = new Array

links[1] = "grammypro1_big.html"

links[2] = "grammypro2_big.html"

links[3] = "grammypro3_big.html"

links[4] = "grammypro4_big.html"

links[5] = "grammypro5_big.html"




description = new Array

description[1] = "2000 Grammy Pro Magazine Cover"

description[2] = "2000 Grammy Pro Magazine Spread"

description[3] = "2000 Grammy Pro Magazine Spread"

description[4] = "2000 Grammy Pro Magazine Cover"

description[5] = "2000 Grammy Pro Magazine Spread"






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 < 5){	// The number 5 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]

}



// -->
