_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=2;




with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#598527";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CBD79B";
offcolor="#515151";
onbgcolor="#598527";
oncolor="#ffffff";
overfilter="Fade(duration=0.2)";
padding=5;
pagebgcolor="#95A556";
pagecolor="#ffffff";
separatorcolor="#598527";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(AllImagesStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
fontstyle="normal";
fontweight="normal";
padding=5;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=AllImagesStyle;
top=0;
aI("image=img/btn_cp.jpg;overimage=img/btn_cp_o.jpg;status=Back To Home Page;showmenu=cp;");
aI("image=img/btn_service.jpg;overimage=img/btn_service_o.jpg;showmenu=service;");
aI("image=img/btn_form.jpg;overimage=img/btn_form_o.jpg;url=form.htm;");
aI("image=img/btn_paymentrecord.jpg;overimage=img/btn_paymentrecord_o.jpg;url=payment.htm;");
aI("image=img/btn_contactus.jpg;overimage=img/btn_contactus_o.jpg;url=contactus.htm;");
}

with(milonic=new menuname("cp")){
overflow="scroll";
style=menuStyle;
aI("text=公司背景;url=cp.htm#bg");
aI("text=公司目標;url=cp.htm#aim");
aI("text=康柏宗旨;url=cp.htm#future");
aI("text=服務網絡;url=cp.htm#network");
aI("text=服務展望;url=cp.htm#hope");
}

with(milonic=new menuname("service")){
style=menuStyle;
aI("text=康柏個人及家庭醫療計劃;url=medical.htm;");
aI("text=健康檢查計劃;url=health.htm;");
aI("text=牙科保健計劃;url=dental.htm;");
aI("text=預防注射服務計劃;url=vaccination.htm;");
aI("text=完美肌膚計劃;url=shincare.htm;");
aI("text=營養纖體課程;url=beauty.htm;");
aI("text=醫療法律顧問服務;url=legal.htm;");
}


drawMenus();


