$(document).ready(function() {


	$("h1[type]").each(
		function(){
			var title=$(this).html();
			var type=$(this).attr("type");
			$(this).empty();
			$(this).append("<img src=\"/CommonElements/scripts/headers.php?title="+title+"&type="+type+"\" />");
		}
	);


	
});

