function exp_coll(title,ind) {
	var s = document.getElementById("doc_" + ind);
	if (s.style.display == 'none') {
		title.style.background = 'url(images/collapse.gif) left 0px no-repeat';
		s.style.display = 'block';
	} else if (s.style.display == 'block') {
		title.style.background = 'url(images/expand.gif) left 0px no-repeat';
		s.style.display = 'none';
	}
}
			
function coll(ind) {
	var s = document.getElementById("doc_" + ind);
	if (!(s)) return false;
	s.style.display = 'none';
}

function coll_all(counter) {
	var i=1;
	for (i=1;i<=counter;i++) {
		coll(i);
	}
}
