// JavaScript Document
function switchLabel( strTitleLabel, strListLabel, strMoreLabel, 
					 intFocusId, intIdCount, strFocusCss, strBlurCss ) {
	for ( i=0; intIdCount>i; 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; intIdCount>i; i++ ) {
			document.getElementById( strMoreLabel+i ).style.display = "none";
		}
		document.getElementById( strMoreLabel+intFocusId ).style.display = "block";
	}
}

function SetWinHeight( s_objId ) {
	var win = document.getElementById( s_objId );
	if ( document.getElementById ) {
		if ( win && !window.opera ) {
			if (win.contentDocument && win.contentDocument.body.offsetHeight) {
				win.height = win.contentDocument.body.offsetHeight;
			} else if(win.Document && win.Document.body.scrollHeight) {
				win.height = win.Document.body.scrollHeight;
			}
		}
	}
	window.setTimeout( "SetWinHeight()", 500 );
}