
function ThirdLevelNav(menu,currentPage,rootContext)
{this.criteria=new AnchorListCriteria(menu,currentPage,this);this.viewer=new FancyAnchorList();this.body=document.getElementById('thirdLevelNav');this.rootContext=rootContext;}
ThirdLevelNav.prototype.init=function(){this.run(this.criteria,this.body);}
ThirdLevelNav.prototype.run=function(criteria,body)
{this.viewer.run(criteria,body);}
ThirdLevelNav.prototype.handleAnchorSelect=function(id,caption,criteria)
{window.location.href=this.rootContext+id;}