// JavaScript Document

function showsub(num,num1,num2){
	var objSub = null;
	var objCon = null;
	for(var i=parseInt(num1);i<=parseInt(num2);i++){
		objSub = document.getElementById("indexSub_"+i);
		objCon = document.getElementById("indexCon_"+i);
		if(i==parseInt(num)){
			with(objSub.style){
				background="url(/images/yq-1.jpg)";
				color="#ffff00";
				fontSize="14px";
				cursor="default";
			}
			with(objCon.style){
				display="block";
			}
		}
		else {
			with(objSub.style){
				background="url(/images/yq-2.jpg)";
				color="#003399";
				fontSize="12px";
				cursor="default";
			}
			with(objCon.style){
				display="none";
			}
		}
	}
}
