//!!!! THIS CODE MAKES THE I REQUIRE GUEST ROOMS BOX GREYED OUT AND UNEDITABLE OR FULL COLOR AND EDITABLE.///
vis = 'show';
function showMe (it) {
    //var vis = (box.checked) ? 'blockEvenHover' : 'blockEven';
    //var formEl = (box.checked) ? true : false;
    //alert(it + ' should be set to ' + vis);
    if(vis == 'show'){
        document.getElementById(it).style.display = 'block';
        vis = 'hide';
    } else {
        document.getElementById(it).style.display = 'none';
        vis = 'show';
    }
}

function focusCityField() {if (document.search.oSearchCity.value == 'city, state or zip or airport code') {document.search.oSearchCity.value = '';}}
function blurCityField() {if (document.search.oSearchCity.value == '') {document.search.oSearchCity.value = 'city, state or zip or airport code';}}

//<!-- START Business.com Conversion Tracking Landing Page Tag -->
//<!-- U.S.PATENT No. 6,393,479B1-->
var siteID="";
if(location.search) {
  var _a=location.search;var _b=_a.indexOf("?linkshare_id=");_b=(_b>-1)?_b:_a.indexOf("&linkshare_id=");
  if(_b>-1) { _c=_a.indexOf("&",_b+1);_c=(_c>-1)?_c:_a.length;siteID=_a.substr(_b+8,_c) }
}
function getQueryVariable(variable) {
  var query = window.location.search.substring(1);
  var vars = query.split("&");
  for (var i=0;i<vars.length;i++) {
    var pair = vars[i].split("=");
    if (pair[0] == variable) { return pair[1]; }
  } 
  return "";
}
var bdc_dcmp = getQueryVariable("BDCDCMP");
var _bdchbEC=0,_bdchbE=new Array;function _bdchbEvent(a,b){b=_bdchbE[_bdchbEC++]=new Object();b._bdcN=a;b._bdcC=0;return b;}
var hbxbdc=_bdchbEvent("pv");hbxbdc.vpc="HBX0100u";hbxbdc.gn="c.business.com";
if (bdc_dcmp =="" || bdc_dcmp==null) { hbxbdc.onlyMedia = "y"; }
hbxbdc.acct="DM5509136IZD"; 
hbxbdc.pn="Worktopia"; 
hbxbdc.mlc="CONTENT+CATEGORY";
hbxbdc.pndef="title";
hbxbdc.ctdef="full";
var linkshare = _bdchbEvent("linkshare");
linkshare.value = siteID;
//<!-- END Business.com Conversion Tracking Landing Page Tag -->

