// JavaScript Document
// 顶部导航

var menuOffX=-15
var menuOffY=20
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all

function ShowMenu(e,vmenu,mod){
	which=vmenu
	menuobj=document.getElementById("popmenu")
	menuobj.thestyle=menuobj.style
	menuobj.innerHTML=which
	menuobj.contentwidth=menuobj.offsetWidth
	eventX=e.clientX
	eventY=e.clientY
	var rightedge=document.body.clientWidth-eventX
	var bottomedge=document.body.clientHeight-eventY
	
	if (rightedge<menuobj.contentwidth)
		menuobj.thestyle.left=document.body.scrollLeft+eventX-menuobj.contentwidth+menuOffX
	else
		menuobj.thestyle.left=ie4? ie_x(event.srcElement)+menuOffX : ns6? window.pageXOffset+eventX : eventX
		
	if (bottomedge<menuobj.contentheight&&mod!=0)
		menuobj.thestyle.top=document.body.scrollTop+eventY-menuobj.contentheight-event.offsetY+menuOffY-23
	else
		menuobj.thestyle.top=ie4? ie_y(event.srcElement)+menuOffY : ns6? window.pageYOffset+eventY+10 : eventY
		menuobj.thestyle.visibility="visible"
}

function ie_y(e){
	var t=e.offsetTop;
	while(e=e.offsetParent){
		t+=e.offsetTop;
	}
	return t;
}

function ie_x(e){
	var l=e.offsetLeft;
	while(e=e.offsetParent){
		l+=e.offsetLeft;
	}
	return l;
}

function highlightmenu(e,state){
	if (document.all)
		source_el=event.srcElement
		while(source_el.id!="popmenu"){
			source_el=document.getElementById? source_el.parentNode : source_el.parentElement
			if (source_el.className=="menuitems"){
				source_el.id=(state=="on")? "mouseoverstyle" : ""
		}
	}
}

function hidemenu(){ if (window.menuobj)menuobj.thestyle.visibility="hidden"}

function dynamichide(e){ if ((ie4||ns6)&&!menuobj.contains(e.toElement))hidemenu()}

document.onclick=hidemenu
document.write("<div class=menuskin id=popmenu onmouseover=highlightmenu(event,'on') onmouseout=highlightmenu(event,'off');dynamichide(event)></div>");
var About ='<div class=menuitems><a href="/about/gsjj.htm">公司简介</a></div>'
	 	About+='<div class=menuitems><a href="/about/about_jg.htm">公司架构</a></div>'
		About+='<div class=menuitems><a href="/about/about_wh.htm">企业文化</a></div>'
		About+='<div class=menuitems><a href="/about/gsys.htm">公司优势</a></div>'
		About+='<div class=menuitems><a href="/about/hr.htm">诚聘英才</a></div>'
		About+='<div class=menuitems><a href="/about/hzhb.htm">合作伙伴</a></div>'
var News ='<div class=menuitems><a href="/about/news.htm#gs">公司新闻</a></div>'
		News+='<div class=menuitems><a href="/about/news.htm#hy">行业新闻</a></div>'
var Product ='<div class=menuitems><a href="/Product/DMV.htm">DMVision R 系列</a></div>'
        Product+='<div class=menuitems><a href="/Product/MIT.htm">DMVision V 系列</a></div>'
		Product+='<div class=menuitems><a href="/Product/chaobao.htm">DMVision T 系列</a></div>'
		Product+='<div class=menuitems><a href="/Product/SXGA.htm">DMVision H 系列</a></div>'
		Product+='<div class=menuitems><a href="/Product/SMV.htm">SMV控制器及软件</a></div>'
		Product+='<div class=menuitems><a href="/Product/DMVison-L.htm">DMVison L(液晶)系列</a></div>'
		var Art ='<div class=menuitems><a href="/art/art_zsjs.htm">EXV 独特技术</a></div>'
		Art+='<div class=menuitems><a href="/art/art_jszl.htm">其他相关技术</a></div>'
var Service ='<div class=menuitems><a href="/service/service_q.htm">售前设计服务</a></div>'
		Service+='<div class=menuitems><a href="/service/service_z.htm">售中调试服务</a></div>'
		Service+='<div class=menuitems><a href="/service/service_h.htm">售后维护服务</a></div>'
var Case ='<div class=menuitems><a href="/Product/Product_anli.htm">经典案例</a></div>'
		Case+='<div class=menuitems><a href="/Product/Product_anli2.htm">其他案例</a></div>'
var IMG1="<img height=20 src=/pic/menubg.jpg"
var IMG2="/pic/menu_bg.gif width=1 align=absMiddle>"

function CnTopMenu(JsSkins){
document.write ('<div align="left">');
document.write ('<table cellPadding=0 cellSpacing=0>');
document.write ('<tr>');
document.write ('<td>');
document.write ('<table width="100%" cellSpacing=0 cellPadding=0 border=0>');
document.write ('<tr>');
document.write ('<td height=27 valign="middle" align="center" background="/pic/menu_bg.gif">');
document.write ('&#12288;&#12288;<a href="http://www.exv.com.cn">展视首页</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/about/gsjj.htm" onMouseOver=ShowMenu(event,About)>关于展视</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/about/news.htm" onMouseOver=ShowMenu(event,News)>新闻中心</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/Product/Product1.htm" onMouseOver=ShowMenu(event,Product)>产品中心</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/art/art1.htm" onMouseOver=ShowMenu(event,Art)>技术资料</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/service/service_q.htm" onMouseOver=ShowMenu(event,Service)>客户服务</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/Product/Product_anli.htm" onMouseOver=ShowMenu(event,Case)>工程案例</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('&#12288;<a href="/about/lianxi.htm">联系展视</a>'+IMG1+JsSkins+IMG2+'&#12288;');
document.write ('<img width="260" height="0">');
//document.write ('<a href="/index.htm" title="大屏幕拼接墙专业制造商 - 深圳市展视科技有限公司"><span class="en">&raquo; 简体中文</span></a> <a href="http://www.exvision.com/" title="The Manufacturer of Large Screen Display Wall and Large Screen Splicing Wall - SHENZHEN EXVISION TECHNOLOGY CO.,LTD."><span class="en">&raquo; English</span></a>');
document.write ('</td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('</td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('</div>');
}




document.writeln("<script type=\"text\/javascript\">");
document.writeln("var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https:\/\/ssl.\" : \"http:\/\/www.\");");
document.writeln("document.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com\/ga.js\' type=\'text\/javascript\'%3E%3C\/script%3E\"));");
document.writeln("<\/script>");
document.writeln("<script type=\"text\/javascript\">");
document.writeln("try {");
document.writeln("var pageTracker = _gat._getTracker(\"UA-12367825-1\");");
document.writeln("pageTracker._trackPageview();");
document.writeln("} catch(err) {}<\/script>");



