function startup()
{
	/* goal: to highlight the proper menu item */
       
         // getting the menublock if not exists then skip the script
	var nav = window.document.getElementById('mainMenuHolder');
	if(nav != null)
	{
                   // getting the url of the page and clean it up
                   var sloc = window.location.href.toLowerCase().replace('.html','/').replace('//','/');
                  //getting all the a href links within menublock
		var as = nav.getElementsByTagName('a');
                  //loop over all the a href links
		for(var i=0; i< as.length;i++)
		{
                           // get the link and clean it up
			var sAloc = as[i].href.toLowerCase();
			sAloc = sAloc.replace('.html','/').replace('//','/').replace('//','/');
                        //check if the current page is this link
			if(sAloc == sloc)
			{
                                    //found the link to this page; adapt the class
				as[i].className = 'here';
                                     //if wanted adapt also parent menu for inhiding this menu block
				//as[i].parentNode.className = 'LIhighlight selected';
			}
		}
	}
}
startup;


