Location: PHPKode > projects > PhpProjectMaster > www/template/common/onprint.html
<script type="text/javascript">
<!--
var print_objects=new Array('top_menu_contents', 'top_navigator', 'left_pane'<~print_objects>);

function beforeprint(){
 for (objname in print_objects){
   if(obj=MM_findObj(print_objects[objname])) obj.style.display="none";
 }
}

function afterprint(){
 for (objname in print_objects){
   if(obj=MM_findObj(print_objects[objname])) obj.style.display="";
 }
}

 document.body.onbeforeprint=beforeprint;
 document.body.onafterprint=afterprint;

//-->
</script>
Return current item: PhpProjectMaster