/** * Modified for Highslide from http://www.boutell.com/newfaq/creating/printpart.html */ if (!hsp) { var hsp = { stylesFile : '', printCaption : false, printHeading : false, printLeft : false, printRight : false, captionWidth : 0, printLink: ''} } hs.printImage = function (el) { var exp = hs.expanders[hs.getWrapperKey(el)]; link = "about:blank"; var pw = window.open(link, "_new"); pw.document.open(); pw.document.write(exp.getPrintPage()); pw.document.close(); return false; }; hs.Expander.prototype.getPrintPage = function() { htmlString = "