 var h;
 var w;
 var l;
 var t;
 var topMar = 6;
 var leftMar = -20;
 var space = 1;
 var isvisible;

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
	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) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table border=0 cellspacing=0 cellpadding=0><tr><td nowrap align=left>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar;
	t = vSrc.offsetTop + topMar + h + space;
	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;
}


function inCell(cell, newcolor) {
    if (!cell.contains(event.fromElement)) {
    cell.bgColor = newcolor;
   }
}

function outCell(cell, newcolor) {
     if (!cell.contains(event.toElement)) {
     cell.bgColor = newcolor;
 }
}

var aa= '<table width="160" border="0" cellspacing="0" cellpadding="0" bgcolor="#0078C6"><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./p_ol.htm">奥运之旅旅游光盘</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./p_120.htm">救护车调度指挥系统</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./p_tv.htm">电视监控系统</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./p_map.htm">多媒体地图</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./p_website.htm">网站建设</a></td></tr></table></td></tr></table>'
        


var bb= '<table width="100" border="0" cellspacing="0" cellpadding="0" bgcolor="#0078C6"><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./case.htm">系统工程</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./case2.htm">网站建设</a></td></tr></table></td></tr></table>'


var cc= '<table width="100" border="0" cellspacing="0" cellpadding="0" bgcolor="#0078C6"><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./aboutus.htm">关于我们</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./about_com.htm">公司概况</a></td></tr></table><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./about_cont.htm">联系方式</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./about_zzjg.htm">组织结构</a></td></tr></table></td></tr></table>'


var dd= '<table width="100" border="0" cellspacing="0" cellpadding="0" bgcolor="#0078C6"><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./server.php">服务宗旨</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./server_item.htm">服务项目</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./ser_fedback.php">客户留言</a></td></tr></table></td></tr></table>'



var ee= '<table width="200" border="0" cellspacing="0" cellpadding="0" bgcolor="#0078C6"><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./solution.htm">车辆综合指挥调度系统</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./solution1.htm">地理信息系统解决方案</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./solution2.htm">无线局域网解决方案</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./solution3.htm">ＧＰＳ应用解决方案</a></td></tr></table></td></tr><tr><td height="20" onMouseOut="outCell(this, \'#0078C6\');" onMouseOver="inCell(this, \'#1294EE\');"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><td width="20"></td><td><a style=font-size:9pt;color:#ffffff; href="./solution4.htm">网站建设解决方案</a></td></tr></table></td></tr></table>'

