$(document).ready(function(){
	var h = window.location.host.toLowerCase();
	$("a[href^='http']:not([href*='" + h + "']), a[href$='.pdf']").attr("target", "_blank");
	$("a[href^='http']:not([href*='" + h + "'])").addClass('externalLink');
    $("img").parent().removeClass('externalLink');
	$('a[href^="mailto:"]').addClass('emailLink');
    $('a[href*=.pdf]').attr({"target":"_blank"});
	$('a[href*=.pdf]').addClass('pdfLink');
    $('a[href*=.doc]').attr({"target":"_blank"});
	$('a[href*=.doc]').addClass('docLink');
    $("li:last-child").addClass('last');
    $("li:first-child").addClass('first');
    $("#valuesList li").addClass('off-left');
    $("hr").wrap("<div class='hr'></div>");
	$("#p7PMM_1 ul").removeClass("p7TMM");
	$('input.clearme').focus(function() {
    	$(this).val("");
  	});
});
