//print page var gAutoPrint = true; // Flag for whether or not to automatically call the print function function printSpecial() { if (document.getElementById != null) { var html = '\n
\n'; if (document.getElementsByTagName != null) { var headTags = document.getElementsByTagName("head"); if (headTags.length > 0) html += headTags[0].innerHTML; } html += '\n\n