        // Global Variables
        var b_Speed = 5000;
        var b_Num = 0;
        var bb_time;
       

        // script function
        function rotateBoard()
        {
            
 		boards = new Array();
		boards[0] = new Image();
        boards[0].src = "../images/HomePx/001.jpg";
		boards[1] = new Image();  
        boards[1].src = "../images/HomePx/002.jpg"; 
		boards[2] = new Image();
        boards[2].src = "../images/HomePx/003.jpg"; 
		boards[3] = new Image();
        boards[3].src = "../images/HomePx/004.jpg"; 
		boards[4] = new Image();
        boards[4].src = "../images/HomePx/005.jpg";
		boards[5] = new Image();  
        boards[5].src = "../images/HomePx/006.jpg";
		boards[6] = new Image();
        boards[6].src = "../images/HomePx/007.jpg"; 
		boards[7] = new Image();
        boards[7].src = "../images/HomePx/008.jpg"; 
		boards[8] = new Image();
        boards[8].src = "../images/HomePx/009.jpg";
		boards[9] = new Image();  
        boards[9].src = "../images/HomePx/010.jpg"; 
		boards[10] = new Image();
        boards[10].src = "../images/HomePx/011.jpg"; 
		boards[11] = new Image();
        boards[11].src = "../images/HomePx/012.jpg"; 
		boards[12] = new Image();
        boards[12].src = "../images/HomePx/013.jpg";
		boards[13] = new Image();  
        boards[13].src = "../images/HomePx/014.jpg"; 
		boards[14] = new Image();
        boards[14].src = "../images/HomePx/015.jpg";
		boards[15] = new Image();
        boards[15].src = "../images/HomePx/016.jpg"; 
		boards[16] = new Image();
        boards[16].src = "../images/HomePx/017.jpg"; 
		boards[17] = new Image();
        boards[17].src = "../images/HomePx/018.jpg"; 
		boards[18] = new Image();
        boards[18].src = "../images/HomePx/019.jpg";
		boards[19] = new Image();  
        boards[19].src = "../images/HomePx/020.jpg"; 
		boards[20] = new Image();
        boards[20].src = "../images/HomePx/021.jpg"; 
		boards[21] = new Image();
        boards[21].src = "../images/HomePx/022.jpg";  
		boards[22] = new Image();
        boards[22].src = "../images/HomePx/023.jpg"; 
		boards[23] = new Image();
        boards[23].src = "../images/HomePx/024.jpg";  
		boards[24] = new Image();
        boards[24].src = "../images/HomePx/025.jpg";  
		boards[25] = new Image();
        boards[25].src = "../ranches/images/1/008.jpg";  
		boards[26] = new Image();
        boards[26].src = "../ranches/images/2/023.jpg";   
		boards[27] = new Image();
        boards[27].src = "../ranches/images/2/002.jpg";   
		boards[28] = new Image();
        boards[28].src = "../ranches/images/2/005.jpg";   
		boards[29] = new Image();
        boards[29].src = "../ranches/images/2/011.jpg";   
		boards[30] = new Image();
        boards[30].src = "../ranches/images/3/013.jpg";   
		boards[31] = new Image();
        boards[31].src = "../ranches/images/4/012.jpg";   
		boards[32] = new Image();
        boards[32].src = "../ranches/images/4/004.jpg";   
		boards[33] = new Image();
        boards[33].src = "../ranches/images/5/006.jpg";   
		boards[34] = new Image();
        boards[34].src = "../ranches/images/5/014.jpg";   
		boards[35] = new Image();
        boards[35].src = "../ranches/images/7/017.jpg";   
		boards[36] = new Image();
        boards[36].src = "../ranches/images/7/016.jpg";   
		boards[37] = new Image();
        boards[37].src = "../ranches/images/7/018.jpg";   
		boards[38] = new Image();
        boards[38].src = "../ranches/images/7/001.jpg";   
		boards[39] = new Image();
        boards[39].src = "../ranches/images/8/001.jpg";   
		boards[40] = new Image();
        boards[40].src = "../ranches/images/9/008.jpg";   
		boards[41] = new Image();
        boards[41].src = "../ranches/images/10/003.jpg";   
		boards[42] = new Image();
        boards[42].src = "../ranches/images/10/008.jpg";
  
	if (b_Num < (boards.length - 1) )
                  b_Num++;
            else
                  b_Num = 0;
            document.billboard.src = boards[b_Num].src;
            bb_time = setTimeout('rotateBoard()', b_Speed);
        }
		
setTimeout("rotateBoard()", b_Speed);
