!if $job iswordof edit
!read header_js.phtml
!set wims_html_header=!append line $header_js_editor to $wims_html_header
!endif
!if $job iswordof read print
!set wims_html_header=!append line $header to $wims_html_header
!endif
!read adm/css.phtml
!if $job=help
!header1
!changeto help.phtml
!endif
!if help isin $wims_session and $doc!=$helpd
!set wims_html_onload=!append word window.close(); to $wims_html_onload
!header1
$n_helpclose
!tail
!endif
!if $cmd=help and $special_parm=about
!changeto about.phtml
!endif
!if $job notwordof home
!read menu.phtml
!else
!if $(module_title_$modu_lang)!=
!set module_title=$(module_title_$modu_lang)
!endif
!endif
!read $job.phtml
titr,authorr,descr,emailr,coder,coder1,coder2,coderr,\
coderr1,coderr2,copyrightr,docopenr,dlangr,\
foldin,foldout,readcntadv,job2
!for i=1 to 20
!if $job notwordof home
!tail
!endif