<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function indexBannerShow(i) {
	$("div[id^='index_Banner_']").hide();
	$("#index_Banner_" + i).show();
}

function indexSignUp(kmid) {
	if (kmid == 100 || kmid == 101) {
		window.open(rootPath + "signUp/writeInit.do?kmid=" + kmid);
	} else if (kmid = 11887626) {
		window.open(rootPath + "signUp/faceInit.do?kmid=" + kmid);
	}
}

function applyCtcsol() {
	window.open(rootPath + "applyTcsol/searchScoreInit.do");
}

var nowNotice = 0;
function notice(i) {
	if (i != nowNotice) {
		$("div[id^='noticeDiv_']").hide();
		$("#noticeDiv_" + i).show();
		$("img[id^='noticeImg_']").attr("src", rootPath + "img/bullet_grey.png");
		$("#noticeImg_" + i).attr("src", rootPath + "img/bullet_red.png");
		nowNotice = i;
	}
}

function idDetail(idid) {
	location.href = rootPath + "industryDynamics/detail.do?idid=" + idid;
}

var cfLeftIndex = 1;
var cfSum;
var cfRightIndex = 6;
var ibIndex = 1;
var ibSum;
$(document).ready(function() {
	cfSum = $("#cfSum").val();
	$("#noticeImg_" + nowNotice).attr("src", rootPath + "img/bullet_red.png");
	$("#noticeDiv_" + nowNotice).show();
	$("div[id^='industryDynamicContent_']").mouseover(function() {
		$("div[id^='industryDynamicContent_']").removeClass("industryDynamicContent_over");
		$("div[id^='industryDynamicContent_']").addClass("industryDynamicContent_out");
		$(this).removeClass("industryDynamicContent_out");
		$(this).addClass("industryDynamicContent_over");
	});
	if (cfSum &lt; 4) {
		cfRightIndex = cfSum;
	}
	//for (var i = 1; i &lt;= cfRightIndex;) {
	//	$("#cf_td_" + i).show();
	//	i = i + 1;
	//}
	ibSum = $("#ibSum").val();
	$("#indexBanner_" + ibIndex).show();
	$("#ibLeft").click(function() {
		if (ibIndex &gt; 1) {
			$("#indexBanner_" + ibIndex).fadeOut(1000).hide();
			ibIndex = ibIndex - 1;
			$("#indexBanner_" + ibIndex).fadeIn(1000).show();
			$("#ibRight").attr("src", rootPath + "img/examAndSignUp_right_over.png?A=" + new Date().getTime());
		}
		if (ibIndex == 1) {
			$(this).attr("src", rootPath + "img/examAndSignUp_left_out.png?A=" + new Date().getTime());
		}
	});
	$("#ibRight").click(function() {
		if (ibIndex &lt; ibSum) {
			$("#indexBanner_" + ibIndex).fadeOut(1000).hide();
			ibIndex = ibIndex + 1;
			$("#indexBanner_" + ibIndex).fadeIn(1000).show();
			$("#ibLeft").attr("src", rootPath + "img/examAndSignUp_left_over.png?A=" + new Date().getTime());
		}
		if (ibIndex == ibSum) {
			$(this).attr("src", rootPath + "img/examAndSignUp_right_out.png?A=" + new Date().getTime());
		}
	});
	$("#commonQuestionTbale_0").css("margin-left", "20px");
	dpSize = $("#dpSize").val();
	if (dpSize &gt; 4) {
		dpInit();
		$("#dp-ul, #international-left-right-btn").mouseover(function() {
			clearInterval(dpTimer);
		}).mouseout(function() {
			dpTimerInit();
		});
	}
});

var dpItems = new Array();
var dpTimer;
var start = 0;
var end = 3;
var dpSize;
var dpOperate = 0;
function dpInit() {
	var i = 0;
	$("#dp-ul li").each(function() {
		dpItems[i++] = "&lt;li style='width: 0px;'&gt;" + $(this).html() + "&lt;/li&gt;";
	});
	$("#dp-ul li.hide").remove();
	dpTimerInit();
}

function dpTimerInit() {
	dpTimer = setInterval(function() {
		getDpNext();
	}, 3000);
}

function getDpLast() {
	if (dpOperate == 0) {
		dpOperate = 1;
	} else {
		return;
	}
	if (--start == -1) {
		start = dpSize - 1;
	}
	if (--end == -1) {
		end = dpSize - 1;
	}
	$("#dp-ul").find("li:first-child").before(dpItems[start]);
	$("#dp-ul").find("li:first-child").animate({"width" : "250px"}, 200);
	$("#dp-ul").find("li:last-child").animate({"width" : "0px"}, 200);
	setTimeout(function() {
		$("#dp-ul").find("li:last-child").remove();
		dpOperate = 0;
	}, 200);
}

function getDpNext() {
	if (dpOperate == 0) {
		dpOperate = 1;
	} else {
		return;
	}
	if (++start == dpSize) {
		start = 0;
	}
	if (++end == dpSize) {
		end = 0;
	}
	$("#dp-ul").find("li:first-child").animate({width:'0px'}, 200);
	$("#dp-ul").append(dpItems[end]);
	$("#dp-ul").find("li:last-child").animate({"width" : "250px"}, 200);
	setTimeout(function() {
		$("#dp-ul").find("li:first-child").remove();
		dpOperate = 0;
	}, 200);
}

function ctcolFriendLeft() {
	if (cfLeftIndex &gt; 1) {
		$("#cf_td_" + cfRightIndex).hide();
		cfRightIndex = cfRightIndex - 1;
		cfLeftIndex = cfLeftIndex - 1;
		$("#cf_td_" + cfLeftIndex).show();
		$("#cfRight").css({
			"filter": "alpha(opacity = 100)",
			"opacity": "1"
		});
	}
	if (cfLeftIndex == 1) {
		$("#cfLeft").css({
			"filter": "alpha(opacity = 50)",
			"opacity": "0.5"
		});
	}
}

function ctcolFriendRight() {
	if (cfRightIndex &lt; cfSum) {
		$("#cf_td_" + cfLeftIndex).hide();
		cfLeftIndex = cfLeftIndex + 1;
		cfRightIndex = cfRightIndex + 1;
		$("#cf_td_" + cfRightIndex).show();
		$("#cfLeft").css({
			"filter": "alpha(opacity = 100)",
			"opacity": "1"
		});
	}
	if (cfRightIndex == cfSum) {
		$("#cfRight").css({
			"filter": "alpha(opacity = 50)",
			"opacity": "0.5"
		});
	}
}

function hideSysTipContent() {
	$("#sys-tip-content").fadeOut(100);
}</pre></body></html>