/* Javascript tabs. General usage:
*
*
*
* Can then be used to show/hide the following box:
*
* ..
*
* The name of the active box will be set to and (at page load) read from
* location.hash. The parent node of the active link will get the 'tabselected'
* class. A link with the special name "all" will display all boxes associated
* with jt_select links.
*
* Only one jt_select list-of-tabs can be used on a single page.
*/
var links = byId('jt_select') ? byName(byId('jt_select'), 'a') : [];
function init() {
var sel;
var first;
for(var i=0; i