//=================================
//
// 信亦达网站专用管理系统
//    Webmaster@tktop.com 
//        www.tktop.com
//
//     版权所有·请勿它用
//
//=================================

//菜单
var menuOffX=0	//菜单距连接文字最左端距离
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>");
//菜单END

//cn
var index='<div class=menuitems><a href=\"../index.asp\">网 站 首 页</a>'
var CoProfile='<div class=menuitems><a href=\"../CoProfile.asp\">公 司 介 绍</a></div><div class=menuitems><a href=\"../CoCulture.asp\">公 司 文 化</a></div><div class=menuitems><a href=\"../CoOrganize.asp\">组 织 机 构</a></div><div class=menuitems><a href=\"../CoPrinciple.asp\">精 神 理 念</a></div><div class=menuitems><a href=\"../CoContact.asp\">联 系 我 们</a></div>'
var News='<div class=menuitems><a href=\"../News.asp\">公 司 新 闻</a></div><div class=menuitems><a href=\"../yeNews.asp\">业 内 资 讯</a></div>'
var Product= '<div class=menuitems><a href=\"../Product.asp\">产 品 展 示</a></div><div class=menuitems><a href=\"../Products.asp\">产 品 分 类</a></div><div class=menuitems><a href=\"../search.asp\">产 品 搜 索</a></div>'
var Solution='<div class=menuitems><a href=\"../Solution.asp\">方 案 中 心</a></div><div class=menuitems><a href=\"../Stories.asp\">成 功 案 例</a></div>'
var Partner='<div class=menuitems><a href=\"../Partner.asp\">厂 商 登 录</a></div><div class=menuitems><a href=\"../Partnera.asp\">VIP顾客登录</a></div>'
var Job='<div class=menuitems><a href=\"./webScaninc/datamatrixbarcodeverifier.asp\">MIL-STD 130M Verification</a></div><div class=menuitems><a href=\"./webscaninc/linearbarcodeverifier.asp\">Linear Verification</a></div><div class=menuitems><a href=\"./webScaninc/pdf417barcodeverifier.asp\">PDF417 Verification</a></div><div class=menuitems><a href=\"./webScaninc/datamatrixbarcodeverifier.asp\">Data Matrix</a></div><div class=menuitems><a href=\"./webScaninc/datamatrixbarcodeverifier.asp\">RSS Verification</a></div><div class=menuitems><a href=\"./webScaninc/rssbarcodeverifier.asp\">Composite Symbology</a></div>'
var service='<div class=menuitems><a href=\"../warranty.asp\">售后服务查询</a></div><div class=menuitems><a href=\"../service.asp\">信 息 反 馈</a></div>'
var Member='<div class=menuitems><a href=\"../products.asp\"> 产 品 选 购</a></div><div class=menuitems><a href=\"../Member.asp\">会 员 中 心</a></div><div class=menuitems><a href=\"../NetBook.asp\">留 言 中 心</a></div><div class=menuitems><a href=\"../E_shop.asp\">订 单 查 询</a></div>'



//En
var En_index='<div class=menuitems><a href=\"En_index.asp\">HomePage</a></div><div class=menuitems><a href=\"Default.asp\">Home image</a></div>'

var En_CoProfile='<div class=menuitems><a href=\"En_CoProfile.asp\">Co,introduction</a></div><div class=menuitems><a href=\"En_CoCulture.asp\">Co,culture</a></div><div class=menuitems><a href=\"En_CoOrganize.asp\">Organization</a></div><div class=menuitems><a href=\"En_CoPrinciple.asp\">Spiritual idea</a></div><div class=menuitems><a href=\"En_CoContact.asp\">Contact us</a></div>' //Spiritual idea 精 神 理 念Principle

var En_News='<div class=menuitems><a href=\"#\">Co,news</a></div><div class=menuitems><a href=\"#\">Trade info</a></div>'

var En_Product='<div class=menuitems><a href=\"En_Product.asp\">Product show</a></div><div class=menuitems><a href=\"En_Products.asp\">Product class</a></div><div class=menuitems><a href=\"En_search.asp\">Product Search</a></div>'

var En_Solution='<div class=menuitems><a href=\"En_Solution.asp\">Solution Centre</a></div><div class=menuitems><a href=\"En_Img.asp\">Success Stories</a></div>'

var En_Partner='<div class=menuitems><a href=\"En_Partner.asp\">Factory Login</a></div><div class=menuitems><a href=\"En_Partnera.asp\">VIP Buyer Login</a></div>'

var En_Job='<div class=menuitems><a href=\"En_Job.asp\">Job Recruitment</a></div><div class=menuitems><a href=\"En_Jobs.asp\">Job Tactics</a></div>'

var En_Member='<div class=menuitems><a href=\"En_Product.asp\">Products Select</a></div><div class=menuitems><a href=\"En_Server.asp\">Member centre</a></div><div class=menuitems><a href=\"En_NetBook.asp\">Leave word</a></div><div class=menuitems><a href=\"En_E_shop.asp\">Order inquiry</a></div>'




<!--
		function MM_findObj(n, d) { //v4.01
		  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
		  if(!x && d.getElementById) x=d.getElementById(n);return x;
		}
		
		function MM_showHideLayers() { //v6.0
		  var i,p,v,obj,args=MM_showHideLayers.arguments;
		  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
			if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
			obj.visibility=v; }
		}
		//-->
		
		
		
					function showpic(nub){
					var cWidth,cHeight;
					cWidth = screen.width;
					cHeight = screen.height;
					nub=nub-1;
					var cObj = document.createElement("div");
					cObj.setAttribute("id","cdiv");
					cObj.style.position = "absolute";
					cObj.style.top = 0;
					cObj.style.left = 0;
					cObj.style.backgroundColor = "#999999";
					cObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
					cObj.style.width = cWidth +"px";
					cObj.style.height = "1620px";
					cObj.style.zIndex = "1000";
					document.body.appendChild(cObj);
					var iObj = document.createElement("img");
					iObj.setAttribute("id","cimg");
					iObj.style.position = "absolute";
					iObj.style.top = "300";
					iObj.style.left = "40%"; 
					iObj.style.width = "730	px";
					iObj.style.height ="400px";
					iObj.style.marginLeft = "-220px" ;
					iObj.style.marginTop = -155+"px";
					iObj.style.textAlign = "center";
					iObj.src = "Images/sb_"+nub+".gif";
					iObj.style.zIndex = "1001";
					iObj.style.cursor = "hand";
					iObj.onclick = function(){
					   document.body.removeChild(iObj);
					   document.body.removeChild(cObj);
					}
					document.body.appendChild(iObj);
					}
		
		
		
				function zC1(){
					var cWidth,cHeight;
					cWidth = screen.width;
					cHeight = screen.height;
					var cObj = document.createElement("div");
					cObj.setAttribute("id","cdiv");
					cObj.style.position = "absolute";
					cObj.style.top = 0;
					cObj.style.left = 0;
					cObj.style.backgroundColor = "#999999";
					cObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
					cObj.style.width = cWidth +"px";
					cObj.style.height = "1400px";
					cObj.style.zIndex = "1000";
					document.body.appendChild(cObj);
					var iObj = document.createElement("img");
					iObj.setAttribute("id","cimg");
					iObj.style.position = "absolute";
					iObj.style.top = "1000";
					iObj.style.left = "50%"; 
					iObj.style.width = "400px";
					iObj.style.height ="320px";
					iObj.style.marginLeft = "-220px" ;
					iObj.style.marginTop = -155+"px";
					iObj.style.textAlign = "center";
					iObj.src = "Images/rohs_4.gif";
					iObj.style.zIndex = "1001";
					iObj.style.cursor = "hand";
					iObj.onclick = function(){
					   document.body.removeChild(iObj);
					   document.body.removeChild(cObj);
					}
					document.body.appendChild(iObj);
					}
					
					function zC2(){
					var cWidth,cHeight;
					cWidth = screen.width;
					cHeight = screen.height;
					var cObj = document.createElement("div");
					cObj.setAttribute("id","cdiv");
					cObj.style.position = "absolute";
					cObj.style.top = 0;
					cObj.style.left = 0;
					cObj.style.backgroundColor = "#999999";
					cObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
					cObj.style.width = cWidth +"px";
					cObj.style.height = "1400px";
					cObj.style.zIndex = "1000";
					document.body.appendChild(cObj);
					var iObj = document.createElement("img");
					iObj.setAttribute("id","cimg");
					iObj.style.position = "absolute";
					iObj.style.top = "1000";
					iObj.style.left = "50%"; 
					iObj.style.width = "500px";
					iObj.style.height ="320px";
					iObj.style.marginLeft = "-220px" ;
					iObj.style.marginTop = -155+"px";
					iObj.style.textAlign = "center";
					iObj.src = "Images/rohs_5.gif";
					iObj.style.zIndex = "1001";
					iObj.style.cursor = "hand";
					iObj.onclick = function(){
					   document.body.removeChild(iObj);
					   document.body.removeChild(cObj);
					}
					document.body.appendChild(iObj);
					}
					
					function zC3(){
					var cWidth,cHeight;
					cWidth = screen.width;
					cHeight = screen.height;
					var cObj = document.createElement("div");
					cObj.setAttribute("id","cdiv");
					cObj.style.position = "absolute";
					cObj.style.top = 0;
					cObj.style.left = 0;
					cObj.style.backgroundColor = "#999999";
					cObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
					cObj.style.width = cWidth +"px";
					cObj.style.height = "1400px";
					cObj.style.zIndex = "1000";
					document.body.appendChild(cObj);
					var iObj = document.createElement("img");
					iObj.setAttribute("id","cimg");
					iObj.style.position = "absolute";
					iObj.style.top = "1000";
					iObj.style.left = "50%"; 
					iObj.style.width = "500px";
					iObj.style.height ="300px";
					iObj.style.marginLeft = "-220px" ;
					iObj.style.marginTop = -155+"px";
					iObj.style.textAlign = "center";
					iObj.src = "Images/rohs_6.gif";
					iObj.style.zIndex = "1001";
					iObj.style.cursor = "hand";
					iObj.onclick = function(){
					   document.body.removeChild(iObj);
					   document.body.removeChild(cObj);
					}
					document.body.appendChild(iObj);
					}
