_menuCloseDelay=400           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=80           // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=0              // Sub menu top offset
offsetTop=9
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
	
_subOffsetLeft=0            // Sub menu left offset

with(menuStyle=new mm_style()){
onbgcolor="#00a651";
oncolor="#ffffff";
offbgcolor="#00b552";
offcolor="#ffffff";
bordercolor="#00b552";
borderstyle="solid";
borderwidth=1;
separatorcolor="#00b552";
separatorsize="1";
padding=4;
fontsize="12";
fontstyle="normal";
fontfamily="arial";
headercolor="#00a651";
headerbgcolor="#ffffff";

subimage="templates/ocb/images/icon_pulldownarrow.gif";

subimagepadding="2";
}

horizontalStyle= new copyOf(menuStyle)
horizontalStyle.offbgcolor="#00a651"
horizontalStyle.offcolor="#FFFFFF"
horizontalStyle.oncolor="#FFFFFF"
//horizontalStyle.separatorimage="bg_line.gif";
//horizontalStyle.separatorcolor="#FFFFFF";
horizontalStyle.separatorsize="0";
horizontalStyle.itemheight="38";
horizontalStyle.bgimage="templates/ocb/images/bg_center.gif";
horizontalStyle.overbgimage="templates/ocb/images/bg_center_over.gif";
horizontalStyle.borderwidth=0;
horizontalStyle.padding=5;
horizontalStyle.fontweight="bold";
horizontalStyle.fontsize="12";
horizontalStyle.subimage="";

with(milonic=new menuname("Main Menu")) {
		alwaysvisible=1;
		orientation="horizontal";
		style=horizontalStyle;
		position="relative";	                                                    
		aI("text=&nbsp;&nbsp;Trang chủ&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Trang chu`;url=index.html;");
		aI("text=&nbsp;&nbsp;Giới thiệu&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Gioi thieu`;url=ocb-gioi-thieu.html;");
		aI("text=&nbsp;&nbsp;Cá nhân&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Ca nhan`;url=khach-hang-ca-nhan.html;");
		aI("text=&nbsp;&nbsp;Doanh nghiệp&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Doanh nghiep`;url=khach-hang-doanh-nghiep.html;");
		aI("text=&nbsp;&nbsp;Mạng lưới&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Mang luoi`;url=ocb-mang-luoi.html;");
		aI("text=&nbsp;&nbsp;Tin tức&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Tin tuc`;url=#;");
		aI("text=&nbsp;&nbsp;Tư vấn&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Tu van`;url=#;");
		aI("text=&nbsp;&nbsp;Nghề nghiệp&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Nghe nghiep`;url=tuyen-dung.html;");
		aI("text=&nbsp;&nbsp;OCB-TV&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Media`;url=#;");
		aI("text=&nbsp;&nbsp;Tiện ích&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`Tien ich`;url=#;");
		aI("text=&nbsp;&nbsp;OCB trên Facebook&nbsp;&nbsp;;bgimage=templates/ocb/images/bg_center.gif;overbgimage=templates/ocb/images/bg_center_over.gif;showmenu=`ocbfb`;url=http://www.facebook.com/phuongdongbank;");
	}

	with(milonic=new menuname("Trang chu")){
		style=menuStyle;
		overflow="scroll";
	}
	
	//Menu gioi thieu ve OCB
	with(milonic=new menuname("Gioi thieu")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Giới thiệu chung&nbsp;;url=ocb-gioi-thieu.html;;");		
		aI("text= &nbsp;Các sự kiện quan trọng&nbsp;;url=cac-su-kien-quan-trong.html;;");		
		aI("text= &nbsp;Ý nghĩa logo&nbsp;;url=y-nghia-logo-ocb.html;;");
		aI("text= &nbsp;Thành tích đạt được&nbsp;;url=thanh-tich-dat-duoc.html;;");
		aI("text= &nbsp;Sơ đồ tổ chức&nbsp;;url=so-do-to-chuc.html;;");
		aI("text= &nbsp;Báo cáo tài chính;url=bao-cao-tai-chinh.html;;");
		aI("text= &nbsp;Báo cáo thường niên;url=bctndetail-lag-1-mid-51.html;;");
		aI("text= &nbsp;Đầu tư tài chính&nbsp;;url=dau-tu-tai-chinh.html;;");
		aI("text= &nbsp;Dành cho cổ đông&nbsp;;url=dccd-lag-1-mid-55.html;;");
		aI("text= &nbsp;Thư viện hình ảnh&nbsp;;url=galary-lag-1-idp-23-id-267.html;;");
	}
	
	//Menu khach hang ca nhan
	with(milonic=new menuname("Ca nhan")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Tiền gửi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;showmenu=`CN Tien gui`;url=tien-gui-tiet-kiem.html;");
		aI("text= &nbsp;Cho vay&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;showmenu=`CN Cho vay`;url=cho-vay.html;");
		aI("text= &nbsp;Chuyển tiền&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;showmenu=`CN Chuyen tien`;url=dich-vu-chuyen-tien.html;");		
		//aI("text= &nbsp;Dịch vụ khác&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;showmenu=`CN Dich vu khac`;url=#;");		
	}
	
		//Khach hang ca nhan tien gui
		with(milonic=new menuname("CN Tien gui")){
			style=menuStyle;
			overflow="scroll";
			//aI("text= &nbsp;OCB Cảm ơn khách hàng;url=viewdetail-lag-1-idp-56-id-298.html;;");	
			aI("text= &nbsp;Kỳ phiếu ngắn hạn VNĐ;url=ky-phieu-ngan-han-vnd.html;;");			
			aI("text= &nbsp;Tiết kiệm \“ Cào thẻ - Trúng vàng\”;url=tiet-kiem-cao-the-trung-vang.html;;");		
			aI("text= &nbsp;Chương trình tiết kiệm \“ Linh Hoạt 13 tháng\”;url=tiet-kiem-linh-hoat.html;;");			
			aI("text= &nbsp;Tiền gửi thanh toán;;url=tien-gui-thanh-toan.html;;");			
			aI("text= &nbsp;Tiền gửi tiết kiệm có kỳ hạn;;url=tien-gui-tiet-kiem-co-ky-han.html;;");		
			aI("text= &nbsp;Tiền gửi tiết kiệm không kỳ hạn;;url=tien-gui-tiet-kiem-khong-ky-han.html;;");		
		}
		
		//Khach hang ca nhan cho vay
		with(milonic=new menuname("CN Cho vay")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Cho vay cầm cố chứng khoán niêm yết;url=cho-vay-cam-co-chung-khoan.html;;");
			aI("text= &nbsp;Cho vay \"An Cư Lạc Nghiệp\";url=cho-vay-an-cu-lac-nghiep.html;;");
			aI("text= &nbsp;Cho vay nâng cao đời sống;url=cho-vay-nang-ca-doi-song.html;;");
			aI("text= &nbsp;Cho vay sản xuất kinh doanh;;url=cho-vay-san-xuat-kinh-doanh.html;;");		
			aI("text= &nbsp;Cho vay mua xe hơi trả góp;;url=cho-vay-mua-xe-hoi-tra-gop.html;;");		
			aI("text= &nbsp;Cho vay du học;;url=cho-vay-du-hoc.html;;");	
		}
		
		//Khach hang ca nhan chuyen tien
		with(milonic=new menuname("CN Chuyen tien")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Dịch vụ chuyển tiền trong nước&nbsp;;url=dich-vu-chuyen-tien-trong-nuoc.html;;");
			aI("text= &nbsp;Chuyển tiền từ nước ngoài về Việt nam&nbsp;;url=chuyen-tien-tu-nuoc-ngoai-ve-viet-nam.html;;");
			aI("text= &nbsp;Dịch vụ chuyển tiền ra nước ngoài;;url=dich-vu-chuyen-tien-ra-nuoc-ngoai.html;;");		
			aI("text= &nbsp;Dịch vụ chuyển tiền nhanh giữa Ngân hàng Phương Đông và Sài Gòn Thương Tín;;url=dich-vu-chuyen-tien-giua-ocb-va-sacombank.html;;");					
		}
		
		//Khach hang ca nhan Dich vu khac
		//with(milonic=new menuname("CN Dich vu khac")){
		//	style=menuStyle;
		//	overflow="scroll";			
		//	aI("text= &nbsp;Mua bán cổ phiếu có kỳ hạn chưa niêm yết&nbsp;;url=viewdetail-lag-1-idp-67-id-68.html;;");			
		//}
	
	//Menu Khach hang doanh nghiep
	with(milonic=new menuname("Doanh nghiep")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Cho vay&nbsp;;showmenu=`DN Cho vay`;url=tin-dung-doanh-nghiep.html;");
		aI("text= &nbsp;Dịch vụ tài khoản&nbsp;;showmenu=`DN Dich vu tk`;url=dich-vu-tai-khoan.html;");
		aI("text= &nbsp;Thanh toán quốc tế&nbsp;;showmenu=`DN Thanh toan qt`;url=thanh-toan-quoc-te.html;");				
	}
	
		//Khach hang Doanh nghiep Cho vay
		with(milonic=new menuname("DN Cho vay")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Cho vay doanh nghiệp&nbsp;;url=cho-vay-doanh-nghiep.html;;");
			aI("text= &nbsp;Cho vay sản xuất kinh doanh&nbsp;;url=doanh-nghiep-cho-vay-san-xuat-kinh-doanh.html;;");			
		}
		
		//Khach hang Doanh nghiepDich vu tai khoan
		with(milonic=new menuname("DN Dich vu tk")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Tiền gửi thanh toán doanh nghiệp&nbsp;;url=doanh-nghiep-tien-gui-thanh-toan.html;;");
			aI("text= &nbsp;Dịch vụ bảo lãnh&nbsp;;url=dich-vu-bao-lanh.html;;");			
			aI("text= &nbsp;Dịch vụ thu, chi hộ tiền mặt&nbsp;;url=dich-vu-thu-chi-ho-tien-mat.html;;");			
			aI("text= &nbsp;Dịch vụ chi hộ lương cán bộ công nhân viên&nbsp;;url=dich-vu-chi-ho-luong.html;;");			
		}
		
		//Khach hang Doanh nghiep Dich vu thanh toan quoc te
		with(milonic=new menuname("DN Thanh toan qt")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Chuyển tiền bằng điện (T/T)&nbsp;;url=chuyen-tien-bang-dien.html;;");
			aI("text= &nbsp;Nhờ thu nhập khẩu (D/A, D/P)&nbsp;;url=nho-thu-nhap-khau.html;;");			
			aI("text= &nbsp;Tín dụng thư nhập khẩu&nbsp;;url=tin-dung-thu-nhap-khau.html;;");			
			aI("text= &nbsp;Nhờ thu xuất khẩu&nbsp;;url=nho-thu-xuat-khau.html;;");			
			aI("text= &nbsp;Thư tín dụng xuất khẩu&nbsp;;url=tin-dung-thu-xuat-khau.html;;");			
			aI("text= &nbsp;Bao thanh toán&nbsp;;url=bao-thanh-toan.html;;");			
		}
	
	//Menu Mang luoi OCB
	with(milonic=new menuname("Mang luoi")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Mạng lưới CN/PGD&nbsp;;url=ocb-mang-luoi.html;;");
		aI("text= &nbsp;Mạng lưới đặt máy ATM&nbsp;;url=mang-luoi-atm.html;;");
		aI("text= &nbsp;Mạng lưới đặt máy POS&nbsp;;url=mang-luoi-pos.html;;");
		aI("text= &nbsp;Mạng lưới Ngân hàng đại lý&nbsp;;url=mang-luoi-ngan-hang-dai-ly.html;;");
	}
	
	//Menu Tin tuc
	with(milonic=new menuname("Tin tuc")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Tin khách hàng&nbsp;;url=tin-khach-hang.html;;");		
		aI("text= &nbsp;Tin nội bộ&nbsp;;url=tin-ocb.html;;");		
		aI("text= &nbsp;Tin kinh tế thị trường&nbsp;;url=tin-tai-chinh-ngan-hang.html;;");
	}
	
	//Menu Tu van
	with(milonic=new menuname("Tu van")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Những câu hỏi thường gặp&nbsp;;url=listfaqs-lag-1-mid-87.html;;");		
		aI("text= &nbsp;Ý kiến khách hàng&nbsp;;url=frmcustomer-lag-1-mid-88.html;;");
	}
	
	//Menu Nghe nghiep
	with(milonic=new menuname("Nghe nghiep")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Lời mở đầu&nbsp;;url=nghe-nghiep-loi-mo-dau.html;;");		
		aI("text= &nbsp;Phương Châm Tuyển dụng&nbsp;;url=phuong-cham-tuyen-dung.html;;");
		aI("text= &nbsp;Phẩm chất nhân viên&nbsp;;url=pham-chat-nhan-vien.html;;");
		aI("text= &nbsp;Chính sách Lương, Thưởng&nbsp;;url=chinh-sach-luong-thuong.html;;");
		aI("text= &nbsp;Chương trình sinh viên&nbsp;;url=chuong-trinh-sinh-vien.html;;");
		aI("text= &nbsp;Cơ hội nghề nghiệp;url=tuyen-dung.html;;");
		aI("text= &nbsp;Hướng dẫn tuyển dụng&nbsp;;url=huong-dan-tuyen-dung.html;;");
		aI("text= &nbsp;Các câu hỏi thường gặp&nbsp;;url=cau-hoi-thuong-gap.html;;");		
	}
	
	//Menu Media
	with(milonic=new menuname("Media")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Những sự kiện&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;showmenu=`Media events`;url=viewvideo-lag-1-tid-3.html;");		
		aI("text= &nbsp;Sản phẩm mới;;showmenu=`Media product`;url=viewvideo-lag-1-tid-4.html;");
	}
	
	with(milonic=new menuname("Media events")){
		style=menuStyle;
		overflow="scroll";		
		aI("text= &nbsp;Clip chúc xuân của Tổng Giám Đốc&nbsp;;url=viewvideo-lag-1-tid-3-vid-31.html;;");
		aI("text= &nbsp;Lễ ký kết hợp đồng tư vấn xếp hạng tín dụng nội bộ giữa OCB và EYVN&nbsp;;url=viewvideo-lag-1-tid-3-vid-30.html;;");
		aI("text= &nbsp;Lễ ký kết thỏa thuận tăng vốn góp của BNPP (Pháp) vào OCB&nbsp;;url=viewvideo-lag-1-tid-3-vid-29.html;;");
		aI("text= &nbsp;Giới thiệu cho vay tiêu dùng&nbsp;;url=viewvideo-lag-1-tid-3-vid-25.html;;");
		aI("text= &nbsp;Liên minh chiến lược giữa OCB và BNP&nbsp;;url=viewvideo-lag-1-tid-3-vid-22.html;;");
		aI("text= &nbsp;11 năm hình thành và phát triển&nbsp;;url=viewvideo-lag-1-tid-3-vid-21.html;;");
	}
	
	with(milonic=new menuname("Media product")){
		style=menuStyle;
		overflow="scroll";		
		aI("text= &nbsp;Tiết kiệm \"Cào thẻ - Trúng vàng\"&nbsp;;url=viewvideo-lag-1-tid-4-vid-32.html;;");		
		aI("text= &nbsp;Tiết kiệm \"Lãi suất gia tăng - Rút vốn linh hoạt\"&nbsp;;url=viewvideo-lag-1-tid-4-vid-28.html;;");		
		aI("text= &nbsp;Cho vay \"An cư lạc nghiệp\"&nbsp;;url=viewvideo-lag-1-tid-4-vid-27.html;;");		
		aI("text= &nbsp;Gửi tiết kiệm - Trúng vàng ký&nbsp;;url=viewvideo-lag-1-tid-4-vid-26.html;;");		
	}
	
	//Menu Tien ich
	with(milonic=new menuname("Tien ich")){
		style=menuStyle;
		overflow="scroll";
		aI("text= &nbsp;Tỷ giá&nbsp;;url=exchange-lag-1.html;;");		
		aI("text= &nbsp;Lãi suất&nbsp;;showmenu=`Lai suat`;url=rate-lag-1-id-2.html;;");		
		aI("text= &nbsp;Biểu phí dịch vụ&nbsp;;showmenu=`Bieu phi`;url=viewdetail-lag-1-idp-90-id-92.html;;");		
		aI("text= &nbsp;Internet Banking&nbsp;;showmenu=`IBK`;url=viewdetail-lag-1-idp-99-id-100.html;;");		
		aI("text= &nbsp;SMS Banking&nbsp;;showmenu=`SMSB`;url=viewdetail-lag-1-idp-102-id-103.html;;");
		aI("text= &nbsp;Thẻ Lucky oricombank&nbsp;;showmenu=`Lucky`;url=viewdetail-lag-1-idp-105-id-106.html;;");
		aI("text= &nbsp;Tư vấn vay vốn tại nhà;;showmenu=`TVVVTN`;url=viewdetail-lag-1-idp-271-id-272.html;;");		
	}
	
		//Menu con Lai suat
		with(milonic=new menuname("Lai suat")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Tiết kiệm \"Cào thẻ - Trúng vàng\";url=viewdetail-lag-1-idp-56-id-293.html#laisuat;;");
			aI("text= &nbsp;Tiền gửi tiết kiệm bằng VNĐ;url=rate-lag-1-id-2.html;;");
			aI("text= &nbsp;Tiền gửi tiết kiệm bằng Vàng;url=rate-lag-1-id-4.html;;");			
			aI("text= &nbsp;Lãi suất tiền gửi bằng USD;url=rate-lag-1-id-8.html;;");			
			//aI("text= &nbsp;Ươm mầm tương lai;url=rate-lag-1-id-14.html;;");			
			//aI("text= &nbsp;Lãi Suất Gia Tăng – Rút Vốn Linh Hoạt&nbsp;;url=rate-lag-1-id-16.html;;");
			//aI("text= &nbsp;Kỳ phiếu ngắn hạn - Lãi suất cực cao&nbsp;;url=rate-lag-1-id-18.html;;");
		}
		
		//Menu con Bieu phi dich vu
		with(milonic=new menuname("Bieu phi")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Giao Dịch Tiền Gửi Thanh Toán&nbsp;;url=bieu-phi-giao-dich-tien-gui-thanh-toan.html;;");
			aI("text= &nbsp;Giao Dịch Tiền Gửi Tiết kiệm&nbsp;;url=bieu-phi-giao-dich-tien-gui-tiet-kiem.html;;");			
			aI("text= &nbsp;Giao Dịch Chuyển Tiền Cá Nhân&nbsp;;url=bieu-phi-giao-dich-chuyen-tien-ca-nhan.html;;");			
			aI("text= &nbsp;Thanh Toán Quốc Tế&nbsp;;url=bieu-phi-thanh-toan-quoc-te.html;;");			
			aI("text= &nbsp;Bão lãnh trong nước&nbsp;;url=bieu-phi-bao-lanh-trong-nuoc.html;;");
			aI("text= &nbsp;Dịch vụ Ngân Quỹ&nbsp;;url=bieu-phi-dich-vu-ngan-quy.html;;");
			aI("text= &nbsp;Dịch vụ khác&nbsp;;url=bieu-phi-dich-vu-khac.html;;");
		}
		
		//Menu con Internet banking
		with(milonic=new menuname("IBK")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Giới thiệu&nbsp;;url=ocb-online.html;;");
			aI("text= &nbsp;Hướng dẫn sử dụng&nbsp;;url=huong-dan-su-dung-internet-banking.html;;");			
			aI("text= &nbsp;Đăng nhập&nbsp;;url=https://ebanking.ocb.com.vn/;;");
		}
		
		//Menu con SMS banking
		with(milonic=new menuname("SMSB")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Giới thiệu&nbsp;;url=sms-banking.html;;");
			aI("text= &nbsp;Hướng dẫn sử dụng&nbsp;;url=huong-dan-su-dung-sms-banking.html;;");			
		}
		
		//Menu con The Lucky
		with(milonic=new menuname("Lucky")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Giới thiệu&nbsp;;url=the-lucky-oricombank.html;;");
			aI("text= &nbsp;Hướng dẫn sử dụng&nbsp;;url=huong-dan-su-dung-the-lucky-oricombank.html;;");			
			aI("text= &nbsp;Liên minh thẻ Smartlink&nbsp;;url=lien-minh-the-smartlink.html;;");			
		}
		
		//Menu con Tu van vay von tai nha
		with(milonic=new menuname("TVVVTN")){
			style=menuStyle;
			overflow="scroll";			
			aI("text= &nbsp;Dịch vụ tư vấn vay vốn tại nhà&nbsp;;url=dich-vu-tu-van-vay-von-tai-nha.html;;");
			aI("text= &nbsp;Đăng ký cuộc hẹn&nbsp;;url=taocuochen/index-lag-1.html;;");			
		}
			
	
	drawMenus()