

URL = window.location.href; 
indexhtml = (URL.indexOf('index.') > -1); 
company_profhtml = (URL.indexOf('wells/profile.') > -1); 
managementhtml = (URL.indexOf('wells/management.') > -1); 
timelinehtml = (URL.indexOf('wells/timeline.') > -1); 
qualityhtml = (URL.indexOf('wells/quality.') > -1); 
precisionhtml = (URL.indexOf('machining/products_services.') > -1); 
machininghtml = (URL.indexOf('machining/CNC_precision.') > -1); 
turninghtml = (URL.indexOf('machining/CNC_precision.') > -1); 
millinghtml = (URL.indexOf('machining/CNC_precision.') > -1); 
news1html = (URL.indexOf('wells/01_2008.') > -1); 
news2html = (URL.indexOf('wells/08_2007.') > -1); 





window.onload = function navigations(){ 
if (indexhtml) { 
var x=document.getElementById("home"); 
x.className = 'highlight_class'; 
} 

else if (company_profhtml){ 
var x=document.getElementById("company_prof"); 
x.className = 'highlight_class'; 
} 

else if (managementhtml){ 
var x=document.getElementById("management"); 
x.className = 'highlight_class'; 
} 

else if (timelinehtml){ 
var x=document.getElementById("timeline"); 
x.className = 'highlight_class'; 
} 

else if (qualityhtml){ 
var x=document.getElementById("quality"); 
x.className = 'highlight_class'; 
} 

else if (precisionhtml){ 
var x=document.getElementById("precision"); 
x.className = 'highlight_class'; 
} 
else if (machininghtml){ 
var x=document.getElementById("machining"); 
x.className = 'highlight_class'; 
} 

else if (turninghtml){ 
var x=document.getElementById("machining"); 
x.className = 'highlight_class'; 
} 
else if (millinghtml){ 
var x=document.getElementById("machining"); 
x.className = 'highlight_class'; 
} 
else if (news1html){ 
var x=document.getElementById("news1"); 
x.className = 'highlight_class'; 
} 

else if (news2html){ 
var x=document.getElementById("news2"); 
x.className = 'highlight_class'; 
} 

} 
