//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#9DBDF3';//定义下拉菜单阴影色
 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 = "<form name=form100><input type=hidden name=myFlag><table id='submenu' border=1 bordercolor=526d21 cellspacing=0 cellpadding=0  style='width:"+tWidth+"; border-collapse: collapse' onmouseout='HideMenu()'>" + vMnuCode + "</table>";

	h = vSrc.offsetHeight + 10;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar -6;
	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;
}

//菜单列表
var menu00="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=8'>学校概况</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=9'>领导风采</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=10'>中层干部</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=11'>名师风采</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=12'>硕果展示</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=13'>教学设施</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='list.php?typeid=1&smallclass=14'>校园风光</a></td></tr>";
var menu01="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=2&smallclass=15'>校园动态</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=2&smallclass=16'>工作安排</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=2&smallclass=17'>招生简章</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=2&smallclass=18'>学校文档</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=2&smallclass=34'>规章制度</a></td></tr>";
var menu02="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=3&smallclass=19'>本地快讯</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=3&smallclass=20'>国内快讯</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=3&smallclass=21'>高考快讯</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=3&smallclass=22'>中考快讯</a></td></tr>";
var menu03="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=4&smallclass=23'>教科研信息</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=4&smallclass=24'>课题研究</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=4&smallclass=25'>课程改革</a></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=4&smallclass=26'>教学论文</a></td></tr>";
var menu04="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=5&smallclass=27'>政策法规</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=5&smallclass=28'>德育服务</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=5&smallclass=29'>家长学校</a></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=5&smallclass=30'>心理辅导</a></td></tr>";
var menu05="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=6&smallclass=31'>校园之星</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=6&smallclass=32'>活动掠影</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=6&smallclass=33'>学生作品</a></td></tr>";
var menu06="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=7&smallclass=34'>教师管理</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=7&smallclass=35'>学生管理</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href=' list.php?typeid=7&smallclass=36'>学校管理</a></td></tr>";
var menu07="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/zzjg.asp'>组织机构</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/main.asp?xxlx=02'>支部生活</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/member.asp?party_zuid=all'>党员风采</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/main.asp?xxlx=05'>文件讲话</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/main.asp?xxlx=04'>学习专栏</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='party/main.asp?xxlx=06'>业余党校</a></td></tr>";
var menu08="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=05'>德育文件</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=06'>德育管理</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=01'>德育研究</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=02'>德育活动</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=03'>晨会教育</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='dyzc/main.asp?xxlx=04'>校园安全</a></td></tr>";
var menu09="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='xinli/main.asp?xxlx=01'>心理健康</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='xinli/main.asp?xxlx=02'>热点话题</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='xinli/main.asp?xxlx=03'>心理趣闻</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='xinli/main.asp?xxlx=04'>心理医疗</a></td></tr>";
var menu10="<tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=01'>具体实施</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=02'>课题集锦</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=03'>理论荟萃</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=04'>方法指导</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=05'>参考案例</a></td></tr><tr><td nowrap align=center height=20 onmouseover=Javascript:this.style.backgroundColor='#EDF5D2' onmouseout=Javascript:this.style.backgroundColor='#9DBDF3'><a href='yjxxx/main.asp?xxlx=06'>成果展示</a></td></tr>";

