<script language="JScript"> function PrintNoHdr() { t = new ActiveXObject("WScript.Shell"); t.RegWrite("HKCU\\Software\\Microsoft\\InternetEXPlorer\\PageSetup\\header",""); t.RegWrite("HKCU\\Software\\Microsoft\\InternetExplorer\\PageSetup\\footer",""); window.print() } </script>