var tab_count = new Array();

function showTab(group, tab) {
 hideAllTabs(group);
 window.document.getElementById(group + "_tab" + tab).className = "tab selectedtab"; 
}

function hideAllTabs(group) {
 for (i = 1; i <= tab_count[group]; i++) {
   window.document.getElementById(group + "_tab" + i).className = "tab";
 }
}

function displayContent(group, url) {
 window.document.getElementById(group + "_content").src = url;
}

