// JavaScript Document

function YYY(objid){
	return document.getElementById(objid);
}

/*function subNone(){
	YYY("a1").className = "";
	YYY("a2").className = "";
	YYY("b1").style.display = "none";
	YYY("b2").style.display = "none";
}*/

function dis_div(obj){
	//alert(obj.id.length);
	var objnum = obj.id.substring(1, obj.id.length);
	//alert(objnum)
	for(var i = 1; i <= 2; i ++){
		if(objnum == i){
			YYY("a" + i).className = "ahover";
			YYY("b" + i).style.display = "block";
		}else{
			YYY("a" + i).className = "";
			YYY("b" + i).style.display = "none";
		}
	}
}

