
//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#999999';//定义下拉菜单阴影色
 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=table02 onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=table02>" + 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;
	}
}

//菜单列表1
var menu_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xydt_read.php?FileID=3579' >校长致辞</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xxjj.php' >学校简介</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xydt_read.php?FileID=3540' >校长简介</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href=/file_post/display/jgjj.php>机构简介</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xydt_read.php?FileID=3617' >办公电话</a><br>";
//菜单列表2
var menu1_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php' >教学服务</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php' >专业导航</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php' >实践教学</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php'>教学资源</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php' >教研文摘</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php' >队伍建设</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jxfw.php'>导修主任</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/jxgl' >教学管理</a><br>";
//菜单列表3
var menu2_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jwgl.php' >开放教育</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/jwgl.php'>教务管理</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://jwgl.latvu.ah.cn'>教务系统</a><br>";
//菜单列表4
var menu3_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/zsjy.php' >开放教育招生</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/bm_admin.php' >报名统计系统</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://openonline.edu.cn' >奥鹏远程</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/zsjy.php' >各类培训</a><br>";
//菜单列表5
var menu4_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xsgl.php' >毕业生风采</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xsgl.php' >专业管理</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xsgl.php' >规章制度</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xsgl.php' >作品展示</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xsgl.php' >学习计划</a><br>";
//菜单列表6
var menu5_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://mail.latvu.ah.cn:3000/' >电子邮局</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/admin.php' >后台管理</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xydt_read.php?FileID=3622' >通讯录</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/display/xydt_topic.php?TopicCode=4E02' >技术保障</a><br>&nbsp<IMG SRC='images/find.jpg' /*tpa= images/find.jpg*/>&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='/file_post/jxgl/xl/xl_display.php?submitDisplay=1' /*tpa= oa.asp*/>当前校历</a><br>";
//菜单列表7
var menu6_skin="&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.ahsxtvu.cn/' >寿县</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.ahscdd.com.cn' >舒城</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.ahjztvu.com/' >金寨</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.ahhqsf.cn' >霍邱</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.ahhstvu.cn/'>霍山</a><br>&nbsp;<IMG SRC='/images/find.jpg' >&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://www.yjtvu.ah.cn' >叶集</a><br>";
//菜单列表8
var menu7_skin="&nbsp;<IMG SRC='images/find.jpg' /*tpa= images/find.jpg*/>&nbsp;<a style=font-size:9pt;line-height:16pt; class= tablefont href='http://vod.latvu.ah.cn/05cjsj/' /*tpa= oa.asp*/>05春计算机</a><br>";
