if {![exists -proc require]} { proc require {args} {{done {}}} { foreach file $args { if {[lsearch -exact $done $file] == -1} { uplevel source "/mod/var/mongoose/lib/$file" lappend $done $file } } } proc header {} { uplevel source /mod/var/mongoose/html/lib/header.jim } proc footer {} { uplevel source /mod/var/mongoose/html/lib/footer.jim } }