 // Global Variables
        var b_Speed = 4000;
        var b_Num = 0;
        var bb_time;
        // script function
        function rotateBoard(preloadOnly)
        {
            
 		boards = new Array();
		boards[0] = new Image();
        boards[0].src = "images/DeerCreek/001.jpg";
		boards[1] = new Image();  
        boards[1].src = "images/DeerCreek/002.jpg"; 
		boards[2] = new Image();
        boards[2].src = "images/DeerCreek/003.jpg"; 
		boards[3] = new Image();
        boards[3].src = "images/DeerCreek/004.jpg"; 
		boards[4] = new Image();
        boards[4].src = "images/DeerCreek/005.jpg";
		boards[5] = new Image();  
        boards[5].src = "images/DeerCreek/006.jpg";
		boards[6] = new Image();
        boards[6].src = "images/DeerCreek/007.jpg"; 
		boards[7] = new Image();
        boards[7].src = "images/DeerCreek/008.jpg"; 
		boards[8] = new Image();
        boards[8].src = "images/DeerCreek/009.jpg";
		boards[9] = new Image();  
        boards[9].src = "images/DeerCreek/010.jpg"; 
		boards[10] = new Image();
        boards[10].src = "images/DeerCreek/011.jpg"; 
		boards[11] = new Image();
        boards[11].src = "images/DeerCreek/012.jpg"; 
		boards[12] = new Image();
        boards[12].src = "images/DeerCreek/013.jpg"; 
  
	if (preloadOnly == false) {
	if (b_Num < (boards.length - 1) ) 

                  b_Num++;
            else
                  b_Num = 0;
            document.billboard.src = boards[b_Num].src;
            bb_time = setTimeout('rotateBoard(false)', b_Speed);
	}
	}
		
	function stopRotateBoard()
	{
	clearTimeout(bb_time);
	}
		
	function nextRotateBoard()
	{
	if (b_Num < (boards.length - 1) ) 

                  b_Num++;
            else
                  b_Num = 0;
            document.billboard.src = boards[b_Num].src;
	}
		
	function backRotateBoard()
	{
	if (b_Num == 0) 

                b_Num = (boards.length - 1);
           else
                b_Num--;
           document.billboard.src = boards[b_Num].src;
	}
	
 rotateBoard(false);
