﻿function showtb(tbnum){whichEl = eval("tbtype" + tbnum);if (whichEl.style.display == "none"){eval("tbtype" + tbnum + ".style.display=\"\";");}else{eval("tbtype" + tbnum + ".style.display=\"none\";");}}
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 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=tableborder onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=tablebody>" + 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;
}

var bd_list_y=''
function bdlist(){
document.write("")}
var stylelist='·<a href=utfcase.asp>電子工程事業部</a><br>·<a href=utfmedical.asp>醫療工程事業部</a><br>·<a href=utfproduct.asp>淨化產品事業部 </a>'
var stylelist1='·<a href=utfaboutus.asp>公司簡介</a><br>·<a href=utforganize.asp>組織架構</a>'
var stylelist2='·<a href=utfcase.asp>客戶名錄</a><br>·<a href=utfphoto.asp>工程照片</a>'
var stylelist3='·<a href=utfjob.asp>招聘資訊</a><br>·<a href=utfapply.asp>申請表格</a>'

document.writeln("<BODY onmousemove=HideMenu() background=\"\" topMargin=0>");
document.writeln("<DIV id=menuDiv style=\"Z-INDEX: 2; VISIBILITY: hidden; POSITION: absolute\"><\/DIV>");
document.writeln("      <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.writeln("        <tr> ");
document.writeln("          <td> ");
document.writeln("            <p align=\"center\"> ");
document.writeln("            <a href=\"index.asp\">首頁 <\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"utfaboutus.asp\" onmouseover=ShowMenu(stylelist1,90)><SPAN style=\"CURSOR: hand\"> 關於我們 <\/a> | ");
document.writeln("            <a href=\"utfnews.asp\"> 新聞動態 <\/a> &nbsp;|&nbsp; ");

document.writeln("            <a href=\"utfcase.asp\" onmouseover=ShowMenu(stylelist,90)><SPAN style=\"CURSOR: hand\"> 事業領域 <\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"utfjob.asp\" onmouseover=ShowMenu(stylelist3,90)><SPAN style=\"CURSOR: hand\"> 人才招聘 <\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"utfcriterion.asp\"> 行業規範  <\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"utflinkus.asp\"> 聯繫我們 <\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"enaboutus.asp\"> <span style=\"font-family: Verdana, Arial, Helvetica, sans-serif\">English<\/span><\/a> &nbsp;|&nbsp; ");
document.writeln("            <a href=\"aboutus.asp\"> 简体<\/a><\/p>");
document.writeln("          <\/td>");
document.writeln("        <\/tr>");
document.writeln("      <\/table>")