function gotoSite(obj)
{
	var s;
	s=obj.options[obj.selectedIndex].value;
	if (s != '') {
		top.location.href=s;
	}
}

function highlightTab(tabName)
{
    tabName = tabName.toLowerCase();
    if (document.getElementById){
        tabcontainer = document.getElementById('tabs');
        var tabs = tabcontainer.getElementsByTagName('div');
        for(var i=0;i<tabs.length;i++) {
            tabs[i].className = tabs[i].className.replace('end','right');
            if (tabs[i].id == tabName) {
                tabs[i].className = tabs[i].className.replace('regular','highlight');
                if (i > 0) {
                    tabs[i - 1].className = tabs[i - 1].className.replace('right','end');
                }
                if (tabs[i + 1] != null) {
                    tabs[i + 1].className = tabs[i + 1].className.replace('end','right');
                }
            } else {
                tabs[i].className = tabs[i].className.replace('highlight','regular');
            }
        }
        tabs[tabs.length - 1].className = tabs[tabs.length - 1].className.replace('right','end');

        allPanels = document.getElementsByTagName('div');
        for(var i=0;i<allPanels.length;i++) {
            if (allPanels[i].id.indexOf('panel-') != -1) {
                allPanels[i].style.display = 'none';
            }
        }
        selectedPanel = document.getElementById('panel-' + tabName);
        selectedPanel.style.display = '';
    }
}

function showMascot()
{
    var rand=Math.round(Math.random()*16) + 1;
    document.write("<img src='http://wrs.btastic.com/rotate/wrs_whoelse" + rand + ".png' width='638' height='13' class='whoelse' alt=''>");
}