window.onload = function() {
	
	var spans = document.getElementById("shows").getElementsByTagName("SPAN");
	for (var i = 0; i < spans.length; i++) {
		spans[i].style.display = 'none'; 
	}
	
	var infos = document.getElementById("shows").getElementsByTagName("DIV");
	for (var i = 0; i < infos.length; i++) {
		if (infos[i].className != "info") {
			continue;	
		}
		
		var anchors = infos[i].getElementsByTagName("A");
		for (var j = 0; j < anchors.length; j++) {
			if (anchors[j].className == 'more') {
				anchors[j].id = 'more' + i;
				anchors[j].onclick = 
					function() { 
						spans = this.parentNode.getElementsByTagName("SPAN");
						spans[0].style.display = 'inline'; 
						this.style.display = 'none'; 
					}
			}
			if (anchors[j].className == 'less') {
				anchors[j].id = 'less' + i;
				anchors[j].onclick = 
					function() { 
						this.parentNode.style.display = 'none'; 
						document.getElementById('more' + this.id.substr(4)).style.display = 'inline';
					}
				
			} 
		}
	}
}






