When programming for Web pages, it is best to created HTML fields for coding on Domino as shared fields. Due to the fact that such fields like your $$HeadHTML, baseHRF or TOPnavigator fields for code are going to be used many time for most of your pages, it will be easier for the programmers to share these fields.
An example is for TOPNavigator shared field (below in CODE:)
Result := @DbLookup( "" : "NoCache" ; "" : "BeverlyMyDatabase.nsf" ;
"WebViewData" ; "Top Navigation" ; 2 );
@If(@IsError(Result); ""; Result)