/* WARNING: VILE, SLEAZY HACK. We determine the state of the box based on the image loaded. */
if ( $('expand_roomlist').src.substring($('expand_roomlist').src.length - 12) == "collapse.gif" ) {
$('roomlist').style.display = 'block';
/* WARNING: VILE, SLEAZY HACK. We determine the state of the box based on the image loaded. */
if ( $('expand_roomlist').src.substring($('expand_roomlist').src.length - 12) == "collapse.gif" ) {
$('roomlist').style.display = 'block';