if(document.getElementById && document.createElement){
document.write('<style type="text/css">*.toggle{display:none}</style>');
window.onload=function(){
    /*le modifiche allo script vanno solo fatte qui*/
	Attiva("commenti","· When can we check-in?","· When can we check-in?");
    Attiva("commenti1","· Is breakfast included in the price?","· Is breakfast included in the price?");
    Attiva("commenti2","· Do you provide sheets and towels or do I need to bring my own?","· Do you provide sheets and towels or do I need to bring my own?");
	Attiva("commenti3","· Do you have a car park?","· Do you have a car park?");
	Attiva("commenti4","· Where can I hire a car?","· Where can I hire a car?");
	Attiva("commenti5","· Is there transport from/to the airport/station to Calci?","· Is there transport from/to the airport/station to Calci?");
	Attiva("commenti6","· Are there televisions?","· Are there televisions?");
	Attiva("commenti7","· Are there tastefully-decorated, quiet rooms?","· Are there tastefully-decorated, quiet rooms?");
	Attiva("commenti8","· Do the apartments have a phone?","· Do the apartments have a phone?");
	Attiva("commenti9","· Are there food shops nearby?","· Are there food shops nearby?");
	Attiva("commenti10",". How far are Siena, Lucca, Florence and “Versilia”?",". How far are Siena, Lucca, Florence and “Versilia”?");
	Attiva("commenti11","· How far is the village?","· How far is the village?");
	Attiva("commenti12","· Do the apartments have a balcony or a yard?","· Do the apartments have a balcony or a yard?");
	Attiva("commenti13","· Is there a communal dining room?","· Is there a communal dining room?");
	Attiva("commenti14",". Where’s the nearest station?",".  Where’s the nearest station?");
	Attiva("commenti15","· Where’s the nearest bus stop?","· Where’s the nearest bus stop?");
	Attiva("commenti16","· Can I pay by credit card?","· Can I pay by credit card?");
	Attiva("commenti17","· Can I bring my pets?","· I can bring my pets?");
    }
}

function Attiva(id,s1,s2){
var el=document.getElementById(id);
//el.style.display="none";
var c=document.createElement("div");
var link=document.createElement("a");
link.href="#";
link.appendChild(document.createTextNode(s1));
link.onclick=function(){
    link.firstChild.nodeValue = (link.firstChild.nodeValue==s1) ? s2 : s1;
    el.style.display=(el.style.display=="none") ? "block" : "none";
    return(false);
    }
c.appendChild(link);
el.parentNode.insertBefore(c,el);
}
