﻿// JavaScript Document
function switchLabel( strTitleLabel, strListLabel, strMoreLabel, 
					 intFocusId, intIdCount, strFocusCss, strBlurCss ) {
	for ( i=0; i<intIdCount; i++ ) {
		document.getElementById( strTitleLabel+i ).className = strBlurCss;
		document.getElementById( strListLabel+i ).style.display = "none";
	}
	document.getElementById( strTitleLabel+intFocusId ).className = strFocusCss;
	document.getElementById( strListLabel+intFocusId ).style.display = "block";

	if ( strMoreLabel != '' ) {
		for ( i=0; i<strMoreLabel.tBodies.length; i++ ) {
			strMoreLabel.tBodies[i].style.display = "none";
		}
		strMoreLabel.tBodies[intFocusId].style.display = "block";
	}
}

