$(function(){$("a,area").click(function(){if($(this).hasClass("newWindow")){$(this).attr("target","_blank")}})});