intBlock = 1;
intNumBlocks = 5;
function FeatureSwitch(strDir) {		
	if (strDir == 'UP') intBlock++;
	if (strDir == 'DOWN') intBlock--;
	if (intBlock == 0) intBlock = intNumBlocks;
	if (intBlock > intNumBlocks) intBlock = 1;
	strBlock = 'fblock' + intBlock;				
	for ($i = 1; $i<=5; $i++) {
		strThisBlock = 'fblock' + $i;			
		if (strThisBlock == strBlock) {				
			document.getElementById(strThisBlock).style.display = "block";			
		} else {				
			document.getElementById(strThisBlock).style.display = "none";	
		}
	}
	return false;
}
