function showhot(name,type,maxnum){
	var showid;
	for(var i = 1;i <= maxnum;i ++){
		if(document.getElementById(name+"_"+i).style.display == ""){
			showid = i;
		}
		document.getElementById(name+"_"+i).style.display = "none";
	}
	if(type == "add"){
		if(showid < maxnum){
			showid ++;
			document.getElementById(name+"_"+showid).style.display = "";
		}else{
			document.getElementById(name+"_"+maxnum).style.display = "";
			alert("Sorry\r\nThis is the last data!");
		}
	}
	if(type == "dec"){
		if(showid > 1){
			showid --;
			document.getElementById(name+"_"+showid).style.display = "";
		}else{
			document.getElementById(name+"_"+1).style.display = "";
			alert("Sorry\r\nThis is the first data!");
		}
	}
}
function showList(num){
	if(num == 0){
		document.getElementById("ca_list").style.display = "none";
	} else {
		document.getElementById("ca_list").style.display = "";
	}
}
function showList0(num){
	if(num == 0){
		document.getElementById("ca_list0").style.display = "none";
	} else {
		document.getElementById("ca_list0").style.display = "";
	}
}
function showList1(num){
	if(num == 0){
		document.getElementById("ca_list1").style.display = "none";
	} else {
		document.getElementById("ca_list1").style.display = "";
	}
}
function showList2(num){
	if(num == 0){
		document.getElementById("ca_list2").style.display = "none";
	} else {
		document.getElementById("ca_list2").style.display = "";
	}
}
function showList3(num){
	if(num == 0){
		document.getElementById("ca_list3").style.display = "none";
	} else {
		document.getElementById("ca_list3").style.display = "";
	}
}
function showList4(num){
	if(num == 0){
		document.getElementById("ca_list4").style.display = "none";
	} else {
		document.getElementById("ca_list4").style.display = "";
	}
}
function showList5(num){
	if(num == 0){
		document.getElementById("ca_list5").style.display = "none";
	} else {
		document.getElementById("ca_list5").style.display = "";
	}
}
function showList6(num){
	if(num == 0){
		document.getElementById("ca_list6").style.display = "none";
	} else {
		document.getElementById("ca_list6").style.display = "";
	}
}
function showList7(num){
	if(num == 0){
		document.getElementById("ca_list7").style.display = "none";
	} else {
		document.getElementById("ca_list7").style.display = "";
	}
}
