
function HideHotelSection()
{
    document.getElementById("dvInCity").style.display = "none";
    document.getElementById("liAirportName").style.display = "none";
    document.getElementById("liNearAttract").style.display = "none";
    document.getElementById("dvOptionalSearch").style.display = "none";
}
function ShowInCity()
{
    //Hide All Section
    HideHotelSection()
    document.getElementById("dvInCity").style.display = "block";
}
function ShowAirportName()
{
    //Hide All Section
    HideHotelSection()
    document.getElementById("liAirportName").style.display = "block";
}
function ShowNearAttract()
{
    //Hide All Section
    HideHotelSection()
    document.getElementById("liNearAttract").style.display = "block";
}
function ShowOptionalSearch()
{
    var objOptionalSearch = document.getElementById("dvOptionalSearch");
    
    if(objOptionalSearch.style.display == "block")
    {
        objOptionalSearch.style.display = "none";
    }
    else
    {
        objOptionalSearch.style.display = "block";
    }
    objOptionalSearch = null;
}

function ShowFlightSelection()
{
    //Set Tab Class Name
    document.getElementById("dvFlightTab").className = "FlightCurrentTab";
    document.getElementById("dvHotelTab").className = "HotelTab";
    
    //Set control display
    document.getElementById("dvFlightSelection").style.display = "block";
    document.getElementById("dvHotelSelection").style.display = "none";
}
function ShowHotelSelection()
{
     //Set Tab Class Name
    document.getElementById("dvFlightTab").className = "FlightTab";
    document.getElementById("dvHotelTab").className = "HotelCurrentTab";
    
    //Set control display
    document.getElementById("dvFlightSelection").style.display = "none";
    document.getElementById("dvHotelSelection").style.display = "block";
}
function ShowHotelCityOther()
{
    var objHotelCity = document.getElementById("stHotelCity");
    var objOtherCity = document.getElementById("txtOtherCity");
    if(objHotelCity.options[objHotelCity.selectedIndex].value == "OTHER")
    {
        objOtherCity.style.display = "block";
    }
    else
    {
        objOtherCity.style.display = "none";
    }
    objOtherCity = null;
    objHotelCity = null;
}

