<!--

/***********************************************
* Contractible Headers script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated Oct 21st, 2003.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchhab{display:none;}')
document.write('</style>')
}
var hab = new Array(4) 

hab[0]="hab101110"
hab[1]="hab106107"
hab[2]="103105"
hab[3]="108"


function contraer(ccollect)
{
	for (inc=0; inc<ccollect.length; inc++)
	{
		id = ccollect[inc]
		document.getElementById(id).style.display="none"
	}

}

function expan(eid)
{
	var omitir = new Array(3)
	inc=0
	for(i=0; i<4; i++)
	{
		if(eid!=hab[i])
		{
			omitir[inc]=hab[i]
		}
		
	}
	contraer(omitir)

	document.getElementById(eid).style.display=(document.getElementById(eid).style.display!="block")? "block" : "none"
		
	document.getElementById('habitacion').style.display="block"

}


//-->
