var ITop = 81; var ILeft = 80; var IWidth = 100; var IHeight = 20; var IStyle = "font-size:8pt;font-family:arial;"; var IClass = "eng_4_1"; var LStyle = "font-size:8pt;font-family:arial;background-color:#696969 ;filter:alpha(Opacity=95);"; var SeperateWidth = 33; var SeperateText = ""; var CurrentPage = 0; var ELMTDText; var Item= [ { Text:"Service", URL:"#", content: h("Login","/Service/default.aspx") + h("Download Center","/Service/WF_CSD_FLOW.aspx") + h("Quality Assurance","/Service/QualityAssurance.aspx")+ h("Contact Info","/Service/Contact_info.aspx") , width : 52 , lwidth : 150 } ]; //Main******************************************************** function CreateMenu(cPage) { CurrentPage = cPage; menu = new ELMenu(Item); menu.Draw(); } //class ELMenu************************************************ function ELMenu(item) { this.Items = item; this.Draw = ELDraw; } function ELDraw() { var IPosStyle = "position:absolute;z-index:2000;top:" + ITop + ";Left:" + ILeft + ";height:" + IHeight + ";"; w(""); w(""); for (var i=0;i0) w("") w(""); } w(""); w("
" + SeperateText + ""); // if (this.Items[i].URL!="") w(""); // w(this.Items[i].Text); // if (this.Items[i].URL!="") w(""); w("
"); //隔版 var IPosStyle = "position:absolute;z-index:1500;top:" + ITop + ";Left:" + 10 + ";height:" + IHeight + ";"; w(""); w(""); w("
"); w("
"); //Create Layer for (var i=0;i0) { for (var j=0;j"); if (this.Items[i].content!="") { w(" ") } w(this.Items[i].content); w(""); } } //Event Handler************************************************ //Type: 0 Item, 1 Layer function IOver(index,type) { if (type == 0) { ETD = document.getElementById("ETD_" + index); //ETD.style.backgroundColor = "#F2F6FD"; // ETD.style.backgroundImage = "url(http://eservice.coretronic.com/images/button_" + ETD.index + "b.gif)"; ETD.style.backgroundImage = "url(http://eservice.coretronic.com/images/button_3b.gif)"; } Tab = document.getElementById("ETab_" + index); if (Tab.style.display != "") Tab.style.display = ""; var ELMTD = document.getElementById("ELMTD"); if (ELMTD) { ELMTDText = ELMTD.innerHTML; ELMTD.innerHTML = ""; } /* if (document.forms[0]) { for (var i=0;i" + ""+ str +"" + ""+ ""; return str; //return "" + str + ""; } function h2(str,url) { var str ; str="" + "" + "" + "
"+ str +"
"+ ""; return str; //return "" + str + ""; }