In the sophioprocess.prg, we make a call to
lhasAds = GetAdvSet("ADOK")="T" And !"static.sophio.com"$m.lcOUtput And Empty(GetWebVarOnly("nooutput"))
Try
If lhasAds
myAddWidget=IncludeWidget("getads.wws")
This.OutputStyles(@lcOUtput,m.myAddWidget+Chr(13))
Endif
Endtry
This retrieves a shared tempalte file named getads.wws which has the master ad serving template. The widget has additional business rules that drive the number of ads, the names of ads, and ad sizes.