function hd(division) {

	function reset_layers() {
		ShowHide('hd0','none');
		ShowHide('hd1','none');
		ShowHide('hd2','none');
		ShowHide('hd3','none');
		ShowHide('hd4','none');
		ShowHide('hd5','none');
		ShowHide('hd6','none');
		ShowHide('hd7','none');
		ShowHide('hd8','none');
	}

	function reset_bgr_links() {
		document.getElementById("hd_list1a").className = ("");
		document.getElementById("hd_list2a").className = ("");
		document.getElementById("hd_list3a").className = ("");
		document.getElementById("hd_list4a").className = ("");
		document.getElementById("hd_list5a").className = ("");
		document.getElementById("hd_list6a").className = ("");
		document.getElementById("hd_list7a").className = ("");
		document.getElementById("hd_list8a").className = ("");
	}

	function dojob(id1,id2,id3) {
		reset_layers()
		reset_bgr_links();
		Effect.SlideDown(id1, {duration:0.4});
		document.getElementById(id2).className = ("selected");
		document.getElementById("hd_bgr").className = (id3);
	}

	if (division==1) dojob("hd1","hd_list1a","hd_bgr1");
	if (division==2) dojob("hd2","hd_list2a","hd_bgr2");
	if (division==3) dojob("hd3","hd_list3a","hd_bgr3");
	if (division==4) dojob("hd4","hd_list4a","hd_bgr4");
	if (division==5) dojob("hd5","hd_list5a","hd_bgr5");
	if (division==6) dojob("hd6","hd_list6a","hd_bgr6");
	if (division==7) dojob("hd7","hd_list7a","hd_bgr7");
	if (division==8) dojob("hd8","hd_list8a","hd_bgr8");

}