<!--
var gblSelMenu = 0;
var gblBlockVal = 'block';

function showDownloadInstructions()
{
	var popup = window.open('../DownloadInstructions.htm', 'dlinstuct', 'toolbar=0,location=no,directories=0,status=0, scrollbars=no,resizable=0,width=400,height=500,top=0,left=0');
	popup.focus();
}

function downloadNow(file, pageToShow)
{
	 var browserOk = (window.navigator.userAgent.indexOf("SV1") != -1);
	 if(browserOk)
	 {
	 	window.open(file, 'dlnow', 'toolbar=0,location=no,directories=0,status=0, scrollbars=no,resizable=0,width=1,height=1,top=0,left=0');
		window.focus();
		location.href = pageToShow + '?downloadStarted=y';
	}
	else
	{
	   location.href = pageToShow;
	}
}

function beginDownload(file)
{
	var downloadStarted = -1;
	downloadStarted = location.search.indexOf("downloadStarted=y");
	if(downloadStarted < 0)
		document.write('<iframe height="0" width="0" src="file"></iframe>');
}

function pointToThisPage(pageLink)
{		
	var i;
	if(navigator.appName == 'Microsoft Internet Explorer')
		gblBlockVal = 'inline-block';
		
	for(i = 0; i < document.anchors.length; i++)
	{
		if(document.anchors[i].name.localeCompare(pageLink) == 0)
		{
			gblSelMenu = document.anchors[i].tabIndex;
			document.anchors[i].style.textDecoration = 'underline';
			switch(document.anchors[i].tabIndex)
			{
				case 1:
					document.getElementById('idApetMenu').style.display = gblBlockVal;
					break;
				case 2:
					document.getElementById('idTBTMenu').style.display = gblBlockVal;
					break;
				case 3:
					document.getElementById('idConsultingMenu').style.display = gblBlockVal;
					break;
				case 4:
					document.getElementById('idArticlesMenu').style.display = gblBlockVal;
					break;
			}
			break;
		}
	}
}
//----------------

function collapseMenus()
{
	try
	{
		if(gblSelMenu != 1)
			document.getElementById('idApetMenu').style.display = 'none';
		if(gblSelMenu != 2)
			document.getElementById('idTBTMenu').style.display = 'none';
		if(gblSelMenu != 3)
			document.getElementById('idConsultingMenu').style.display = 'none';
		if(gblSelMenu != 4)
			document.getElementById('idArticlesMenu').style.display = 'none';
	}
	catch(e)
	{
	}
}
//----------------
-->