<!-- _widgets/headhome.phtml -->
!for i_=1 to $wims_home_items_cnt
 !set 1_=!line $i_ of $wims_home_items
 !set wims_ref_class = !item 1 of $1_
 <$div1 class="menuitem $wims_ref_class">
  !read $(w_path)oneitem.phtml $1_
 </$div1>
 !reset wims_ref_class
!next i_
<!-- end _widgets/headhome.phtml -->
