// JavaScript Document
// Show/Hide functions for non-pointer layer/objects
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

function show(id) {
	if(id == 'hotels')
	{
		window.location.href="index.html";
	} 
	if(id == 'bandbs')
	{
		window.location.href="bandb.html";
	} 
	if(id == 'farmstay')
	{
		window.location.href="farmstay.html";
	} 
	if(id == 'rural')
	{
		window.location.href="rural.html";
	} 
	if(id == 'apt')
	{
		window.location.href="apt.html";
	} 

	if(id == 'backpack')
	{
		window.location.href="backpacker.html";
	} 

	if(id == 'caravan')
	{
		window.location.href="caravan.html";
	} 

}

function hide(id) {
	if (ns4) document.layers[id].visibility = "hide"
	else if (ie4) document.all[id].style.visibility = "hidden"
}

function setSearchFocus()
{
   document.searchform.btnsearch.focus();
}
