// JavaScript Document
function ShowFAQ(id)
{
	for(i=0;i< document.getElementById("count").value;i++)
	{
		if (i != id)
		document.getElementById("TR"+i).style.display = 'none';
	}
	// Check the previous state of Div.	
	if (document.getElementById("TR"+id).style.display == 'none')
		document.getElementById("TR"+id).style.display = '';
	else
		document.getElementById("TR"+id).style.display = 'none';
	
}


/*function House(name,rooms,price,garage) {
this.name=name;
this.rooms=rooms;
this.price=price;
this.garage=garage;
this.view=view;
}

house1=new House('House 1',4,100000,false);
house1.view();

function view() {	
with (this) //document.write(name+' has '+rooms+' rooms, '+(garage?'a':'no')+' garage, and costs £'+price+'<BR>');
}*/