function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}

/* SWITCH TABS START */

function switchTab(aTagObj, tabSection, tabNumber)
{
	for(i = 1; i <= 10; i ++)
	{
		if($(tabSection + i))
		{
			if(i != tabNumber)
			{
				$(tabSection + i).style.display = 'none';
				$(tabSection + "-a" + i).className = "blue";
			}
		}
	}
	$(tabSection + "-a" + tabNumber).className = "black";
	$(tabSection + tabNumber).style.display = 'block';
}
function showHideDiv(aTagObj, divId, action)
{
	if(action == 'show')
	{
		$(divId).style.display = 'block';
		$(divId + '-a-hide').style.display = 'block';
	}else{
		$(divId).style.display = 'none';
		$(divId + '-a-show').style.display = 'block';
	}
	aTagObj.style.display = 'none';
}
function $(id)
{
	return document.getElementById(id);
}


/* SWITCH TABS END */
