function init()
{
	if (!UsingIncompatibleBrowser())
	{
		document.getElementById("lnkPresenting").href='#';
		document.getElementById("lnkComedy").href='#';
		document.getElementById("lnkActing").href='#';
		document.getElementById("lnkIT").href='#';
	}
}

function UsingIncompatibleBrowser()
{
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
	{
 		var ver=new Number(RegExp.$1)
 		return (ver<=6);
 	}
 	return false;
}

function ShowElement(elementName)
{
	var element = document.getElementById(elementName);
	if (element!=null)
	{
		element.style.visibility='visible';
		element.style.display='inline-block';
	}
	return false;
}

function ShowElementInline(elementName)
{
	var element = document.getElementById(elementName);
	if (element!=null)
	{
		element.style.visibility='visible';
		element.style.display='inline';
	}
	return false;
}

function HideElement(elementName)
{
	var element = document.getElementById(elementName);
	if (element!=null)
	{
		element.style.visibility='hidden';
		element.style.display='none';
	}
	return false;
}

function ShowPresenting()
{
	if (UsingIncompatibleBrowser()) return true;
	HidePopups();
	ShowElementInline('TabTextPresenting');
	ShowElement('DivContentPresenting');
	ShowElement('RightPopup');
	return false;
}

function ShowComedy()
{
	if (UsingIncompatibleBrowser()) return true;
	HidePopups();
	ShowElementInline('TabTextComedy');
	ShowElement('DivContentComedy');
	ShowElement('RightPopup');
	return false;
}

function ShowActing()
{
	if (UsingIncompatibleBrowser()) return true;
	HidePopups();
	ShowElementInline('TabTextActing');
	ShowElement('DivContentActing');
	ShowElement('LeftPopup');
	return false;
}

function ShowIT()
{
	if (UsingIncompatibleBrowser()) return true;
	HidePopups();
	ShowElementInline('TabTextIT');
	ShowElement('DivContentIT');
	ShowElement('LeftPopup');
	return false;
}

function HideRightPopup()
{
	if (UsingIncompatibleBrowser()) return true;
	HideElement('TabTextPresenting');
	HideElement('DivContentPresenting');
	HideElement('TabTextComedy');
	HideElement('DivContentComedy');
	HideElement('RightPopup');
	return false;
}

function HideLeftPopup()
{
	if (UsingIncompatibleBrowser()) return true;
	HideElement('TabTextActing');
	HideElement('DivContentActing');
	HideElement('TabTextIT');
	HideElement('DivContentIT');
	HideElement('LeftPopup');
	return false;
}

function HidePopups()
{
	if (UsingIncompatibleBrowser()) return true;
	HideRightPopup();
	HideLeftPopup();
	return false;
}
