function collapse_next_div (that) {

	while (that.tagName.toLowerCase() != 'div' && that.tagName.toLowerCase() != 'body') {
		that = that.parentNode;
	}

	that = that.nextSibling;
	while (that != null && (that.tagName == undefined || that.tagName.toLowerCase() != 'div') ) {
		that = that.nextSibling;
	}

	if (that.tagName.toLowerCase() != 'div') {
		return;
	}

	if (that.style.display == 'inline') {
               	that.style.display='none';
	} else {
               	that.style.display='inline';
	}
}
