//get url parameter value
function gup( name )
{
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS = "[\\?&]"+name+"=([^&#]*)";var regex = new RegExp( regexS );var results = regex.exec( window.location.href );
	if( results == null )
		return "";
	else
		return results[1];
}
function highlightSubNode() {
	var nodeVal=gup("node");
	if(nodeVal.length==5)
		document.getElementById(nodeVal).style.textDecoration="underline";
	if(nodeVal.length==0)
		return;
	var superNode=gup("node").substr(0,3);
	var curDisp;
	var el=document.getElementById(superNode);
	if( window.getComputedStyle ) {
		curDisp = window.getComputedStyle(el,null).display;
	} else if( el.currentStyle ) {
		curDisp = el.currentStyle.display;
	}
	if(curDisp!="none") {
		document.getElementById("menushadow2").style.display="block";
		document.getElementById("menushadow2").style.left=(el.offsetLeft-10)+"px"; //10px==margin-left
		document.getElementById("menushadow2").style.top=(document.getElementById("separator-2").offsetTop+1)+"px";
		document.getElementById("menushadow2").style.width=(el.offsetWidth+20)+"px"; //20px==2x margin left/right
	}
}
