$(document).ready(function(){
	$("p:contains('[*break*]'), h1:contains('[*break*]'), h2:contains('[*break*]'), h3:contains('[*break*]'), h4:contains('[*break*]'), h5:contains('[*break*]'), h6:contains('[*break*]')").replaceWith("<div style='clear:both;height:10px;'><!-- --></div>");

	$('a.pdf').add('a.dwg').wrapAll('<div class="resources"></div>');
	$('.resources a:first').before("<p class='resourcesTitle'>Technical Resources for Download (click to view and print)</p>");
	$('.resources a:last').after('<img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_bottomDivider.gif" style="padding:6px 0 0 12px;" /><p class="resourcesFooter"><a href="http://get.adobe.com/reader/"><img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_getAdobe.gif" style="float:right;margin-right:6px;" /></a> Viewing and printing PDF files requires Adobe Reader. <a href="http://get.adobe.com/reader/"> <br />Click here to download Adobe Reader.</a></p><img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_bottom.gif" style="padding-top:4px;" />');
	//$('.pdf:first').before("<p class='resourcesTitle'>Technical Resources for Download (click to view and print)</p>");
	//$('.pdf:last').after('<img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_bottomDivider.gif" style="padding:6px 0 0 12px;" /><p class="resourcesFooter"><a href="http://get.adobe.com/reader/"><img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_getAdobe.gif" style="float:right;margin-right:6px;" /></a> Viewing and printing PDF files requires Adobe Reader. <a href="http://get.adobe.com/reader/"> <br />Click here to download Adobe Reader.</a></p><img src="http://insolroll.com.s18634.gridserver.com/wp-content/themes/insolroll/images/resources_bottom.gif" style="padding-top:4px;" />');
});
