// JavaScript Document
function printNav() {
	var arr = [
		["/intro/intro.asp", "学院介绍"],
		["/recruit.asp", "招生信息", "", "hot"],
		//["/student.asp", "毕业生信息", "", "hot"],
		["/ddzs.asp", "单独招生报名", "", ""],
		//["/ssl.htm", "双学历招生", "_blank", ""],
	    ["/student.asp", "毕业生信息"],
		["/job.asp", "企业招聘"],
		["/plurality.asp", "兼职"],
		["/news.asp?news_type=%BE%CD%D2%B5%D5%FE%B2%DF", "就业政策"],
		["/news.asp?news_type=%BE%CD%D2%B5%D6%B8%B5%BC", "就业指导"],
		//["http://www.nnzyxy.com", "校友网", "_blank"],
		["/news.asp?news_type=%CA%D3%C6%B5%B5%E3%B2%A5", "视频点播"]
		//["/ddzs/default.aspx", "在线报名", "_blank", ""],
		//["/guest.asp", "网上答疑"],
	];
	var result = '<div class="nav"><ul><li class="indexRed" style="width:55px"><a href="/default.asp">首页</a></li>';
	for (var i in arr) {
		if(arr[i][1] == "招生信息"){
			//result += '<li class="' + (arr[i][2] != undefined && arr[i][3] == "hot" ? 'hot' : '') + 'off" onmouseover="this.className = (this.className == \'hotoff\' ? \'hoton\' : \'on\');" onmouseout="this.className = (this.className == \'hoton\' ? \'hotoff\' : \'off\');"><a href="' + arr[i][0] + '"' + (arr[i][2] != undefined && arr[i][2] == "_blank" ? ' target="_blank"' : '') + ' class="hottext">' + arr[i][1] + '</a></li>';
			result += '<li class="indexRed" style="width:70px"><a href="/recruit.asp">招生信息</a></li>';
		}
		else if(arr[i][1] == "单独招生报名"){
			result += '<li class="indexRed" style="width:100px"><a href="/ddzs.asp">单独招生报名</a></li>';
		}
		else{
			result += '<li class="' + (arr[i][2] != undefined && arr[i][3] == "hot" ? 'hot' : '') + 'off" onmouseover="this.className = (this.className == \'hotoff\' ? \'hoton\' : \'on\');" onmouseout="this.className = (this.className == \'hoton\' ? \'hotoff\' : \'off\');"><a href="' + arr[i][0] + '"' + (arr[i][2] != undefined && arr[i][2] == "_blank" ? ' target="_blank"' : '') + '>' + arr[i][1] + '</a></li>';
		}
	}
	//return result + '<li class="' + (arr[i][2] != undefined && arr[i][3] == "hot" ? 'hot' : '') + 'off" onmouseover="this.className = (this.className == \'hotoff\' ? \'hoton\' : \'on\');" onmouseout="this.className = (this.className == \'hoton\' ? \'hotoff\' : \'off\');" style="width:55px"><a href="/ddzs/default.aspx"><img src="/js/zxbm.gif" border="0" alt="" valign="middle" style="margin-top:5px" title="2009年单独招生在线报名"></a></li></ul></div>';
	return result;
}

document.write(printNav());