 // 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/RoseBar/6jan-457.jpg";
		boards[1] = new Image();
        boards[1].src = "images/RoseBar/002.jpg";
		boards[2] = new Image();
        boards[2].src = "images/RoseBar/003.jpg";
		boards[3] = new Image();
        boards[3].src = "images/RoseBar/004.jpg";
		boards[4] = new Image();  
        boards[4].src = "images/RoseBar/6jan-470.jpg"; 
		boards[5] = new Image();
        boards[5].src = "images/RoseBar/005.jpg";
		boards[6] = new Image();
        boards[6].src = "images/RoseBar/6jan-520.jpg"; 
		boards[7] = new Image();
        boards[7].src = "images/RoseBar/RoseBar.jpg"; 
		boards[8] = new Image();
        boards[8].src = "images/RoseBar/001.jpg";
		boards[9] = new Image();
        boards[9].src = "images/RoseBar/006.jpg";
		boards[10] = new Image();
        boards[10].src = "images/RoseBar/007.jpg";
		boards[11] = new Image();
        boards[11].src = "images/RoseBar/008.jpg";
		boards[12] = new Image();
        boards[12].src = "images/RoseBar/009.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);
