function initMenu(bodyid){
	changeDisp(bodyid + '_menu');
}
function changeDisp(id){
	var disp = document.getElementById(id).style.display;
	var expimg = document.getElementById('exp_' + id);
	var footerimg = document.getElementById('foot_' + id);
	if(disp == "block"){
		document.getElementById(id).style.display = "none";
		expimg.src = expimg.src.replace('open','close');
		footerimg.src = footerimg.src.replace('open','close');
	}else{
		document.getElementById(id).style.display = "block";
		expimg.src = expimg.src.replace('close','open');
		footerimg.src = footerimg.src.replace('close','open');
	}
	return false;
}

function initMenu2(bodyid){
	changeDisp2(bodyid + '_menu');
}
function changeDisp2(id){
	var disp = document.getElementById(id).style.display;
	var expimg = document.getElementById('exp_' + id);
	var footerimg = document.getElementById('foot_' + id);
	if(disp == "block"){
		document.getElementById(id).style.display = "none";
		expimg.src = expimg.src.replace('open2','close2');
		footerimg.src = footerimg.src.replace('open2','close2');
	}else{
		document.getElementById(id).style.display = "block";
		expimg.src = expimg.src.replace('close2','open2');
		footerimg.src = footerimg.src.replace('close2','open2');
	}
	return false;
}


function initMenu3(bodyid){
	changeDisp3(bodyid);
}
function changeDisp3(id){
	var disp = document.getElementById(id).style.display;
	var expimg = document.getElementById('exp_' + id);
	var titimg = document.getElementById(id.replace('1','_div'));
	if(disp == "none"){
		document.getElementById(id).style.display = "block";
		expimg.src = expimg.src.replace('close','open');
		titimg.style.background = 'url(../hottopics/img/bg_cate_tit_open.gif) left bottom no-repeat #fff';
	}else{
		document.getElementById(id).style.display = "none";
		expimg.src = expimg.src.replace('open','close');
		titimg.style.background = 'url(../hottopics/img/bg_cate_tit_close.gif) left bottom no-repeat #fff';
	}
	return false;
}
