
function PrinterFriendly(str)
{	
	var oldWin1 = document.getElementById('PrinterLayer').innerHTML;	
	 oldWin1 = oldWin1.replace(/<(a)[^>]*>/gi,"<u>");
	oldWin1 = oldWin1.replace(/<(\/a)>/gi,"</u>");
	
	var newWin=window.open("","","toolbar=yes,location=no,directories=yes,menubar=yes,scrollbars=yes,height=600,left=100,top=35"); 
	//var newWin=window.open("","","toolbar=yes,location=no,directories=yes,menubar=yes,scrollbars=yes,left=100,top=25,height=600;resizable=yes");
	var winvar;
	newWin.document.open();
    newWin.document.write("<html><LINK href=style.css rel=Stylesheet><body><table width=606><tr><td align=center><SPAN class='featureheading'>NASHVILLE WIRE PRODUCTS<BR>"+str+"</span></td></tr></table>"); 
	newWin.document.write(oldWin1);
	newWin.document.write("<BR><BR><table width=606><tr><td align=center><span class='footertext'>Nashville Wire Corporate Office &middot; 199 Polk Avenue, Nashville, TN 37210<br>888.743.2595 (Toll Free) &middot; 615.743.2500 (Main) &middot; 615.242.4225 (Fax)<BR><BR>Copyright &copy; 1999, 2003, 2005 Nashville Wire Products Inc.</span></td></tr></table>");          
	newWin.document.write('<table><tr><td><img src=../images/nwfooter.gif width="666" height="18"></td></tr></table></body></html>'); 
	newWin.document.close(); 
	newWin.focus(); 
}




