var url=window.location.toString();
// CHANGE BANNER
if(url.indexOf("/aboutasl/")>=0){
document.getElementById('bannerImg').src="../images/aboutus-banner.gif";
}
if(url.indexOf("/solutions/")>=0){
document.getElementById('bannerImg').src="../images/solutions-banner.gif";
}
if(url.indexOf("/career/")>=0){
document.getElementById('bannerImg').src="../images/career-banner.gif";
}
if(url.indexOf("/casestudy/")>=0){
document.getElementById('bannerImg').src="../images/case-banner.gif";
}
if(url.indexOf("/contact/")>=0){
document.getElementById('bannerImg').src="../images/contact-banner.gif";
}
// ABOUT ASL
if(url.indexOf("aboutasl.php")>=0){
//document.getElementById("title").innerHTML ="> About ASL";
}
if(url.indexOf("newsletter.php")>=0){
document.getElementById("title").innerHTML = "&nbsp;> <a href='../aboutasl/newsletter.php'> ASL Newsletter</a> ";
document.getElementById("sub-newsletter").className ="navmenu_active";
}

//if((url.indexOf("locations.php")>=0)||(url.indexOf("locations-")>=0)){
if((url.indexOf("locations.php")>=0)){
document.getElementById("sub-locations").className ="navmenu_active";
document.getElementById("title").innerHTML = "&nbsp;> <a href='../aboutasl/locations.php'> Office Locations ";
document.getElementById('menu-btm').src="../images/menu-btm-on.gif";
}

//SOLUTIONS
if(url.indexOf("/solutions/index.php")>=0){
//document.getElementById("title").innerHTML ="> <a href='../solutions/index.php'>Solutions</a>";
}
//SOLUTIONS - Soltions
if(url.indexOf("/solutions/solutions-index.php")>=0){
document.getElementById("title").innerHTML ="&nbsp;> <a href='../solutions/solutions-index.php'> Solutions</a> ";
document.getElementById("sub-solutions").className ="navmenu_active";
}
if(url.indexOf("/solutions/solutions-cyber-office.php")>=0){
document.getElementById("title").innerHTML =" > <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='../solutions/solutions-cyber-office.php'> Cyber Office</a>";
document.getElementById("sub-solutions").className ="navmenu_active";
}
if(url.indexOf("document-management-and-imaging.php")>=0){
document.getElementById("sub-document-management-and-imaging").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='document-management-and-imaging.php'>Document Management and Imaging</a>";
}
if(url.indexOf("knowledge-management-and-workflow.php")>=0){
document.getElementById("sub-knowledge-management-and-workflow").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="&nbsp;> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='knowledge-management-and-workflow.php'>Knowledge Management and Workflow </a>";
}
if(url.indexOf("networking.php")>=0){
document.getElementById("sub-networking").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='networking.php'>Networking</a>";
}
if(url.indexOf("human-resources-management.php")>=0){
document.getElementById("sub-human-resources-management").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='human-resources-management.php'> Human Resources Management</a>";
}
if(url.indexOf("enterprise-management.php")>=0){
document.getElementById("sub-enterprise-management").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='enterprise-management.php'> Enterprise Management</a>";
}
if(url.indexOf("service-desk.php")>=0){
document.getElementById("sub-service-desk").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='service-desk.php'> Service Desk</a>";
}
if(url.indexOf("hospitality.php")>=0){
document.getElementById("sub-hospitality").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='hospitality.php'> Hospitality</a>";
}
if(url.indexOf("server-based-computing.php")>=0){
document.getElementById("sub-server-based-computing").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='server-based-computing.php'> Server-based Computing </a>";
}
if(url.indexOf("service-level-availability.php")>=0){
document.getElementById("sub-service-level-availability").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='service-level-availability.php'> Service Level Availability </a>";
}
if(url.indexOf("storage.php")>=0){
document.getElementById("sub-storage").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='storage.php'> Storage</a>";
}
if(url.indexOf("thin-client-networking.php")>=0){
document.getElementById("sub-thin-client-networking").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='thin-client-networking.php'> Thin-client Networking </a>";
}
if(url.indexOf("trading.php")>=0){
document.getElementById("sub-trading").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='trading.php'> Trading</a>";
}
if(url.indexOf("training-management.php")>=0){
document.getElementById("sub-training-management").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='training-management.php'> Training Management</a>";
}
if(url.indexOf("financial-management.php")>=0){
document.getElementById("sub-financial-management").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='financial-management.php'> Financial Management</a>";
}
if(url.indexOf("information-security.php")>=0){
document.getElementById("sub-information-security").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/solutions-index.php'> Solutions</a> > <a href='information-security.php'>Information Security</a>";
document.getElementById('menu-btm').src="../images/menu-btm-on.gif";
}
//SOLUTIONS - Services
if(url.indexOf("services-index.php")>=0){
document.getElementById("title").innerHTML ="&nbsp;> <a href='../solutions/services-index.php'>Services</a>";
document.getElementById("sub-services").className ="navmenu_active";
}
if(url.indexOf("application-development.php")>=0){
document.getElementById("sub-application-development").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML ="> <a href='../solutions/services-index.php'>Services</a><span style='color:#000000'> > <a href='../solutions/application-development.php'>Application Development</a>";
}
if(url.indexOf("asl-swift-service.php")>=0){
document.getElementById("sub-asl-swift-service").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/asl-swift-service.php'>ASL SWIFT Service</a>";
}
if(url.indexOf("consultancy.php")>=0){
document.getElementById("sub-consultancy").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/consultancy.php'>Consultancy</a>";
}
if(url.indexOf("digital-imaging.php")>=0){
document.getElementById("sub-digital-imaging").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/digital-imaging.php'>Digital Imaging</a>";
}
if(url.indexOf("outsourcing.php")>=0){
document.getElementById("sub-outsourcing").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/outsourcing.php'>Outsourcing</a>";
}
if(url.indexOf("systems-integration.php")>=0){
document.getElementById("sub-systems-integration").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/systems-integration.php'>Systems Integration</a>";
}
if(url.indexOf("technical-support.php")>=0){
document.getElementById("sub-technical-support").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/technical-support.php'>Technical Support</a>";
}
if(url.indexOf("training.php")>=0){
document.getElementById("sub-training").className ="navmenu_active navmenu_sub";
document.getElementById("title").innerHTML =" > <a href='../solutions/services-index.php'>Services</a> > <a href='../solutions/training.php'>Training</a>";
}

//SOLUTIONS - Products
if(url.indexOf("products-index.php")>=0){
//document.getElementById("sub-training").className ="navmenu_active";
document.getElementById("title").innerHTML ="&nbsp;>  <a href='../solutions/products-index.php'>Products</a>";
document.getElementById("sub-products").className ="navmenu_active";
document.getElementById('menu-btm').src="../images/menu-btm-on.gif";
}

//CONTACT
if(url.indexOf("/contact/index.php")>=0){
//document.getElementById("sub-training").className ="navmenu_active";
document.getElementById("title").innerHTML =" >  <a href='../contact/index.php'>Contact Us</a> ";
}
if(url.indexOf("form.php")>=0){
document.getElementById("title").innerHTML =" >  <a href='../contact/index.php'>Contact Us</a> >  <a href='../contact/form.php'>Contact Form</a>";
}

//DISCLAIMER & PRIVACY
if(url.indexOf("disclaimer.php")>=0){
document.getElementById("title").innerHTML =" >  <a href='disclaimer.php'>Legal Disclaimer</a>";
}
if(url.indexOf("privacy.php")>=0){
document.getElementById("title").innerHTML =" >  <a href='privacy.php'>Privacy Policy</a>";
}
