added class resizeable-vertical for textareas
JS: added window.onbeforeprint handler
moved more macros out of macros.html