#set( $targetpage = $mediaarchive.getPageManager().getPage("/$applicationid/views/modules/asset/editor/$action/index.html"))
#if($action == "closedcaptions" || $action == "timeline")
#set( $targetpage = $mediaarchive.getPageManager().getPage("/$applicationid/components/$action/index.html"))
#end
#foreach( $script in $targetpage.getScriptPaths(true) )
#end
#foreach( $style in $targetpage.getStylePaths(true) )
#end
$pages.include($targetpage, $context)