function showOptions(id, bDisplay, bgSection)
{
  document.getElementById(id + "ControlShow").style.display = (bDisplay)? "none" : "block";
  document.getElementById(id + "ControlHide").style.display = (bDisplay)? "block" : "none";
  document.getElementById(id + "Options").style.display = (bDisplay)? "block" : "none";
  document.getElementById(id + "Section").style.backgroundColor = bgSection;
}

function showMobilityOptions(bDisplay, bgSection)
{
  document.getElementById("WheelchairControlShow").style.display = (bDisplay)? "none" : "block";
  document.getElementById("WheelchairControlHide").style.display = (bDisplay)? "block" : "none";

  document.getElementById("WheelchairOptions1").style.display = (bDisplay)? "block" : "none";
  document.getElementById("WheelchairOptions2").style.display = (bDisplay)? "block" : "none";

  document.getElementById("WheelchairLabel1").innerHTML = (bDisplay)? "Cabin Accessibility&nbsp;" : "Limited Mobility";
  document.getElementById("WheelchairLabel2").innerHTML = (bDisplay)? "Public Room and<BR>Accessibility" : "";
  
  document.getElementById("WheelchairSection1").style.backgroundColor = bgSection;
  
  if (document.getElementById("WheelchairOptions2").style.display == "none")
    document.getElementById("WheelchairSection2").style.backgroundColor = "white";
  else
    document.getElementById("WheelchairSection2").style.backgroundColor = (bgSection == "white")? "#EEEEEE" : "white";
}

function validateFormSpecialNeeds(objForm)
{
  var bResult = true;
  return bResult;
}

function open_moreinfo(type) {
  window.open('/ship_search_moreinfo.cfm?type=' + type,'convert',"resizable=1,status=0,titlebar=0,directories=0,toolbar=0,menubar=0,scrollbars=1,status=0,width=580,height=375,location=0");
}
