#*
* Use this macro at the top of all of your layout decorations so as
* to provide required context objects.
*#
#macro (defineLayoutObjects)
#set($preferedLocale = $JS2RequestContext.locale)
#set($rootFragment = $jetspeed.currentFragment)
#set($site = $request.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext"))
#set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
#set($layoutDecoration = $theme.getDecoration($rootFragment))
#end
#* Adds javascript for PortletSelector on HTML *#
#macro (includeJavaScriptForHead)
#end
#*
* Returns the full URL for the base of this site. This
* can and should be used in the