<!--

function bookmarker22() 
{
title = "Mr and Mrs Smith - Boutique Hotels"; 
url = "http://www.mrandmrssmith.com";
if (window.sidebar) { // Mozilla Firefox Bookmark
window.sidebar.addPanel(title, url,"");
} else if( window.external ) { // IE Favorite
window.external.AddFavorite( url, title); }
else if(window.opera && window.print) { // Opera Hotlist
return true; }
}



function show_locations(country)
{

	var location_dd = document.forms['hotel_search'].elements['location'];
	var country_hidden = document.forms['hotel_search'].elements['country'];
	
	location_dd.options.length = 1;
	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{
		
		
		var option_length = mms_countries[country].length + 1;
			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= mms_countries[country][j];
			location_dd.options[i].value 	= mms_countries[country][j];
			j++;
		}
		
		country_hidden.value = mms_country_list[country];
		
	}
}

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}


function getref (obj)
{	
    var ref;
    
    if (obj.contentDocument) // For NS6
    {
        ref = obj.contentDocument;
    } 
    
    else if (obj.contentWindow) // For IE5.5 and IE6
    {
        ref = obj.contentWindow.document;
    } 
    
    else if (obj.document) // For IE5
    {
        ref = obj.document;
    }
    else ref = 'error';
    
    return ref;
}


function get_object(id)
{
	if(document.getElementById) 
	{
		return document.getElementById(id);
	}
	else 
	{
		return document.all[id];	
	}
}

function start_late_search()
{
		var indicator_div = get_object('search_indicator'); 
		indicator_div.style.display = 'block';
}

function start_date_search(link)
{
	start_late_search();
	location.href = link;
	return false;
}

//-->
