		$(document).ready(function(){
   			//on page load make sure to check what is active and clear the parent li and previous li background lines.
   			$("ul.menu li a.active").parent().css('background-image', 'none');
   			$("ul.menu li a.active").parent().prev().css('background-image', 'none');
   			
   			$("ul.menu li").hover(
   			function () {
				//$(this).append($("<span> ***</span>"));
				$(this).prev().css('background-image', 'none');
				$(this).css('background-image', 'none');
			}, 
			function () {  	
				// $(this).find("span:last").remove();
				$(this).prev().css({'background-image':'url(assets/images/request-tel-email-divider.gif)', 'background-position' :'top right', 'background-repeat' :'no-repeat'});
				if (!$(this).hasClass('last')){
					$(this).css({'background-image':'url(assets/images/request-tel-email-divider.gif)', 'background-position' :'top right', 'background-repeat' :'no-repeat'});	
				}//end if
				if ($(this).children().hasClass('active')){
					$(this).prev().css('background-image', 'none');
					$(this).css('background-image', 'none');	
				}
				if ($(this).prev().children().hasClass('active')){
					$(this).prev().css('background-image', 'none');
				}
				if ($(this).next().children().hasClass('active')){
					$(this).css('background-image', 'none');
				}
			});
 		});
