
function barClicked(tagName) {
	var tableName = tagName + '_table';
	wrapBars();
	var activatedTable = document.getElementById(tableName);
	if(activatedTable != null) {
		activatedTable.className = 'activeMenuGroup';
	}
/*@cc_on
	@if (@_win32 && @_jscript_version>4)
	 document.recalc(true);
	 @end @*/
}


function wrapBars() {
	var tabDiv = document.getElementById('leftbar');
	tableArray = tabDiv.getElementsByTagName('table');
	for(var i = 0; i < tableArray.length; i++) {
		tableArray[i].className = 'unActiveMenuGroup';
	}
	
	
}

/*@cc_on
	@if (@_win32 && @_jscript_version>4)
	window.onresize = function() {
	 document.recalc(true);
	}
	 @end @*/
