#LOCAL("Orientation","LeftRight") #IF((#NavBarElement.NavBar.ID == #System.Child.NavBars.Child.Left.ID OR #NavBarElement.NavBar.ID == #System.Child.NavBars.Child.Right.ID) OR (#INPUT.NavBarAlias EQ "Left" OR #INPUT.NavBarAlias EQ "Right")) #SET("Orientation","UpDown") #ENDIF #BLOCK("CachedInclude", #Shop.Categories.Object, "SF.DropDownListUpDown" . #CacheIncludesNames) #LOCAL("MainCategoryID", #ID) #WITH(#Shop.Categories) #LOCAL("OuterObjects", #ContentObjectsInNavigation) #IF(#COUNT(#OuterObjects))
#ENDIF #ENDLOCAL #ENDWITH #ENDLOCAL #ENDBLOCK #ENDLOCAL