function highlightLinks(){
			if( document.getElementsByTagName && window.location.pathname){
				var thePath = window.location.pathname;
				var anchors = document.getElementsByTagName("a");
				var i = anchors.length-1;
				while( i >= 0 ){
	 				var anchor = anchors[i];
	 				if(anchor.pathname){
	 					var anchorPath = anchor.pathname.split('/').join('');
	 					thePath = window.location.pathname;
	 					if( anchor.className != "no-selected" && ( anchor.className != "no-sub-selected" || thePath == anchor.pathname ) ){
	 						
	 					
							while( thePath.length > 2 ){
								
								if(thePath.split('/').join('') == anchorPath && anchor.className != "un-selected"){
									anchor.className = "selected";
									thePath = '/';
								}else{
									thePath = thePath.substring(0,thePath.lastIndexOf('/'));
								}
							}
						}
	 				}
	 				--i;
	 			}
			}
		}