function toggle(area) {
	if(area == "tampa") {
		document.getElementById('HSareaBackground').style.background = "#e1f2f2";
		document.getElementById('HSareaBackground1').style.background = "#e1f2f2";
		document.getElementById('HSareaBackground2').style.background = "#e1f2f2";
	} else if(area=="ftmyers") {
		document.getElementById('HSareaBackground').style.background = "#f5eec0";
		document.getElementById('HSareaBackground1').style.background = "#f5eec0";
		document.getElementById('HSareaBackground2').style.background = "#f5eec0";
	} else {
		document.getElementById('HSareaBackground').style.background = "#66CCCC";
		document.getElementById('HSareaBackground1').style.background = "#66CCCC";
		document.getElementById('HSareaBackground2').style.background = "#66CCCC";
	}
}
function hide() {
	if(document.getElementById('HSareaSearch').style.display == "none") {
		document.getElementById('HSareaSearch').style.display = "block";	
	} else {
		document.getElementById('HSareaSearch').style.display = "none";	
	}
}
function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}
jQuery.fn.inputFieldText = function(string, hintClass) {
  this.each(function() {
      $(this).addClass(hintClass).val(string);
      $(this).focus(function(){
        if ($(this).val() == string){
          $(this).removeClass(hintClass).val('');
        }
      });
      $(this).blur(function(){
        if ($(this).val() == '' ){
          $(this).addClass(hintClass).val(string);
        }
      });
  });
} 