URL = window.location.href; 
indexhtml = (URL.indexOf('index.') > -1);
permanenthtml = (URL.indexOf('filters/permanent-metal-air.') > -1); 
dry_typehtml = (URL.indexOf('filters/dry-type-air.') > -1); 
media_retainershtml = (URL.indexOf('filters/media-retainers.') > -1); 
cylindrical_airhtml = (URL.indexOf('filters/cylindrical-air.') > -1); 
moisture_eliminatorshtml = (URL.indexOf('filters/moisture-eliminators.') > -1); 
greasehtml = (URL.indexOf('filters/grease.') > -1);
acoustical_productshtml = (URL.indexOf('acoustical-products.') > -1); 
accessorieshtml = (URL.indexOf('filters/accessories.') > -1); 



window.onload = function navigations(){ 
if (indexhtml) { 
var x=document.getElementById("home"); 
x.className = 'highlight_class'; 
} 


else if (permanenthtml){ 
var x=document.getElementById("permanent");
x.className = 'highlight_class'; 
} 


else if (dry_typehtml){ 
var x=document.getElementById("dry_type");
x.className = 'highlight_class'; 
} 

else if (media_retainershtml){ 
var x=document.getElementById("media_retainers");
x.className = 'highlight_class';
} 

else if (cylindrical_airhtml){ 
var x=document.getElementById("cylindrical_air"); 
x.className = 'highlight_class';  
} 

else if (moisture_eliminatorshtml){ 
var x=document.getElementById("moisture_eliminators"); 
x.className = 'highlight_class'; 
} 

else if (greasehtml){ 
var x=document.getElementById("grease"); 
x.className = 'highlight_class'; 
} 
else if (acoustical_productshtml){ 
var x=document.getElementById("acoustical_products"); 
x.className = 'highlight_class'; 
} 

else if (accessorieshtml){ 
var x=document.getElementById("accessories"); 
x.className = 'highlight_class'; 
}

}

