var currentTabIds=new Array();var TAB_PREFIX="tab_";var CONTENT_PREFIX="tab_content_";var selectedTabGroupId=0;function showTab(c,a){var b=document.getElementById(TAB_PREFIX+a+c);var f=document.getElementById(CONTENT_PREFIX+a+c);selectedTabGroupId=a;if(typeof(f)!="undefined"&&typeof(b)!="undefined"){if(typeof(currentTabIds[a])=="undefined"){currentTabIds[a]=0}var h=a+currentTabIds[a];var g=document.getElementById(TAB_PREFIX+h);var i=document.getElementById(CONTENT_PREFIX+h);if(typeof(g)!="undefined"&&typeof(i)!="undefined"){if(g!=null){g.className="unselected"}if(i!=null){i.className="unselected"}}if(b!=null){b.className="selected"}if(f!=null){f.className="selected"}var e=navigator.appName;if(e=="Microsoft Internet Explorer"){try{b.focus()}catch(d){}}currentTabIds[a]=c}}function initTabs(a,b){currentTabIds[b]=a}function getCurrentTab(a){return currentTabIds[a]};