function prw(a,b){a.document.writeln(b)}var w,pw;function printThePage(){pw.print()}function printablePage(h){var a=document.getElementById("printPDF");if(a){var g=a.src;pw=window.open(g,window.name+"_PDFprint","menubar,resizable,scrollbars,status");if(!pw){alert("Window with printable form cannot be opened!\nThis is likely due to a popup blocker in your browser.");return}pw.onload=printThePage;pw.focus();return}if(!w||w.closed){w=window.open("",window.name+"_print","menubar,resizable,scrollbars,status")}if(!w){alert("Window with printable form cannot be opened!\nThis is likely due to a popup blocker in your browser.");return}w.defaultStatus="Loading.";w.document.open();var f;var b=document.getElementById("printIframe");if(b){var d=b.contentWindow||b.contentDocument;if(d.document){d=d.document}f=d.body}else{f=document.getElementById(h)}for(t=f.parentNode;t.parentNode;t=t.parentNode){if(t.style&&t.style.backgroundColor){bg=t.style.backgroundColor;w.document.bgColor=bg;break}}prw(w,'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');prw(w,"<html><head>");prw(w,"<title>"+document.title+"</title>");prw(w,'<link href="/css/print.css" type="text/css" rel="stylesheet" media="all" />');prw(w,"</head><body>");var c=new RegExp("<script.*<\\/script>","gim");prw(w,f.innerHTML.replace(/\n/g,"\uffff").replace(c,"").replace(/\uffff/g,"\n"));prw(w,'<p align="right">&copy; 2005-2007 Fred\'s Used Websites<br>All rights reserved</p>');prw(w,"</body></html>");w.document.close();w.defaultStatus="Done.";w.focus();w.print()}function printPage(a){if(!w||w.closed){w=window.open("",window.name+"_print","menubar,resizable,scrollbars,status")}if(!w){alert("Window with printable form cannot be opened!\nThis is likely due to a popup blocker in your browser.");return}w.defaultStatus="Loading.";w.document.open();prw(w,'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');prw(w,"<html><head>");prw(w,"<title>"+document.title+"</title>");prw(w,'<link href="/css/edit.css" type="text/css" rel="stylesheet" media="all" />');prw(w,"</head><body>");prw(w,a);prw(w,"</body></html>");w.document.close();w.defaultStatus="Done.";w.focus()};