function populateTable(value){
	showTab('attraction-tab-' + value);
}

function showTab(menuID) {
    //Only hide and show if menu rollover is different from current
    if (document.getElementById(menuID).style.display != "block")
    {
        hideOtherTabs();
        document.getElementById(menuID).style.display = "block";
    }
}

function hideOtherTabs(){
    var els = document.getElementById('attractions').getElementsByTagName('DIV');
    for(var i=0; i<els.length;i++)
    {
        if(els[i].className=='attraction-tab')
        {
            els[i].style.display = "none";
        }
    }
}
