function Show(where,what) 
{  
  new Ajax.Updater($(where),what, {evalScripts:true, onComplete: function() { }});
} 
function Show2(where,what) 
{  
  new Ajax.Updater($(where),what, {evalScripts:true, onComplete: function() {loadMaps();loadAccordions();}});
}

var currLink = null;  
function Enable(who) 
{  
  if(currLink)  
    currLink.className = currLink.className.replace(/\bactive\b/,''); 
  currLink = who;  
  currLink.className += " active";
}  

function enableField(val)
{
	if(val=="Information") 
	{
		document.getElementById("information").style.display='block';
		document.getElementById("booking").style.display='none';


	}
	if(val=="Booking") 
	{
		document.getElementById("booking").style.display='block';
		document.getElementById("information").style.display='none';
	}
	if(val=="Agenzia")
	{
		document.contact.quale.disabled=false;
	}
	if(val=="Ads")
	{
		document.contact.quale.disabled=false;
	}
	if(val=="Web")
	{
		document.contact.quale.disabled=false;
	}
	if(val=="Passaparola") 
	{
		document.contact.quale.disabled=true;
	}
}