// Get Target
var ie 
var dom

if(document.getElementById)
	{dom=true}

if(document.all)
	{ie=true}
	
function getTarget(link)
	{
		if(ie)
			{
			return document.all[link]
			}
		else if(dom)
			{
			return document.getElementById(link)
			}
	}


// Hilite Active Link
function hiliteActiveLink()
{
	if(window.pageSection)
	{
		target = getTarget(pageSection)
		target.className += " activeLink"
	}
	if(window.subSection)
	{
		target = getTarget(subSection)
		target.className += " activeSubLink"
	}
}


// Trace()
function trace(link)
	{
	console.log(link)
	}