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:"About Us",
URL:"#",
content:
h("Company OverView","/aboutus/CompanyOverview.aspx") +
h("Corporate History","/aboutus/CorporateHistory.aspx") +
h("Manufacturing Facilities","/aboutus/ManufacturingFacilities.aspx") +
h("Environment,Safety & Health Management","/eshm/index.html") +
h("Contact Us","/aboutus/ContactUs.aspx")
,
width : 66
,
lwidth : 280
}
,
{
Text:"Product",
URL:"#",
content:
h("Backlight","/Product/Backlight.aspx") +
h("Front Projection","/Product/Front_Projection.aspx") +
h("LCD Monitor","/Product/LCD_Monitor.aspx") +
h("Digital Signage","/Product/dSignage.aspx")
// h("Surveillance Products","/product/nvr.aspx") +
// h2("Network Video Recorder","/product/nvr.aspx") +
// h2("Wireless Network Camera","/product/WebCam.aspx") +
// h2("TV Viewer","/product/tv_viewer.aspx")
,
width : 62 ,
lwidth : 200
}
,
{
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
}
,
{
Text:"Career",
URL:"#",
content:
// h("Compensation Benefit","/career/CompensationBenefits.aspx") +
h("On-Line Apply","javascript:showpage_all_pos(\"http://www.coretronic.com/hr\",800,620,0,0)")
,
width : 46,
lwidth : 160
}
,
{
Text:"Investiors Relations",
URL:"#",
content:
h("Financials","/Investors/Financials.aspx") +
h("Investor Resources","/Investors/Investor_Resources.aspx") +
h("Investor Events","/Investors/Investor_Event.aspx") +
h("Press Release","/Investors/Press_Release.aspx")
,
width : 130,
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("
");
//隔版
var IPosStyle = "position:absolute;z-index:1500;top:" + ITop + ";Left:" + 10 + ";height:" + IHeight + ";";
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://www.coretronic.com/images/button_" + ETD.index + "b.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
" +
" | " +
""+
" |
";
return str;
//return " |
";
}
function h2(str,url)
{
var str ;
str=" |
"+
" |
";
return str;
//return " |
";
}