function doHighlightNav(){
	
	var lastSlash // the position of the last slash in the path
	var fileName  // the name of the file
	var hashPos // the position of the hash symbol in the case of anchors
	var fullPath
	fullPath = document.URL;
//	fullPath = fullPath.replace(/\\/g,"/");     for local testing
	lastSlash = fullPath.lastIndexOf("/");
	fileName = fullPath.substring(lastSlash+1,fullPath.length);
	hashPos = fileName.lastIndexOf("#");
	if (hashPos!=-1) {
		noAnchor = fileName.substring(0,hashPos);
	}
	else {
		noAnchor = fileName;
	}
	
//	alert(noAnchor);
	
	switch (noAnchor){
		case "avant_electric_radiators.html":
			navavant.className='over';
			break;
		case "richmond_electric_radiators.html":
			navrich.className='over';
			break;
		case "sunrise_electric_radiant_panel_heater.html":
			navsunr.className='over';
			break;
		case "sunburst_electric_radiant_panel_heater.html":
			navsunb.className='over';
			break;
		case "Sunrise_Electric_Radiant_Panel_Heater.html":
			navsunr.className='over';
			break;
		case "Sunburst_Electric_Radiant_Panel_Heater.html":
			navsunb.className='over';
			break;
		case "colorado_electric_towel_rails.html":
			navcolo.className='over';
			break;
		case "vitro_electric_designer_heaters.html":
			navvitr.className='over';
			break;
		case "ducasa_electric_heating_programmer.html":
			navprog.className='over';
			break;
		case "central_heating_electric_special_offers.html":
			navoffe.className='over';
			break;
		case "inox_designer_electric_heater.html":
			navinox.className='over';
			break;
		case "":
			navhome.className='over';
			break;
		case "index.html":
			navhome.className='over';
			break;
		case "about-us.html":
			navabout.className='over';
			break;
		case "how-many-heaters.html":
			navhowmany.className='over';
			break;
		case "running_costs.html":
			navrunning.className='over';
			break;
		case "saving_money.html":
			navsaving.className='over';
			break;
		case "why-choose-ducasa.html":
			navwhychoose.className='over';
			break;
		case "green-electricity.html":
			navgreen.className='over';
			break;		
		case "how-to-order.html":
			navhowto.className='over';
			break;
		case "delivered-to-your-door.html":
			navdelivered.className='over';
			break;
		case "faq.html":
			navfaq.className='over';
			break;
		case "customer-comments.html":
			navcustomer.className='over';
			break;
		case "contact-us.html":
			navcontact.className='over';
			break;	
		case "contact-us-thanks.html":
			navcontact.className='over';
			break;	
	}
}
