﻿var rr;
if (!rr) rr = {}

rr.subNav = function(id) {
    rr.subNav.base.call(this);
    this.dom = njs.Util.FindDom(id);
    this.ele = $("#" + id);
    this.SetOnActive(this.Show, this);
    this.SetOnInactive(this.Hide, this);
    this.Hide();
}
njs.Extend(rr.subNav, njs.Radio);

rr.subNav.prototype.Show = function() {
    this.ele.show();
}

rr.subNav.prototype.Hide = function() {
    this.ele.hide();
}
