// JavaScript Document
<!--

function showLayer(boxid){

hideAll();

{
MultiArray = new Array(5)

MultiArray [0] = new Array(2)
MultiArray [0][0] = "Engineering Department 工程部門"
MultiArray [0][1] = "Rapid Prototyping Machine 首辦機"

MultiArray [1] = new Array(2)
MultiArray [1][0] = "Tooling Department 工模部門"
MultiArray [1][1] = "EDM 火花機"

MultiArray [2] = new Array(2)
MultiArray [2][0] = "Tooling Department 工模部門"
MultiArray [2][1] = "Wide Cutting Machine 切割機"

MultiArray [3] = new Array(2)
MultiArray [3][0] = "Tooling Department 工模部門"
MultiArray [3][1] = "CNC Machine Centre 加工中心"

MultiArray [4] = new Array(2)
MultiArray [4][0] = "Tooling Department 工模部門"
MultiArray [4][1] = "CNC Machine Centre 加工中心"

MultiArray [5] = new Array(2)
MultiArray [5][0] = "Tooling Department 工模部門"
MultiArray [5][1] = "Drilling Machine 鑼床" 

MultiArray [6] = new Array(2)
MultiArray [6][0] = ""
MultiArray [6][1] = "Plastic Injection Department 注塑部門" 

MultiArray [7] = new Array(2)
MultiArray [7][0] = ""
MultiArray [7][1] = "Plastic Injection Department 注塑部門" 

MultiArray [8] = new Array(2)
MultiArray [8][0] = ""
MultiArray [8][1] = "Laboratory 實驗室"  

MultiArray [9] = new Array(2)
MultiArray [9][0] = ""
MultiArray [9][1] = "QC Department 品質檢查部門"  

MultiArray [10] = new Array(2)
MultiArray [10][0] = ""
MultiArray [10][1] = "QC Department 品質檢查部門"  

MultiArray [11] = new Array(2)
MultiArray [11][0] = ""
MultiArray [11][1] = "Warehouse Department 倉庫部門" 


}

theHtml = "<div id=pop_"+boxid+" class=pop_wrapper style=position:absolute; display:none;>";
theHtml += "<div id=pop_logo>";
theHtml += "<span class=p_logo><img src=../../share_images/faci_logo.jpg /></span>";
theHtml += "<span class=p_close><a href=javascript:hideLayer("+boxid+")><img src=../../share_images/faci_close.jpg border=0 /></a></span>";
theHtml += "</div>";
theHtml += "<div class=pop_photo align=center><a href=javascript:hideLayer("+boxid+")><img src=../../share_images/faci_"+boxid+"_l.jpg border=0 /></a></div>";
theHtml += "<div class=pop_desc><p align=center style=width:450px;>";
theHtml += "<span class=p_desc1>"+MultiArray[boxid-1][0]+"</span><span class=p_desc2>"+MultiArray[boxid-1][1]+"</span></p>";
theHtml += "</div>";
theHtml += "</div>";
theHtml += "</div>";

document.getElementById('popups').innerHTML = theHtml;
}

function hideLayer(boxid){
document.getElementById('pop_'+boxid).style.display = "none";
}

function hideAll(){
for (i=1; i<=12; i++){

	if (document.getElementById('pop_'+i)){
	document.getElementById('pop_'+i).style.display = "none";
	}
} 

}


function showLayer_iso(){
theHtml ="<div id=pop3_wrapper>";
theHtml +="<div style='background-color:#638378;padding-bottom:5px;'>";
theHtml +="<div class=p3_logo>";
theHtml +="<span style='margin-top:10px; margin-left:10px; float:left;'><img src=../../share_images/pop_title_iso.jpg width=286 height=42 /></span>";
theHtml +="<span style='float:left; margin-left:260px; margin-top:5px;'><a href=javascript:hideLayer_about('pop3_wrapper'); ><img src=../../share_images/comp_close.jpg border=0/></a></span>";
theHtml +="</div>";
theHtml +="<div style='width:640px; padding-bottom:10px;' align=center><a href=javascript:hideLayer_about('pop3_wrapper'); ><img src=../../share_images/kawah_iso.jpg border=0 /></a></div>";
theHtml +="</div>";

document.getElementById('popups').innerHTML = theHtml;
}

function showLayer_map(){
	
theHtml ="<div id=pop2_wrapper>";
theHtml +="<div style='background-color:#638378;padding-bottom:5px;'>";
theHtml +="<div class=p2_logo>";
theHtml +="<span style='margin-top:15px; margin-left:15px; float:left; '><img src=../../share_images/pop_title_map.jpg /></span>";
theHtml +="<span style='float:left; margin-left:380px; margin-top:20px;'><a href=javascript:hideLayer_about('pop2_wrapper'); ><img src=../../share_images/comp_close.jpg border=0 /></a></span>";
theHtml +="</div>";
theHtml +="<div style='width:640px; padding-bottom:100px;' align=center><a href=javascript:hideLayer_about('pop2_wrapper'); ><img src=../../share_images/kawah_map.jpg border=0 /></a></div>";
theHtml +="</div>";
theHtml +="</div>";
document.getElementById('popups').innerHTML = theHtml;
}

function hideLayer_about(boxid){
document.getElementById(boxid).style.display = "none";
}



//-->
