$(document).ready(function() {
  // Get the URL
    var currentURL = unescape(window.location);
    // If there is a '#' in the URL
    if (currentURL.indexOf('#')>-1){
		var targetElement = "#"+currentURL.substring(currentURL.indexOf('#')+1,currentURL.length);
//		document.getElementById(targetElement).className = "highlight";
		$(targetElement).addClass("highlight");
	}
});
