function setTab(preTxt,tabID,n,tagTxt)
{
	var tabNow=document.getElementById(preTxt+tabID);
	for(i=1;i<=n;i++){		
		this.document.getElementById(preTxt+i).style.display="none";		
	}
	tabNow.style.display = "";
	setTag(tagTxt,tabID,n);
}
function setTag(preTxt,tagID,n){
	var tagNow=document.getElementById(preTxt+tagID);
	for(i=1;i<=n;i++){
		this.document.getElementById(preTxt+i).className="tabCommon";
	}
	tagNow.className="tabSelect";
}
