function tg(elm,num,total) {
	tgab1(elm,num,total) ;
	abSub1(elm,num,total) ;
	//showImage(num) ;
	document.body.focus();
}
function tgab1(elm,num,total) {
	for(i=1;i<=total;i++) {
		document.getElementById(elm+"_"+i).className = "tit2" ;
	}
	document.getElementById(elm+"_"+num).className = "tit1" ;
}
function abSub1(elm,num,total) {
	for (i=1;i<=total;i++) {
		document.getElementById(elm+"_sub"+i).style.display = "none" ;
	}
	document.getElementById(elm+"_sub"+num).style.display = "block" ;
}