function Rotator_pluck(pContainer, pDivID, pSeconds) {
    this.container = pContainer;
	this.divID = pDivID;
	this.seconds = pSeconds;
	this.rows = calcRows(this.divID);
	this.currentRow = -1;
	if(this.rows > 0) {
	  this.currentRow = this.rotate(this.currentRow, this.divID, this.rows);
	} else {
	    this.dataAray = null;
	}
}
function calcRows(divID) {
    var isObject = true;
	var rowCount = 0;
    obj = document.getElementById(divID + rowCount);
    while((obj != null) && ((typeof obj) != "undefined")) {
	    rowCount++;
	    obj = document.getElementById(divID + rowCount);
	}	 
	return rowCount;
}
function rotate(currentRow, divID, rows) { 
    if(currentRow == (this.rows -1))  currentRow = -1;
    currentRow++;
	for(i=0; i< rows; i++)
	 {
	   if(i==currentRow)
	     document.getElementById(divID + i).style.display="block";
	   else
	    document.getElementById(divID + i).style.display="none";
	}
	return currentRow;   
}
Rotator_pluck.prototype.calcRows=calcRows;
Rotator_pluck.prototype.rotate=rotate;