#LOCAL("IsHorizontal","1")
#IF(#NavBarElement.NavBar.ID == #System.Child.NavBars.Child.Left.ID OR #NavBarElement.NavBar.ID == #System.Child.NavBars.Child.Right.ID)
#SET("IsHorizontal","0")
#ENDIF
{ProductSearch}
#LOCAL("ExternalSearchContent","")
#REM Check if menu "ProductSearchBox" has any templates, compile them and if there's something to show, print the content of the menu templates, else print default #ENDREM
#MENU("ProductSearchBox")
#SET( "ExternalSearchContent", #ExternalSearchContent."".#INCLUDE(#Template) )
#ENDMENU
#IF(#IsEmpty(#ExternalSearchContent))
#ELSE
#ExternalSearchContent[0]
#ENDIF
#ENDLOCAL
#ENDLOCAL