<!--
//Funstion to shade the active topic
//in the topic menu
function get_style() {
	//grab the full url	
	var path = document.location.href;
	var temp = new Array();
	//throw url into an array, delimited by '/' so seperate out
	//filename and subdirectories
	temp = path.split('/');
	var t_length = temp.length;
	//get the value of the innermost subdirectory in path tree
	// -1 is filename, -2 is directory
	var dir = temp[t_length - 2];

	if (document.getElementById){
		//shade the appropriate index based on subdirectory
    	if (dir!="/" && document.getElementById(dir))
		{
        	document.getElementById(dir).className = 'active';
			//check if the active topic is sub-topic of a category
			if (document.getElementById(dir).parentNode.className=="left_menu_sub")
			{
				//if so, then make sure the sub-topics are all displayed
				show_sub(document.getElementById(dir).parentNode.parentNode.id);
			}
    	}
		//if we're sitting at the top-level pages
     	if(dir==temp[2] || dir==null)
	  	{
		//special case for root without index.htm
		if(temp[3]==null || temp[3]=="")
			{
			document.getElementById('index').className = 'active';
		  	}
		else
			{
			//get the filename and drop the file extension
			var name = temp[t_length - 1].split('.')[0];
		  	document.getElementById(name).className = 'active';
			}
		}
		
	}
	else
	{
		//mini sniffer - we don't like NS 4.+, next generations should be fine
		window.open("/upgrade.htm","notice","width=500,height=400,toolbar=1,menubar=1,location=1,status=0,scrollbars=0,resizable=0");
	}
}

function sesame(url) {
	newwindow=window.open(url,"Video Preview","height=300,width=350,status=0,toolbar=0,menubar=0,resizable-0,location=0,scrollbars=0");
	if(window.focus) {newwindow.focus();}
}

-->