URL = window.location.href; 
indexhtml = (URL.indexOf('/index.') > -1); 
productshtml = (URL.indexOf('/products/default.') > -1);
technicalhtml = (URL.indexOf('/technical-services/default.') > -1);
industrieshtml = (URL.indexOf('/industries-served/default.') > -1);
newshtml = (URL.indexOf('/news-and-events/default.') > -1);
libraryhtml = (URL.indexOf('/technical-library/default.') > -1);
abouthtml = (URL.indexOf('/about-us/default.') > -1);
contacthtml = (URL.indexOf('/contact-us/default.') > -1);
product_rephtml = (URL.indexOf('/Representatives.') > -1);

window.onload = function navigations(){ 
if (indexhtml) { 
var x=document.getElementById("home"); 
x.className = 'highlight_class'; 
} 

else if (productshtml){ 
var x=document.getElementById("products"); 
x.className = 'highlight_class'; 
} 

else if (technicalhtml){ 
var x=document.getElementById("technical"); 
x.className = 'highlight_class'; 
} 

else if (industrieshtml){ 
var x=document.getElementById("industries"); 
x.className = 'highlight_class'; 
}

else if (newshtml){ 
var x=document.getElementById("news"); 
x.className = 'highlight_class'; 
}

else if (libraryhtml){ 
var x=document.getElementById("library"); 
x.className = 'highlight_class'; 
} 

else if (abouthtml){ 
var x=document.getElementById("about"); 
x.className = 'highlight_class'; 
} 

else if (contacthtml){ 
var x=document.getElementById("contact"); 
x.className = 'highlight_class'; 
} 

else if (product_rephtml){ 
var x=document.getElementById("product_rep"); 
x.className = 'highlight_class'; 
} 

} 