
function SetLbl(preFix, idx, x){
var y = x+5;
	for(var i=x;i<y;i++){
		if(GetObj(preFix+"_lbl_"+i)) GetObj(preFix+"_lbl_"+i).className = "lblOff";
		if(GetObj(preFix+"_con_"+i)) GetObj(preFix+"_con_"+i).style.display = "none";
	}
	GetObj(preFix+"_lbl_"+idx).className = "lblOn";
	GetObj(preFix+"_con_"+idx).style.display = "block";
}

function SetLbla(preFix, idx, x){
var y = x+5;
	for(var i=x;i<y;i++){
		if(GetObj(preFix+"_lbl_"+i)) GetObj(preFix+"_lbl_"+i).className = "lblOffa";
		if(GetObj(preFix+"_con_"+i)) GetObj(preFix+"_con_"+i).style.display = "none";
	}
	GetObj(preFix+"_lbl_"+idx).className = "lblOna";
	GetObj(preFix+"_con_"+idx).style.display = "block";
}
function SetLblb(preFix, idx, x){
var y = x+13;
	for(var i=x;i<y;i++){
		if(GetObj(preFix+"_blb_"+i)) GetObj(preFix+"_blb_"+i).className = "lblFour";
		if(GetObj(preFix+"_conb_"+i)) GetObj(preFix+"_conb_"+i).style.display = "none";
	}
	GetObj(preFix+"_blb_"+idx).className = "lblThree";
	GetObj(preFix+"_conb_"+idx).style.display = "block";
}
function SetSts(preFix, idx, x){
var y = x+6;
	for(var i=x;i<y;i++){
		if (i==5) {
			if(GetObj(preFix+"_Sts_"+i)) GetObj(preFix+"_Sts_"+i).className = "lblSevenLift";
		}else {
			if(GetObj(preFix+"_Sts_"+i)) GetObj(preFix+"_Sts_"+i).className = "lblSeven";
		}
		if(GetObj(preFix+"_Stsb_"+i)) GetObj(preFix+"_Stsb_"+i).style.display = "none";
		if(GetObj(preFix+"_Stsba_"+i)) GetObj(preFix+"_Stsba_"+i).style.display = "none";
	}
	if (idx==5) {
		GetObj(preFix+"_Sts_"+idx).className = "lblSixLift";
	}else {
		GetObj(preFix+"_Sts_"+idx).className = "lblSix";
	}
	GetObj(preFix+"_Stsb_"+idx).style.display = "block";
	GetObj(preFix+"_Stsba_"+idx).style.display = "block";
	if(GetObj("Pagin_Stsba_50")) GetObj("Pagin_Stsba_50").style.display = "none";
}
function Pagination(preFix, idx, x){
	if(idx==0){
		if(GetObj("sports_Stsba_5")) GetObj("sports_Stsba_5").style.display = "none";
		if(GetObj("Pagin_Stsba_50")) GetObj("Pagin_Stsba_50").style.display = "block";
	}else {
		if(GetObj("Pagin_Stsba_50")) GetObj("Pagin_Stsba_50").style.display = "none";
		if(GetObj("sports_Stsba_5")) GetObj("sports_Stsba_5").style.display = "block";
	}
}
function SetEtn(preFix, idx, x){
var y = x+2;
	for(var i=x;i<y;i++){
		if (i==0) {
			if(GetObj(preFix+"_Etn_"+i)) GetObj(preFix+"_Etn_"+i).className = "lblEightLift";
		}else {
			if(GetObj(preFix+"_Etn_"+i)) GetObj(preFix+"_Etn_"+i).className = "lblEight";
		}
		if(GetObj(preFix+"_Etnb_"+i)) GetObj(preFix+"_Etnb_"+i).style.display = "none";
	}
	if (idx==1) {
		GetObj(preFix+"_Etn_"+idx).className = "lblNineLift";
	}else {
		GetObj(preFix+"_Etn_"+idx).className = "lblNine";
	}
	GetObj(preFix+"_Etnb_"+idx).style.display = "block";
}
function SetInterview(preFix, idx, x){
var y = x+2;
	for(var i=x;i<y;i++){
		if (i==0) {
			if(GetObj(preFix+"_SetInt_"+i)) GetObj(preFix+"_SetInt_"+i).className = "lblEightLift";
		}else {
			if(GetObj(preFix+"_SetInt_"+i)) GetObj(preFix+"_SetInt_"+i).className = "lblEight";
		}
		if(GetObj(preFix+"_SetIntb_"+i)) GetObj(preFix+"_SetIntb_"+i).style.display = "none";
	}
	if (idx==1) {
		GetObj(preFix+"_SetInt_"+idx).className = "lblNineLift";
	}else {
		GetObj(preFix+"_SetInt_"+idx).className = "lblNine";
	}
	GetObj(preFix+"_SetIntb_"+idx).style.display = "block";
}
function SetTte(preFix, idx, x){
var y = x+4;
	for(var i=x;i<y;i++){
		if (i==0) {
			if(GetObj(preFix+"_Tte_"+i)) GetObj(preFix+"_Tte_"+i).className = "lblTenLift";
		}else {
			if(GetObj(preFix+"_Tte_"+i)) GetObj(preFix+"_Tte_"+i).className = "lblTen";
		}
		if(GetObj(preFix+"_Tteb_"+i)) GetObj(preFix+"_Tteb_"+i).style.display = "none";
	}
	if (idx==0) {
		GetObj(preFix+"_Tte_"+idx).className = "lblElevenLift";
	}else {
		GetObj(preFix+"_Tte_"+idx).className = "lblEleven";
	}
	GetObj(preFix+"_Tteb_"+idx).style.display = "block";
}
function SetEtj(preFix, idx, x){
var y = x+2;
	for(var i=x;i<y;i++){
		if(GetObj(preFix+"_Etj_"+i)) GetObj(preFix+"_Etj_"+i).className = "lblNine";
		if(GetObj(preFix+"_Etjb_"+i)) GetObj(preFix+"_Etjb_"+i).style.display = "none";
	}
	GetObj(preFix+"_Etj_"+idx).className = "lblEight";
	GetObj(preFix+"_Etjb_"+idx).style.display = "block";
}
function SetCts(preFix, idx, x){
var y = x+4;
	for(var i=x;i<y;i++){
		if(GetObj(preFix+"_Cts_"+i)) GetObj(preFix+"_Cts_"+i).className = "lblSeven2";
		if(GetObj(preFix+"_Ctsb_"+i)) GetObj(preFix+"_Ctsb_"+i).style.display = "none";
	}
	GetObj(preFix+"_Cts_"+idx).className = "lblSix2";
	GetObj(preFix+"_Ctsb_"+idx).style.display = "block";
}
function SetTlt(preFix, idx, x){
	var y = x+6;
	for(var i=x;i<y;i++){
		if(GetObj2(preFix+"_Tlt_"+i)) GetObj2(preFix+"_Tlt_"+i).className = "lblThirteen";
		if(GetObj2(preFix+"_Tltb_"+i)) GetObj2(preFix+"_Tltb_"+i).style.display = "none";
	}
	GetObj2(preFix+"_Tlt_"+idx).className = "lblTwelve";
	GetObj2(preFix+"_Tltb_"+idx).style.display = "block";
}
function tabit(tabName,btnId,tabNumber,styleName){
	for(i=0;i<tabNumber;i++){
		GetObj(tabName+"_div"+i).style.display = "none";
		if (i==0) {
			GetObj(tabName+"_btn"+i).className = styleName+"_bLift";
		}else {
			GetObj(tabName+"_btn"+i).className = styleName+"_b";
		}
	}
	GetObj(tabName+"_div"+btnId).style.display = "";
	if (btnId==0) {
		GetObj(tabName+"_btn"+btnId).className = styleName+"_aLift";
	}else {
		GetObj(tabName+"_btn"+btnId).className = styleName+"_a";
	}
}
function SetVtm(preFix, idx, x){
var y = x+2;
	for(var i=x;i<y;i++){
		if (i==0) {
			if(GetObj(preFix+"_Vtm_"+i)) GetObj(preFix+"_Vtm_"+i).className = "lblM";
		}else {
			if(GetObj(preFix+"_Vtm_"+i)) GetObj(preFix+"_Vtm_"+i).className = "lblMLift";
		}
		if(GetObj(preFix+"_Vtmb_"+i)) GetObj(preFix+"_Vtmb_"+i).style.display = "none";
	}
	if (idx==0) {
		GetObj(preFix+"_Vtm_"+idx).className = "lblVLift";
	}else {
		GetObj(preFix+"_Vtm_"+idx).className = "lblV";
	}
	GetObj(preFix+"_Vtmb_"+idx).style.display = "block";
}
function tabUser(preFix, idx, x) {
var y = x+4;
for(var i=x;i<y;i++){
		document.all(preFix+"_user_"+i).className = "lblUserb"
		document.all(preFix+"_userb_"+i).style.display = "none";
	}
	document.all(preFix+"_user_"+idx).className = "lblUser"
	document.all(preFix+"_userb_"+idx).style.display = "block";
}
function GetObj2(objName){
	if(document.getElementById){
		return eval('document.getElementById("' + objName + '")');
	}else if(document.layers){
		return eval("document.layers['" + objName +"']");
	}else{
		return eval('document.all.' + objName);
	}
}
function tabPreNameLog(preFix, idx, x) {
var y = x+5;
for(var i=x;i<y;i++){
		document.all(preFix+"_prelog_"+i).className = "lblPreLogb"
		document.all(preFix+"_prelogb_"+i).style.display = "none";
	}
	document.all(preFix+"_prelog_"+idx).className = "lblPreLog"
	document.all(preFix+"_prelogb_"+idx).style.display = "block";
}
function SetAll(preFix, idx, x,y){
var y = x+y;
	for(var i=x;i<y;i++){
		if (i==0) {
			if(GetObj(preFix+"_a_"+i)) GetObj(preFix+"_a_"+i).className = "lblEightLift";
		}else {
			if(GetObj(preFix+"_a_"+i)) GetObj(preFix+"_a_"+i).className = "lblEight";
		}
		if(GetObj(preFix+"_b_"+i)) GetObj(preFix+"_b_"+i).style.display = "none";
	}
	if (idx==1) {
		GetObj(preFix+"_a_"+idx).className = "lblNineLift";
	}else {
		GetObj(preFix+"_a_"+idx).className = "lblNine";
	}
	GetObj(preFix+"_b_"+idx).style.display = "block";
}

