#if(!$hits)
#set($hitsname = $context.getRequestParameter('hitsname'))
#set($hits = $context.getPageValue($hitsname))
#end
#if(!$hits)
#set($hitssessionid = $context.getRequestParameter('hitssessionid'))
#if($hitssessionid)
#set($hits = $context.getSessionValue($hitssessionid))
#end
#end
#set( $moduleid = $context.findValue("module") )
#set( $searchhome = $context.findValue("searchhome") )
$context.putPageValue("searchhome",$searchhome)
#if(!$hits)
#set($hits = $context.getPageValue($content.hitsname))
#end
$context.putPageValue("hits", $hits)
#set( $moduleid = $context.findValue("module") )
#set($module = $searcherManager.getData($catalogid, "module", $moduleid ) )
#set ( $defaultview = $userprofile.getDefaultViewForModule($module.id) )
$pages.includeContent()