function index() { };

index.prototype.init = function () {
  try  {
    // Highlighting navigation section
    var page = as.info.page || "home";
    var obj = as.yui.one("#navId"+page);
    if (obj) obj.addClass("selected");    
      
    // Default onmouse-over / out functions
    as.global.onmouseover = this.onmouseover;
    as.global.onmouseout = this.onmouseout;
    as.global.onclick = this.onclick;
  } catch(e) {
    as.logs.addError(this.getFilename(), "'init' >>"+e);
  };
};

index.prototype.onmouseover = function(el, cl) { el.className = cl+" highlight"; };
index.prototype.onmouseout = function(el, cl) {el.className = cl; };
index.prototype.onclick = function(url) { if (url) window.location.href = url; };