function addToFavourites()
{
	if (document.all)
	{
		window.external.AddFavorite(location.href, document.title);
	}
	else
	{
		alert("Sorry. Netscape users can bookmark this page manually by pressing Ctrl + D");
	}
}

function jumpToPage(strTarget)
{
	if (strTarget != '')
	{
	window.location = strTarget;
	}
}

function changeColour(objElement, strAttribute, strColour)
{
	if (objElement.tagName == 'LI' || objElement.tagName == 'DIV')
	{
		objElement.style[strAttribute] = strColour;
	}
}

function openSubMenu(objElement)
{
	if (objElement.style.display != 'block')
	{
		objElement.style.display = 'block';
	}
	else
	{
		objElement.style.display = 'none';
	}
}

function setSubject(strLayer, ysnFlash)
{
	var arrLayers = document.getElementsByTagName('div')
	for (i = 0; i < arrLayers.length; i++)
	{
		if (arrLayers[i].className == 'hidden')
		{
			if (arrLayers[i].id != strLayer) 
			{
				arrLayers[i].style.display = 'none';
			}
			else
			{
				arrLayers[i].style.display = 'block';
				// Flash Goto
				if (ysnFlash == 1)
				{
					//var objFlash = window.document.getElementById('flash_movie');
					var objFlash = window.document.flash_movie;
					//alert(objFlash.name);
					objFlash.TGotoLabel('_level0', '' + strLayer + '');
				}
			}
		}
	}
}

function setHeader(strLayer, ysnFlash)
{
	var arrLayers = document.getElementsByTagName('div')
	for (i = 0; i < arrLayers.length; i++)
	{
		if (arrLayers[i].className == 'hidden')
		{
			if (arrLayers[i].id != strLayer) 
			{
				arrLayers[i].style.display = 'none';
			}
			else
			{
				arrLayers[i].style.display = 'block';
				// Flash Goto
				if (ysnFlash == 1)
				{
					//var objFlash = window.document.getElementById('flash_movie');
					var objFlash = window.document.flash_movie;
					//alert(objFlash.name);
					objFlash.TGotoLabel('_level0', '' + strLayer + '');
				}
			}
		}
	}
}