// JavaScript Document
document.write("<script src='/js/jquery-1.3.js'><\/scr"+"ipt>");
$('document').ready(function(){numIcon(); });
function numIcon(){
	//CIEIN推荐
	$("#ciein_tj").children().eq(0).attr("class","numIcon2");
	$("#ciein_tj").children().slice(0,2).bind("mouseover",function()
		{ 
		$("#ciein_tj").children().slice(0,2).attr("class","numIcon1");
		$(this).attr("class","numIcon2");
		$("#ciein_tj").children().each(function(i){
			id = i+1;
			document.getElementById('tj_page'+id).style.display = "none";
		});
		id = getPageNum($(this).attr("id"));
		document.getElementById('tj_page'+id).style.display = "block";
		}
	);
	//新闻动态
	$("#ciein_xwdt").children().eq(0).attr("class","numIcon2");
	$("#ciein_xwdt").children().slice(0,2).bind("mouseover",function()
		{ 
		$("#ciein_xwdt").children().slice(0,2).attr("class","numIcon1");
		$(this).attr("class","numIcon2");
		$("#ciein_xwdt").children().each(function(i){
			id = i+1;
			document.getElementById('xwdt_page'+id).style.display = "none";
		});
		id = getPageNum($(this).attr("id"));
		document.getElementById('xwdt_page'+id).style.display = "block";
		}
	);
}
function getPageNum(str){
	var temp_arr = new Array();
	temp_arr = str.split('_');
	var last = temp_arr.length-1;
	return temp_arr[last];
}
