

 var h;
 var w;
 var l;
 var t;
 var topMar = 3;
 var leftMar = -10;
 var space = 2;
 var isvisible;
 var MENU_SHADOW_COLOR='#52618c';
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}
}

function ShowMenu(vMnuCode,tWidth) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=tableborder1 onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=tablebody1>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar+4;
	t = vSrc.offsetTop + topMar + h + space-2;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}

	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
	var i;
	for (i=size; i>0; i--)
	{
		var rect = document.createElement('div');
		var rs = rect.style
		rs.position = 'absolute';
		rs.left = (el.style.posLeft + i) + 'px';
		rs.top = (el.style.posTop + i) + 'px';
		rs.width = el.offsetWidth + 'px';
		rs.height = el.offsetHeight + 'px';
		rs.zIndex = el.style.zIndex - i;
		rs.backgroundColor = color;
		var opacity = 1 - i / (i + 1);
		rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
		el.insertAdjacentElement('afterEnd', rect);
		global.fo_shadows[global.fo_shadows.length] = rect;
	}
}
var m1= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/dxjj/xxjj.htm"><font color="#ffffff">学校简介</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/dxjj/gljg_1.htm"><font color="#ffffff">机构设置</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/dxjj/xrld_1.htm"><font color="#ffffff">现任领导</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/dxjj/zjxz.html"><font color="#ffffff">专家学者</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/webpic2/index.aspx"><font color="#ffffff">校园风景</font></a>&nbsp;'
var m2= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/jwc/"><font color="#ffffff">教务处</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/kjc/"><font color="#ffffff">科技处</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/jpkc/"><font color="#ffffff">精品课程</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/jwc/pjzl/2/xneiy4u4.asp"><font color="#ffffff">评建专栏</font></a>&nbsp;'
var m3= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/zhaoban/"><font color="#ffffff">招生信息</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/jyzd/"><font color="#ffffff">就业指导</font></a>&nbsp'
var m4= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"/webnew/index.aspx"><font color="#ffffff">&nbsp;校 报</font></a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/xuebao/"><font color="#ffffff">&nbsp;学 报</font></a>&nbsp;'
var m5= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://125.221.0.2:83"><font color="#ffffff">网络硬盘</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://edu.youdian.com"><font color="#ffffff">短信平台</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://125.221.0.2/index.asp"><font color="#ffffff">邮件服务</font></a>&nbsp;'
var m6= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://www.ezutsg.cn/cnkiautologin.htm"><font color="#ffffff">CNKI期刊网</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://172.18.95.248:81/sdbook"><font color="#ffffff">电子图书</font></a>&nbsp;'
var m7= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/xgc/"><font color="#ffffff">学工处</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:14pt; href=\"http://ezu.cn/tw/"><font color="#ffffff">团委</font></a>&nbsp;'
var m8= '&nbsp;<a style=font-size:9pt;line-height:14pt; href=\""><font color="#ffffff">评</font></a>&nbsp;'


 


