 


fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=10;
_subOffsetLeft=-10;

var img_p = "lib/fxe88_v2006_1/js/milonic/sample/XPStyle/";
var img_p1 = "lib/fxe88_v2006_1/images/";


with(menuStyle_sub=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
fontweight="normal";
itemwidth=178;
offcolor="#2A5D4C";
oncolor="#2A5D4C";
offbgcolor="#EEEEEE";
onbgcolor="#bbbbbb";
ondecoration="underline";
padding=6;
separatorcolor="#969698";
subimagepadding=8;
borderwidth=1;
bordercolor="#4D4D4D";
borderstyle="solid";
bgimage=img_p1+"left_menu_item_sub_bg.jpg";
subimage=img_p1+"left_menu_item_child.gif";
image=img_p1+"left_menu_item_bullet.gif";
imagepadding=2;
}

with(menuStyle_main=new mm_style()){
styleid=1;
bordercolor="#4D4D4D";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
fontweight="normal";
itemwidth=178;
itemheight=30;
offcolor="#2A5D4C";
oncolor="#2A5D4C";
ondecoration="underline";
padding=0;
subimage=img_p1+"left_menu_item_child.gif";
subimagepadding=0;
bgimage=img_p1+"left_menu_item_bg.jpg";
overbgimage=img_p1+"left_menu_item_bg_on.jpg";
image=img_p1+"left_menu_item_bullet.gif";
imagepadding=5;
}

// preload image
function milonic_preload_images() {
	MM_preloadImages( img_p1+"left_menu_item_bg_on.jpg", img_p1+"left_menu_item_bg.jpg", img_p1+"left_menu_item_child.gif", 
	img_p1+"left_menu_item_bullet.gif", img_p1+"left_menu_item_sub_bg.jpg");
}

cmsonload_add(milonic_preload_images);
//========

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="vertical";
style=menuStyle_main;
top=10;
position="relative";aI("showmenu=;status=Home;text=Home;url=content.php?CCId=105;"); 
aI("showmenu=;status=Company Profile;text=Company Profile;url=content.php?CCId=137;"); 
aI("showmenu=mm_110;status=Products and Services;text=Products and Services;url=;"); 
aI("showmenu=mm_190;status=Live Quote \x26 Chart;text=Live Quote \x26 Chart;url=;"); 
aI("showmenu=mm_164;status=Trading Rules;text=Trading Rules;url=;"); 
aI("showmenu=;status=Personal Account;text=Personal Account;url=content.php?CCId=198;"); 
aI("showmenu=;status=Corporate Account;text=Corporate Account;url=content.php?CCId=199;"); 
aI("showmenu=;status=Demo Account;text=Demo Account;url=content.php?CCId=200;"); 
aI("showmenu=mm_169;status=EFX Tutorial;text=EFX Tutorial;url=content.php?CCId=169;"); 
aI("showmenu=;status=Download Zone;text=Download Zone;url=content.php?CCId=172;"); 
aI("showmenu=;status=Deposit/Withdrawal;text=Deposit/Withdrawal;url=content.php?CCId=173;"); 
aI("showmenu=;status=Forms;text=Forms;url=content.php?CCId=174;"); 
aI("showmenu=;status=各國利率 - 息息相關;text=各國利率 - 息息相關;url=content.php?CCId=201;"); 
aI("showmenu=;status=Notice Board;text=Notice Board;url=content.php?CCId=175;"); 
}


with(milonic=new menuname("mm_110")){ 
style=menuStyle_sub; 
aI("showmenu=;status=Trading Rules for Precious Metals;text=Trading Rules for Precious Metals;url=content.php?CCId=155;"); 
aI("showmenu=;status=Trading Rules for Forex;text=Trading Rules for Forex;url=content.php?CCId=156;"); 
aI("showmenu=;status=Other Trading Information;text=Other Trading Information;url=content.php?CCId=157;"); 
aI("showmenu=;status=Advantage of online trading;text=Advantage of online trading;url=content.php?CCId=158;"); 
aI("showmenu=;status=FAQ;text=FAQ;url=content.php?CCId=159;"); 
aI("showmenu=;status=Why choose EFX?;text=Why choose EFX?;url=content.php?CCId=160;"); 
}


with(milonic=new menuname("mm_190")){ 
style=menuStyle_sub; 
aI("showmenu=;status=Live Metal Quote;text=Live Metal Quote;url=javascript:MM_openBrWindow('content.php?CCId=191','_blank','');;"); 
aI("showmenu=;status=Live Metal Chart;text=Live Metal Chart;url=javascript:MM_openBrWindow('content.php?CCId=192','_blank','');;"); 
aI("showmenu=;status=Live Forex Chart;text=Live Forex Chart;url=javascript:MM_openBrWindow('content.php?CCId=193','_blank','');;"); 
}


with(milonic=new menuname("mm_164")){ 
style=menuStyle_sub; 
aI("showmenu=;status=Trading Rules for Precious Metals;text=Trading Rules for Precious Metals;url=content.php?CCId=182;"); 
aI("showmenu=;status=Trading Rules for Forex;text=Trading Rules for Forex;url=content.php?CCId=183;"); 
aI("showmenu=;status=Other Trading Information;text=Other Trading Information;url=content.php?CCId=184;"); 
}


with(milonic=new menuname("mm_169")){ 
style=menuStyle_sub; 
aI("showmenu=;status=市場基本篇;text=市場基本篇;url=content.php?CCId=186;"); 
aI("showmenu=;status=技術篇;text=技術篇;url=content.php?CCId=187;"); 
aI("showmenu=;status=圖表篇;text=圖表篇;url=content.php?CCId=188;"); 
aI("showmenu=;status=指標篇;text=指標篇;url=content.php?CCId=189;"); 
}


drawMenus();


