function toggleLayer(whichLayer){
	if (document.getElementById){
// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"block";
	}else if (document.all){
// this is the way old msie versions work
		var style2 = document.all[whichLayer].style;
		style2.display = style2.display? "":"block";
	}else if (document.layers){
// this is the way nn4 works
		var style2 = document.layers[whichLayer].style;
		style2.display = style2.display? "":"block";
	}
}

function toggle(){
	var arr=toggle.arguments;
	for(i=0;i<arr.length;i++){
		toggleLayer(arr[i]);
	}
}

function closeAll(){
	var alldivs = document.getElementsByTagName("div");
	for(i=0;i<alldivs.length;i++){
		var theStyle=alldivs[i].style;
		var theId=alldivs[i].getAttribute('id');
		if (theId!=null&&theId.substring(theId.length-4,theId.length)=='info'&&theStyle.display=="block"){
			var theName=theId.substring(0,theId.length-5);
			toggle(theName+'_view',theName+'_hide',theName+'_info');
		}
	}
}