 


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/gfgfx/js/milonic/sample/XPStyle/";
var img_p1 = "lib/gfgfx/images/";


with(menuStyle_sub=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
fontstyle="normal";
fontweight="normal";
itemwidth=189;
offcolor="#FFFFFF";
oncolor="#990000";
offbgcolor="#FDB508";
onbgcolor="#FCC661";
ondecoration="underline";
padding=6;
separatorcolor="#969698";
subimagepadding=8;
borderwidth=1;
bordercolor="#754004";
borderstyle="solid";
//bgimage=img_p1+"menu_bg.jpg";
subimage=img_p1+"left_menu_item_child.gif";
image="";
imagepadding=2;
}

with(menuStyle_main=new mm_style()){
styleid=1;
bordercolor="#4D4D4D";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
fontstyle="normal";
fontweight="normal";
//itemwidth=189;
itemheight=26;
offcolor="#FFFFFF";
oncolor="#990000";
ondecoration="underline";
padding=0;
subimage=img_p1+"left_menu_item_child1.gif";
subimagepadding=3;
//bgimage=img_p1+"menu_bg.jpg";
bgimage=img_p1+"spacer.gif";
overbgimage=img_p1+"top_nav_bg_on.gif";
image=img_p1+"spacer.gif";
imagewidth=3;
imageheight=26;
separatorimage=img_p1+"top_nav_sep.gif";
separatorwidth=2;
separatorheight=26;
imagepadding=0;
}

// preload image
function milonic_preload_images() {
	milonic_MM_preloadImages( 
		img_p1+"left_menu_item_child.gif", 
		img_p1+"left_menu_item_child1.jpg", 
		img_p1+"spacer.gif", 
		img_p1+"top_nav_bg_on.gif", 
		img_p1+"top_nav_sep.jpg"
	);
}


function milonic_MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  var i,j=d.MM_p.length,a=milonic_MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


cmsonload_add(milonic_preload_images);
//========

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
//orientation="vertical";
orientation="horizontal";
style=menuStyle_main;
top=10;
position="relative";aI("showmenu=;status=首頁;text= 首頁 ;url=./;"); 
aI("showmenu=;status=公司簡介;text= 公司簡介 ;url=content.php?CCId=3;"); 
aI("showmenu=mm_15;status=產品及服務;text= 產品及服務 ;url=content.php?CCId=15;"); 
aI("showmenu=;status=GFG 的優勢;text= GFG 的優勢 ;url=content.php?CCId=5;"); 
aI("showmenu=;status=IB計劃;text= IB計劃 ;url=content.php?CCId=43;"); 
aI("showmenu=mm_45;status=市場介紹;text= 市場介紹 ;url=;"); 
aI("showmenu=;status=風險聲明;text= 風險聲明 ;url=content.php?CCId=44;"); 
aI("showmenu=;status=聯絡我們;text= 聯絡我們 ;url=content.php?CCId=4;"); 
}


with(milonic=new menuname("mm_15")){ 
style=menuStyle_sub; 
aI("showmenu=;status=帳戶類型;text=帳戶類型;url=content.php?CCId=50;"); 
aI("showmenu=;status=開戶流程;text=開戶流程;url=content.php?CCId=51;"); 
aI("showmenu=;status=外匯交易細則;text=外匯交易細則;url=content.php?CCId=52;"); 
aI("showmenu=;status=貴金屬交易細則;text=貴金屬交易細則;url=content.php?CCId=53;"); 
aI("showmenu=;status=期貨交易細則;text=期貨交易細則;url=content.php?CCId=54;"); 
aI("showmenu=;status=高回保;text=高回保;url=content.php?CCId=55;"); 
}


with(milonic=new menuname("mm_45")){ 
style=menuStyle_sub; 
aI("showmenu=;status=貴金屬市場;text=貴金屬市場;url=content.php?CCId=46;"); 
aI("showmenu=;status=外匯市場;text=外匯市場;url=content.php?CCId=47;"); 
aI("showmenu=;status=期貨市場;text=期貨市場;url=content.php?CCId=48;"); 
aI("showmenu=;status=新手入門;text=新手入門;url=content.php?CCId=49;"); 
}

drawMenus();

