 // Global Variables
        var b_Speed = 2000;
        var b_Num = 0;
        var bb_time;
        // script function
        function rotateBoard(preloadOnly)
        {
            
 		boards = new Array();
		boards[0] = new Image();
        boards[0].src = "images/BlackSwanRanch/001.jpg";
		boards[1] = new Image();  
        boards[1].src = "images/BlackSwanRanch/015.jpg"; 
		boards[2] = new Image();
        boards[2].src = "images/BlackSwanRanch/003.jpg"; 
		boards[3] = new Image();
        boards[3].src = "images/BlackSwanRanch/008.jpg"; 
		boards[4] = new Image();
        boards[4].src = "images/BlackSwanRanch/005.jpg";
		boards[5] = new Image();  
        boards[5].src = "images/BlackSwanRanch/020.jpg";
		boards[6] = new Image();
        boards[6].src = "images/BlackSwanRanch/007.jpg"; 
		boards[7] = new Image();
        boards[7].src = "images/BlackSwanRanch/018.jpg"; 
		boards[8] = new Image();
        boards[8].src = "images/BlackSwanRanch/009.jpg";
		boards[9] = new Image();  
        boards[9].src = "images/BlackSwanRanch/021.jpg"; 
		boards[10] = new Image();
        boards[10].src = "images/BlackSwanRanch/014.jpg"; 
		boards[11] = new Image();
        boards[11].src = "images/BlackSwanRanch/002.jpg"; 
		boards[12] = new Image();
        boards[12].src = "images/BlackSwanRanch/016.jpg";
		boards[13] = new Image();  
        boards[13].src = "images/BlackSwanRanch/017.jpg";
		boards[14] = new Image();
        boards[14].src = "images/BlackSwanRanch/004.jpg"; 
		boards[15] = new Image();
        boards[15].src = "images/BlackSwanRanch/019.jpg";
		boards[16] = new Image();  
        boards[16].src = "images/BlackSwanRanch/006.jpg"; 
		boards[17] = new Image();
        boards[17].src = "images/BlackSwanRanch/010.jpg"; 
		boards[18] = new Image();
        boards[18].src = "images/BlackSwanRanch/022.jpg"; 
		boards[19] = new Image();
        boards[19].src = "images/BlackSwanRanch/023.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);
