<!-- script to handle IE4/5 document.all when getElementById is not available.  Not catering for NN4 document.layers -->
if(document.all && !document.getElementById) {
	
    document.getElementById = function(id) {
         return document.all[id];
    }
}
<!-- Now we have the functions -->

function show(trooms,room) {
	for (ct = 1; ct < trooms+1; ct++)  {
	
	document.getElementById('desc'+ct).style.visibility='hidden';
	document.getElementById('pic1_'+ct).style.visibility="hidden";
	document.getElementById('pic2_'+ct).style.visibility='hidden';
	document.getElementById('pic3_'+ct).style.visibility='hidden';
	
	}
	
    desclay="desc" + room;
	pic1lay="pic1_" + room;
	pic2lay="pic2_" + room;
	pic3lay="pic3_" + room;

	document.getElementById(desclay).style.visibility='visible';
	document.getElementById(pic1lay).style.visibility='visible';
	document.getElementById(pic2lay).style.visibility='visible';
	document.getElementById(pic3lay).style.visibility='visible';
	
	
	}
	
	function pfadein(fname) {


if (document.all) bigpic.filters.blendTrans.apply();
document.images.bigpic.src=fname;
if (document.all) bigpic.filters.blendTrans.play();
}