//Source - http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/471ce77b-6d70-4b99-af39-700c88be315e //

			
				
				_spBodyOnLoadFunctionNames.push("rotateText");

				var currRow=0;
				var numRows=0;
				var t;

				function rotateText()
				{
				 
				 if (numRows == 0) numRows = getNumRows();
				 
				 if (numRows > 0) {
				  if (currRow > 0) document.getElementById('row_' + currRow).style.display = "none";
				 
				 
				  currRow = currRow + 1;
				  
				  if (currRow > numRows) currRow = 1;
				   document.getElementById('row_' + currRow).style.display = "";
				   t=setTimeout('rotateText()',5000);
				 }
				}

				function getNumRows() {
				 var currRow = 1;
 
				 var theRow = document.getElementById('row_' + currRow);
 					
				 while (theRow != null) {
				  //theRow.style.display = "none";
				  currRow = currRow + 1;  
				  theRow = document.getElementById('row_'+currRow); 
				 }
				 return (currRow - 1); 
				}
				
