a better fix for the static vs. dynamic link indexing issue
a better fix for the static vs. dynamic link indexing issue

* instead of going off relative indexes when showing and hiding panes
  we always use the id's so we are sure we are matching up the right panel
  to the right tab

* The issue only arises on first load because the selected tab's corrasponding
  panel is shown based on the position of the tab in the tab list.  Since
  we don't bother to output static tab panels (they will never be populated)
  there can be less panels in the panel list than there are tabs in the tabs
  list so indexing is inacurrate.

* Clicking on a tab always used the id's to identify the correct panel so
  we use the same method on first load now.

pombredanne/moksha,lmacken/moksha,ralphbean/moksha,pombredanne/moksha,mokshaproject/moksha,lmacken/moksha,pombredanne/moksha,pombredanne/moksha,ralphbean/moksha,ralphbean/moksha,lmacken/moksha,mokshaproject/moksha,mokshaproject/moksha,mokshaproject/moksha