
function OtcqxAppNav(rootPath)
{this.rootPath=(rootPath?rootPath:'/otcqx');}
OtcqxAppNav.prototype.go=function(url){window.location.href=this.rootPath+url;}
OtcqxAppNav.prototype.gotoQuote=function(search,tab){this.go('/market/quote?symbol='+search+'&tab='+(tab?tab:0));}
OtcqxAppNav.prototype.gotoQuotePage=function(symbol){this.gotoQuote(symbol);}
OtcqxAppNav.prototype.gotoNewsInQuote=function(symbol){this.gotoQuote(symbol,3);}
OtcqxAppNav.prototype.gotoFilingsInQuote=function(symbol){this.gotoQuote(symbol,4);}
OtcqxAppNav.prototype.gotoNewsRelease=function(){this.go('/market/issuerNews?tab='+0);}
OtcqxAppNav.prototype.gotoFilings=function(){this.go('/market/issuerNews?tab='+1);}
OtcqxAppNav.prototype.gotoPinkNews=function(id){this.go('/about/news'+(!id?'':'?id='+id));}
OtcqxAppNav.prototype.gotoQuoteAndCompany=function(search){this.go('/market/securitySearch?search='+search);}
OtcqxAppNav.prototype.gotoRealTimeTradeStats=function(){this.go('/market/current');}
OtcqxAppNav.prototype.gotoLinkingTermsConfirm=function(){this.go('/linkingConfirm');}
OtcqxAppNav.prototype.gotoSecurityList=function(){this.go('/market/otcqxList');}