// Cascading Popup Menus v5.2 - Single Frame Menu example script. // If you're upgrading from v5.1, you can paste your existing menu data in, and if you're // upgrading from v5.0 you need to add 'cursor' settings to your ItemStyles. // // And before going ANY further, you must have READ and AGREE TO the script license! // It can be found on my site, in the syntax helpfile, or in the demo script document. // 'horizontal Bar' style: menu items that use this ItemStyle are 40px wide, have 1.7px gaps // between them, no popout indicator (the ">" in some menus) or popout indicator position, // 0px padding of the text within items, #336699 background colour, a hover colour of #6699CC, // 'highText' is the stylesheet class used for the menu text both normally and when highlighted, // no border styles, 'null' means fully opaque items (set them to numbers between 0 and 100 to // enable semitranslucency), and the 'hand'/'default' cursors are used for linked/submenu items. //mau dau tien la background colo mau thu 2 la hover color //var hBar = new ItemStyle(40, 1.7, '', 0, 0, '15#F1F1F1', '10#6ADD39', 'lowText', 'lowText', 'itemBorder', '', // null, null, 'hand', 'default'); var hBar = new ItemStyle(40, 1.7, '', 0, 0, '15#FFFFFF', '10#3A6DA5', 'HText', 'lowText', '', '', null, null, 'hand', 'default'); var hBar1 = new ItemStyle(40, 1.7, '', 0, 0, '', '', 'HText', 'lowText', '', '', null, null, 'hand', 'default'); // The 'sub Menu' items: these have popout indicators of "Greater Than" signs ">" 15px from their // right edge, and CSS borders. Text class also changes on mouseover. var subM = new ItemStyle(22, 0, '', -15, 3, '#3A6DA5', '#6699CC', 'lowText', 'loText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default'); // 'subBlank' is similar, but has an 'off' border the same colour as its background so it // appears borderless when dim, and 1px spacing between items to show the hover border. //2 hang sau nay la mau xanh cu chuoi //var subBlank = new ItemStyle(22, 1, '>', -15, 3,'#0D3159', '#6ADD39', 'lowText', 'lowText', // '', '', null, null, 'hand', 'default'); //2 hang sau nay la mau default var subBlank = new ItemStyle(22, 1, '>', -15, 3,'10#3A6DA5', '10#CC6600', 'lowText', 'loText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default'); // The purplish 'button' style also has 1px spacing to show up the fancy border, and it has // different colours/text and less padding. They also have translucency set -- these items // are 80% opaque when dim and 95% when highlighted. It uses the 'crosshair' cursor for items. var button = new ItemStyle(22, 1, '>', -15, 2, '10#3A6DA5', '10#CC6600', 'buttonText', 'buttonHover', 'buttonBorder', 'buttonBorderOver', 80, 95, 'crosshair', 'default'); // Create a PopupMenu() object, and pass its own name so it can reference itself later on. // We also use a 'with' block to work with its properties and functions below. var pMenu = new PopupMenu('pMenu'); with (pMenu) { startMenu('root', false,'window.page.elmPos("home").x+3.5', 'window.page.elmPos("home").y-10 ',22, hBar, '', false); addItem(' Ăn (Eating)', ' 1','sm:', hBar,75.2); addItem(' Uống (Drinking)', ' 2','sm:', hBar,103.2); addItem(' Giải trí (Entertainment)', ' 3','sm:', hBar,159.2); addItem(' Ở (Accommodation)', ' 4','sm:', hBar,114.4); addItem('Mua hàng (Shopping)', 'hero','sm:', hBar,120); addItem('Tìm đuờng (Street)', 'Street.php?node=3','',hBar,120); addItem('', '','',hBar,50); // addItem('Tìm đường (Street)', 'Duong','sm:', hBar,120); startMenu(' 1', true, 0, 22,39*4.3+50, subM, '', false); addItem('Bánh Canh/Cuốn (Banh Canh/Cuon)', ' 5', 'sm:', subBlank,20); addItem('Các Loại Bánh (Bakery)', ' 6', 'sm:', subBlank,20); addItem('Các món Bò (Beef dishes)', ' 7', 'sm:', subBlank,20); addItem('Cháo (Soup)', ' 8', 'sm:', subBlank,20); addItem('Lẩu (Steamboat)', ' 9', 'sm:', subBlank,20); addItem('Món nướng (Roast Food)', ' 10', 'sm:', subBlank,20); addItem('Nhà hàng Ðặc Sản (Specialties)', ' 11', 'sm:', subBlank,20); addItem('Nhà Hàng Bún (Vermicelli)', ' 12', 'sm:', subBlank,20); addItem('Nhà hàng cơm (Rice)', ' 13', 'sm:', subBlank,20); addItem('Nhà hàng Ngoại (Foreign Restaurant)', ' 14', 'sm:', subBlank,20); addItem('Nhà Hàng Phở (Pho)', ' 15', 'sm:', subBlank,20); startMenu(' 2', true, 0, 22,39*4.3+50, subM, '', false); addItem('Bia (Beer)', ' 16', 'sm:', subBlank,20); addItem('Cà phê (Coffee)', ' 17', 'sm:', subBlank,20); addItem('Giải khát (Sweet Drink)', ' 18', 'sm:', subBlank,20); startMenu(' 3', true, 0, 22,39*4.3+50, subM, '', false); addItem('Ý tưởng Party (Party ideas)', ' 19', 'sm:', subBlank,20); addItem('Ban nhạc (Band)', ' 20', 'sm:', subBlank,20); addItem('Internet (Internet)', ' 21', 'sm:', subBlank,20); addItem('Karaoke (Karaoke)', ' 22', 'sm:', subBlank,20); addItem('Khu vui chơi (Entertainment place)', ' 23', 'sm:', subBlank,20); addItem('Làm đẹp (Making up)', ' 24', 'sm:', subBlank,20); addItem('Máy ATM ( ATM)', ' 25', 'sm:', subBlank,20); addItem('Nơi tôn kính (Worship)', ' 26', 'sm:', subBlank,20); addItem('Sân khấu (Stage)', ' 27', 'sm:', subBlank,20); startMenu(' 4', true, 0, 22,39*4.3+50, subM, '', false); addItem('Khách sạn (Hotel)', ' 28', 'sm:', subBlank,20); addItem('Khu du lịch (Tourism site)', ' 29', 'sm:', subBlank,20); addItem('Khu nghỉ mát (Resort)', ' 30', 'sm:', subBlank,20); startMenu(' 5',true,39*4.3+50+2,0,25*4.3+50, subBlank, '', false); addItem('Ðặc sản (Speciality)', 'h30.php?node=%C4%82n+%28Eating%29%40B%C3%A1nh+Canh%2FCu%E1%BB%91n+%28Banh+Canh%2FCuon%29%40%C3%90%E1%BA%B7c+s%E1%BA%A3n+%28Speciality%29','', subBlank,18); addItem('Bánh canh (Banh canh)', 'h30.php?node=%C4%82n+%28Eating%29%40B%C3%A1nh+Canh%2FCu%E1%BB%91n+%28Banh+Canh%2FCuon%29%40B%C3%A1nh+canh+%28Banh+canh%29','', subBlank,18); addItem('Bánh cuốn (Banh cuon)', 'h30.php?node=%C4%82n+%28Eating%29%40B%C3%A1nh+Canh%2FCu%E1%BB%91n+%28Banh+Canh%2FCuon%29%40B%C3%A1nh+cu%E1%BB%91n+%28Banh+cuon%29','', subBlank,18); startMenu(' 6',true,39*4.3+50+2,0,40*4.3+50, subBlank, '', false); addItem('Ðặc sản (Speciality)', 'Home.php?node=1651','', subBlank,18); addItem('Bánh bao (Baozi)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+bao+%28Baozi%29','', subBlank,18); addItem('Bánh bèo (Hue Cake)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+b%C3%A8o+%28Hue+Cake%29','', subBlank,18); addItem('Bánh giò, bánh giầy (Rice dumpling)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+gi%C3%B2%2C+b%C3%A1nh+gi%E1%BA%A7y+%28Rice+dumpling%29','', subBlank,18); addItem('Bánh khọt (Khot Cake)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+kh%E1%BB%8Dt+%28Khot+Cake%29','', subBlank,18); addItem('Bánh mì (Bread)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+m%C3%AC+%28Bread%29','', subBlank,18); addItem('Bánh ngọt (Cakes)', 'Home.php?node=1580','', subBlank,18); addItem('Bánh xèo (Vietnamese Pancakes)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40B%C3%A1nh+x%C3%A8o+%28Vietnamese+Pancakes%29','', subBlank,18); addItem('Há Cảo (Chinese Cake)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+Lo%E1%BA%A1i+B%C3%A1nh+%28Bakery%29%40H%C3%A1+C%E1%BA%A3o+%28Chinese+Cake%29','', subBlank,18); addItem('Xôi gà (Chicken sticky rice)', 'Home.php?node=994','', subBlank,18); startMenu(' 7',true,39*4.3+50+2,0,25*4.3+50, subBlank, '', false); addItem('Bê thui (Roast Cups)', 'Home.php?node=833','', subBlank,18); addItem('Bò bảy món (Beef)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+m%C3%B3n+B%C3%B2+%28Beef+dishes%29%40B%C3%B2+b%E1%BA%A3y+m%C3%B3n+%28Beef%29','', subBlank,18); addItem('Bò kho (Viet Noodles)', 'Home.php?node=835','', subBlank,18); addItem('Bò tùng xẻo (Beef)', 'h30.php?node=%C4%82n+%28Eating%29%40C%C3%A1c+m%C3%B3n+B%C3%B2+%28Beef+dishes%29%40B%C3%B2+t%C3%B9ng+x%E1%BA%BBo+%28Beef%29','', subBlank,18); addItem('Gỏi Khô Bò (Dry beef)', 'Home.php?node=978','', subBlank,18); startMenu(' 8',true,39*4.3+50+2,0,25*4.3+50, subBlank, '', false); addItem('Các lọai súp (Boiler)', 'Home.php?node=995','', subBlank,18); addItem('Cháo (Soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Ch%C3%A1o+%28Soup%29%40Ch%C3%A1o+%28Soup%29','', subBlank,18); addItem('Cháo cóc (Toad gruel)', 'Home.php?node=999','', subBlank,18); addItem('Cháo lòng (Soup)', 'Home.php?node=950','', subBlank,18); addItem('Cháo mực (Squid soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Ch%C3%A1o+%28Soup%29%40Ch%C3%A1o+m%E1%BB%B1c+%28Squid+soup%29','', subBlank,18); addItem('Cháo trắng (Soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Ch%C3%A1o+%28Soup%29%40Ch%C3%A1o+tr%E1%BA%AFng+%28Soup%29','', subBlank,18); addItem('Cháo Vịt (Duck soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Ch%C3%A1o+%28Soup%29%40Ch%C3%A1o+V%E1%BB%8Bt+%28Duck+soup%29','', subBlank,18); startMenu(' 9',true,39*4.3+50+2,0,37*4.3+50, subBlank, '', false); addItem('Lẩu bò (Beef Steamboat)', 'h30.php?node=%C4%82n+%28Eating%29%40L%E1%BA%A9u+%28Steamboat%29%40L%E1%BA%A9u+b%C3%B2+%28Beef+Steamboat%29','', subBlank,18); addItem('Lẩu cá kèo (Ca keo hotpots)', 'h30.php?node=%C4%82n+%28Eating%29%40L%E1%BA%A9u+%28Steamboat%29%40L%E1%BA%A9u+c%C3%A1+k%C3%A8o+%28Ca+keo+hotpots%29','', subBlank,18); addItem('Lẩu dê (Goat Steamboat)', 'h30.php?node=%C4%82n+%28Eating%29%40L%E1%BA%A9u+%28Steamboat%29%40L%E1%BA%A9u+d%C3%AA+%28Goat+Steamboat%29','', subBlank,18); addItem('Lẩu hải sản (Seafood steamboat)', 'Home.php?node=1474','', subBlank,18); startMenu(' 10',true,39*4.3+50+2,0,29*4.3+50, subBlank, '', false); addItem('Bê thui (Roast Cups)', 'h30.php?node=%C4%82n+%28Eating%29%40M%C3%B3n+n%C6%B0%E1%BB%9Bng+%28Roast+Food%29%40B%C3%AA+thui+%28Roast+Cups%29','', subBlank,18); addItem('Cừu nướng (Roast Sheeps)', 'h30.php?node=%C4%82n+%28Eating%29%40M%C3%B3n+n%C6%B0%E1%BB%9Bng+%28Roast+Food%29%40C%E1%BB%ABu+n%C6%B0%E1%BB%9Bng+%28Roast+Sheeps%29','', subBlank,18); addItem('Cơm tấm(Com tam)', 'Home.php?node=1478','', subBlank,18); addItem('Gà nướng (Roast Chicken)', 'h30.php?node=%C4%82n+%28Eating%29%40M%C3%B3n+n%C6%B0%E1%BB%9Bng+%28Roast+Food%29%40G%C3%A0+n%C6%B0%E1%BB%9Bng+%28Roast+Chicken%29','', subBlank,18); addItem('Heo quay (Roast figs)', 'Home.php?node=1004','', subBlank,18); addItem('Thịt nướng (Baked meat)', 'h30.php?node=%C4%82n+%28Eating%29%40M%C3%B3n+n%C6%B0%E1%BB%9Bng+%28Roast+Food%29%40Th%E1%BB%8Bt+n%C6%B0%E1%BB%9Bng+%28Baked+meat%29','', subBlank,18); addItem('Thịt quay (Roast meat)', 'Home.php?node=1005','', subBlank,18); addItem('Vịt quay (Roast Duck)', 'h30.php?node=%C4%82n+%28Eating%29%40M%C3%B3n+n%C6%B0%E1%BB%9Bng+%28Roast+Food%29%40V%E1%BB%8Bt+quay+%28Roast+Duck%29','', subBlank,18); startMenu(' 11',true,39*4.3+50+2,0,41*4.3+50, subBlank, '', false); addItem('Ðặc sản (Speciality)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40%C3%90%E1%BA%B7c+s%E1%BA%A3n+%28Speciality%29','', subBlank,18); addItem('Ốc (Vermicelli - shellfish)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40%E1%BB%90c+%28Vermicelli+-+shellfish%29','', subBlank,18); addItem('Bar & Nhà hàng (Bar & Restaurant)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40Bar+%26+Nh%C3%A0+h%C3%A0ng+%28Bar+%26+Restaurant%29','', subBlank,18); addItem('Cá sấu (Crocodile)', 'Home.php?node=760','', subBlank,18); addItem('Chuột đồng (field-mouse)', 'Home.php?node=1582','', subBlank,18); addItem('Dế (Crickets)', 'Home.php?node=998','', subBlank,18); addItem('Hải sản (Sea food)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40H%E1%BA%A3i+s%E1%BA%A3n+%28Sea+food%29','', subBlank,18); addItem('Lẩu (Steamboat)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40L%E1%BA%A9u+%28Steamboat%29','', subBlank,18); addItem('Món ăn Hà Nội (Ha Noi dishes)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40M%C3%B3n+%C4%83n+H%C3%A0+N%E1%BB%99i+%28Ha+Noi+dishes%29','', subBlank,18); addItem('Món ăn Huế(Hue dishes)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40M%C3%B3n+%C4%83n+Hu%E1%BA%BF%28Hue+dishes%29','', subBlank,18); addItem('Nhà hàng tự chọn (Buffet)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40Nh%C3%A0+h%C3%A0ng+t%E1%BB%B1+ch%E1%BB%8Dn+%28Buffet%29','', subBlank,18); addItem('Nhà hàng tiệc cưới (wedding party)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40Nh%C3%A0+h%C3%A0ng+ti%E1%BB%87c+c%C6%B0%E1%BB%9Bi+%28wedding+party%29','', subBlank,18); addItem('Nhiều món (Varieties of Dishes)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40Nhi%E1%BB%81u+m%C3%B3n+%28Varieties+of+Dishes%29','', subBlank,18); addItem('Nướng (Baked meat)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40N%C6%B0%E1%BB%9Bng+%28Baked+meat%29','', subBlank,18); addItem('Phá lấu (Marinated intestine)', 'Home.php?node=996','', subBlank,18); addItem('Rắn (Snake)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40R%E1%BA%AFn+%28Snake%29','', subBlank,18); addItem('Súp cua (Crab soup)', 'Home.php?node=1628','', subBlank,18); addItem('Tây Ninh(Tay Ninh)', 'Home.php?node=63','', subBlank,18); addItem('Thịt cầy (Dog meat)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+%C3%90%E1%BA%B7c+S%E1%BA%A3n+%28Specialties%29%40Th%E1%BB%8Bt+c%E1%BA%A7y+%28Dog+meat%29','', subBlank,18); addItem('Thức ăn nhanh (Fast food)', 'Home.php?node=65','', subBlank,18); startMenu(' 12',true,39*4.3+50+2,0,50*4.3+50, subBlank, '', false); addItem('Bún (Bun)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+%28Bun%29','', subBlank,18); addItem('Bún ốc (Vermicelli - shellfish soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+%E1%BB%91c+%28Vermicelli+-+shellfish+soup%29','', subBlank,18); addItem('Bún bò (Vietnamese Noodles)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+b%C3%B2+%28Vietnamese+Noodles%29','', subBlank,18); addItem('Bún cá (Fish Bun)', 'Home.php?node=922','', subBlank,18); addItem('Bún chả cá (Vermicelli with fried fish)', 'Home.php?node=701','', subBlank,18); addItem('Bún mắm (Bun mam)', 'Home.php?node=921','', subBlank,18); addItem('Bún mọc (Bun moc)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+m%E1%BB%8Dc+%28Bun+moc%29','', subBlank,18); addItem('Bún Măng Vịt (Duck soup)', 'Home.php?node=1632','', subBlank,18); addItem('Bún riêu (Vermicelli - shellfish soup)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+ri%C3%AAu+%28Vermicelli+-+shellfish+soup%29','', subBlank,18); addItem('Bún thịt nướng (Grilled pork and vermicelli)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40B%C3%BAn+th%E1%BB%8Bt+n%C6%B0%E1%BB%9Bng+%28Grilled+pork+and+vermicelli%29','', subBlank,18); addItem('Miến gà (Chicken cassava vermicelly)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+B%C3%BAn+%28Vermicelli%29%40Mi%E1%BA%BFn+g%C3%A0+%28Chicken+cassava+vermicelly%29','', subBlank,18); startMenu(' 13',true,39*4.3+50+2,0,33*4.3+50, subBlank, '', false); addItem('Ðặc sản (Speciality)', 'Home.php?node=652','', subBlank,18); addItem('Cơm chay (Vege diet rice)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+c%C6%A1m+%28Rice%29%40C%C6%A1m+chay+%28Vege+diet+rice%29','', subBlank,18); addItem('Cơm gà (Chicken rice)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+c%C6%A1m+%28Rice%29%40C%C6%A1m+g%C3%A0+%28Chicken+rice%29','', subBlank,18); addItem('Cơm niêu (Rice cooked with pot)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+c%C6%A1m+%28Rice%29%40C%C6%A1m+ni%C3%AAu+%28Rice+cooked+with+pot%29','', subBlank,18); addItem('Cơm tấm(Com tam)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+c%C6%A1m+%28Rice%29%40C%C6%A1m+t%E1%BA%A5m%28Com+tam%29','', subBlank,18); startMenu(' 14',true,39*4.3+50+2,0,47*4.3+50, subBlank, '', false); addItem('Ấn Độ (India)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40%E1%BA%A4n+%C4%90%E1%BB%99+%28India%29','', subBlank,18); addItem('Bò beefsteak (Beefsteak)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40B%C3%B2+beefsteak+%28Beefsteak%29','', subBlank,18); addItem('gà ác tiềm thuốc bắc (Medicine Chicken)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40g%C3%A0+%C3%A1c+ti%E1%BB%81m+thu%E1%BB%91c+b%E1%BA%AFc+%28Medicine+Chicken%29','', subBlank,18); addItem('Hàn Quốc (Korea)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40H%C3%A0n+Qu%E1%BB%91c+%28Korea%29','', subBlank,18); addItem('Malaysia (Malaysia)', 'Home.php?node=135','', subBlank,18); addItem('Mêhicô (Mexico)', 'Home.php?node=52','', subBlank,18); addItem('Mì xào dòn (Mi xao don)', 'Home.php?node=941','', subBlank,18); addItem('Món ăn Ý (Italian)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+%C3%9D+%28Italian%29','', subBlank,18); addItem('Món ăn Hoa (Chinese)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+Hoa+%28Chinese%29','', subBlank,18); addItem('Món ăn Mỹ (USA)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+M%E1%BB%B9+%28USA%29','', subBlank,18); addItem('Món ăn Nhật (Japanese)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+Nh%E1%BA%ADt+%28Japanese%29','', subBlank,18); addItem('Món ăn Pháp (French)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+Ph%C3%A1p+%28French%29','', subBlank,18); addItem('Món ăn Singapore (Singapore dishes)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+Singapore+%28Singapore+dishes%29','', subBlank,18); addItem('Món ăn Thái (Thai)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40M%C3%B3n+%C4%83n+Th%C3%A1i+%28Thai%29','', subBlank,18); addItem('Nga (Russia)', 'Home.php?node=369','', subBlank,18); addItem('Nhà hàng tự chọn (Buffet)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40Nh%C3%A0+h%C3%A0ng+t%E1%BB%B1+ch%E1%BB%8Dn+%28Buffet%29','', subBlank,18); addItem('Nhật (Japanese)', 'Home.php?node=40','', subBlank,18); addItem('Nhiều món (Varieties of Dishes)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40Nhi%E1%BB%81u+m%C3%B3n+%28Varieties+of+Dishes%29','', subBlank,18); addItem('Nướng (Baked meat)', 'Home.php?node=118','', subBlank,18); addItem('Đài Loan (Taiwan)', 'Home.php?node=128','', subBlank,18); addItem('Đức (German)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+h%C3%A0ng+Ngo%E1%BA%A1i+%28Foreign+Restaurant%29%40%C4%90%E1%BB%A9c+%28German%29','', subBlank,18); startMenu(' 15',true,39*4.3+50+2,0,38*4.3+50, subBlank, '', false); addItem('Hủ tíu dê (Goat chinese noodles)', 'Home.php?node=1002','', subBlank,18); addItem('Hủ tiếu (Chinese noodles)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40H%E1%BB%A7+ti%E1%BA%BFu+%28Chinese+noodles%29','', subBlank,18); addItem('Hủ tiếu Nam Vang (Chinese noodles)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40H%E1%BB%A7+ti%E1%BA%BFu+Nam+Vang+%28Chinese+noodles%29','', subBlank,18); addItem('Mì vịt tiềm (Duck noodles)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40M%C3%AC+v%E1%BB%8Bt+ti%E1%BB%81m+%28Duck+noodles%29','', subBlank,18); addItem('Phở (Viet Noodles)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40Ph%E1%BB%9F+%28Viet+Noodles%29','', subBlank,18); addItem('Phở bò, gà (beef, chicken Pho)', 'Home.php?node=718','', subBlank,18); addItem('Phở gà (Chicken Pho)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40Ph%E1%BB%9F+g%C3%A0+%28Chicken+Pho%29','', subBlank,18); addItem('Phở khô (Dried Pho)', 'Home.php?node=685','', subBlank,18); addItem('Súp cua (Crab soup)', 'Home.php?node=802','', subBlank,18); addItem('Sủi cảo (Chinese Noodle)', 'h30.php?node=%C4%82n+%28Eating%29%40Nh%C3%A0+H%C3%A0ng+Ph%E1%BB%9F+%28Pho%29%40S%E1%BB%A7i+c%E1%BA%A3o+%28Chinese+Noodle%29','', subBlank,18); startMenu(' 16',true,39*4.3+50+2,0,10*4.3+50, subBlank, '', false); addItem('Bia (Beer)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40Bia+%28Beer%29%40Bia+%28Beer%29','', subBlank,18); startMenu(' 17',true,39*4.3+50+2,0,43*4.3+50, subBlank, '', false); addItem('Cafe nhạc sống (Live music coffee)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40Cafe+nh%E1%BA%A1c+s%E1%BB%91ng+%28Live+music+coffee%29','', subBlank,18); addItem('Cafe nhạc vàng (Soft music coffee)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40Cafe+nh%E1%BA%A1c+v%C3%A0ng+%28Soft+music+coffee%29','', subBlank,18); addItem('Cafe piano (Piano coffee)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40Cafe+piano+%28Piano+coffee%29','', subBlank,18); addItem('Cafe rock (Rock music Coffee)', 'Home.php?node=975','', subBlank,18); addItem('Cafe sân vườn (Garden coffee)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40Cafe+s%C3%A2n+v%C6%B0%E1%BB%9Dn+%28Garden+coffee%29','', subBlank,18); addItem('Cafe Wi-fi (Cafe Wi-fi)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40Cafe+Wi-fi+%28Cafe+Wi-fi%29','', subBlank,18); addItem('Cà phê (Coffee)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40C%C3%A0+ph%C3%AA+%28Coffee%29','', subBlank,18); addItem('Cà phê kem (Ice-cream coffee)', 'Home.php?node=1587','', subBlank,18); addItem('cà phê kiểu Ý (Italian style coffee)', 'Home.php?node=655','', subBlank,18); addItem('cà phê kiểu Pháp (French style coffee)', 'Home.php?node=653','', subBlank,18); addItem('Cà phê-Bar (Coffee-Bar)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40C%C3%A0+ph%C3%AA+%28Coffee%29%40C%C3%A0+ph%C3%AA-Bar+%28Coffee-Bar%29','', subBlank,18); startMenu(' 18',true,39*4.3+50+2,0,36*4.3+50, subBlank, '', false); addItem('Chè (Sweet soup)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40Gi%E1%BA%A3i+kh%C3%A1t+%28Sweet+Drink%29%40Ch%C3%A8+%28Sweet+soup%29','', subBlank,18); addItem('Chè mè đen (Me den sugar soup)', 'Home.php?node=1003','', subBlank,18); addItem('Kem (Ice Cream)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40Gi%E1%BA%A3i+kh%C3%A1t+%28Sweet+Drink%29%40Kem+%28Ice+Cream%29','', subBlank,18); addItem('Nước mía (Sugar can)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40Gi%E1%BA%A3i+kh%C3%A1t+%28Sweet+Drink%29%40N%C6%B0%E1%BB%9Bc+m%C3%ADa+%28Sugar+can%29','', subBlank,18); addItem('Trái cây cocktail (Fruit Cocktail)', 'h30.php?node=U%E1%BB%91ng+%28Drinking%29%40Gi%E1%BA%A3i+kh%C3%A1t+%28Sweet+Drink%29%40Tr%C3%A1i+c%C3%A2y+cocktail+%28Fruit+Cocktail%29','', subBlank,18); startMenu(' 19',true,39*4.3+50+2,0,27*4.3+50, subBlank, '', false); addItem('Cuối tuần (Weekend)', 'Home.php?node=733','', subBlank,18); addItem('Giáng sinh (Christmas)', 'Home.php?node=728','', subBlank,18); addItem('Halloween (Halloween)', 'Home.php?node=730','', subBlank,18); addItem('Một mình (Loneliness)', 'Home.php?node=734','', subBlank,18); addItem('Năm mới (New Year)', 'Home.php?node=729','', subBlank,18); addItem('Sinh nhật (Birthday)', 'Home.php?node=726','', subBlank,18); addItem('Tốt nghiệp (Graduation)', 'Home.php?node=732','', subBlank,18); addItem('Tươi mới (Refreshment)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40%C3%9D+t%C6%B0%E1%BB%9Fng+Party+%28Party+ideas%29%40T%C6%B0%C6%A1i+m%E1%BB%9Bi+%28Refreshment%29','', subBlank,18); addItem('Valentine (Valentine)', 'Home.php?node=731','', subBlank,18); addItem('Đám cưới (Wedding)', 'Home.php?node=727','', subBlank,18); startMenu(' 20',true,39*4.3+50+2,0,31*4.3+50, subBlank, '', false); addItem('Rock`n` Roll (Rock`n`Roll Band)', 'Home.php?node=1460','', subBlank,18); startMenu(' 21',true,39*4.3+50+2,0,11*4.3+50, subBlank, '', false); addItem('Chat (Chat)', 'Home.php?node=38','', subBlank,18); startMenu(' 22',true,39*4.3+50+2,0,17*4.3+50, subBlank, '', false); addItem('Karaoke (Karaoke)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40Karaoke+%28Karaoke%29%40Karaoke+%28Karaoke%29','', subBlank,18); startMenu(' 23',true,39*4.3+50+2,0,34*4.3+50, subBlank, '', false); addItem('Hồ bơi (Swimming pool)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40Khu+vui+ch%C6%A1i+%28Entertainment+place%29%40H%E1%BB%93+b%C6%A1i+%28Swimming+pool%29','', subBlank,18); addItem('Khu du lịch(Entertainment sites)', 'Home.php?node=1442','', subBlank,18); addItem('Sinh nhật (Birthday)', 'Home.php?node=1599','', subBlank,18); startMenu(' 24',true,39*4.3+50+2,0,25*4.3+50, subBlank, '', false); addItem('Thẩm mỹ (Skin Beauty)', 'Home.php?node=1671','', subBlank,18); startMenu(' 25',true,39*4.3+50+2,0,29*4.3+50, subBlank, '', false); addItem('Techcombank (Techcombank ATM)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40M%C3%A1y+ATM+%28+ATM%29%40Techcombank+%28Techcombank+ATM%29','', subBlank,18); addItem('Vietcombank (Vietcombank ATM)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40M%C3%A1y+ATM+%28+ATM%29%40Vietcombank+%28Vietcombank+ATM%29','', subBlank,18); startMenu(' 26',true,39*4.3+50+2,0,35*4.3+50, subBlank, '', false); addItem('Đình, chùa (Temples and pagodas)', 'h30.php?node=Gi%E1%BA%A3i+tr%C3%AD+%28Entertainment%29%40N%C6%A1i+t%C3%B4n+k%C3%ADnh+%28Worship%29%40%C4%90%C3%ACnh%2C+ch%C3%B9a+%28Temples+and+pagodas%29','', subBlank,18); startMenu(' 27',true,39*4.3+50+2,0,23*4.3+50, subBlank, '', false); addItem('Nghe nhạc (Music box)', 'Home.php?node=739','', subBlank,18); startMenu(' 28',true,39*4.3+50+2,0,24*4.3+50, subBlank, '', false); addItem('Khách sạn (Hotel)', 'h30.php?node=%E1%BB%9E+%28Accommodation%29%40Kh%C3%A1ch+s%E1%BA%A1n+%28Hotel%29%40Kh%C3%A1ch+s%E1%BA%A1n+%28Hotel%29','', subBlank,18); addItem('Khu nghỉ mát (Resort)', 'Home.php?node=1654','', subBlank,18); startMenu(' 29',true,39*4.3+50+2,0,43*4.3+50, subBlank, '', false); addItem('Khu DL sinh thái (Ecological tourism site)', 'h30.php?node=%E1%BB%9E+%28Accommodation%29%40Khu+du+l%E1%BB%8Bch+%28Tourism+site%29%40Khu+DL+sinh+th%C3%A1i+%28Ecological+tourism+site%29','', subBlank,18); addItem('Khu du lịch(Entertainment sites)', 'h30.php?node=%E1%BB%9E+%28Accommodation%29%40Khu+du+l%E1%BB%8Bch+%28Tourism+site%29%40Khu+du+l%E1%BB%8Bch%28Entertainment+sites%29','', subBlank,18); addItem('Khu nghỉ mát (Resort)', 'Home.php?node=1656','', subBlank,18); startMenu(' 30',true,39*4.3+50+2,0,24*4.3+50, subBlank, '', false); addItem('Khu nghỉ mát (Resort)', 'h30.php?node=%E1%BB%9E+%28Accommodation%29%40Khu+ngh%E1%BB%89+m%C3%A1t+%28Resort%29%40Khu+ngh%E1%BB%89+m%C3%A1t+%28Resort%29','', subBlank,18); startMenu('hero', true, 0, 22, 120, subM, '', false); addItem('', '', 'sm:', subBlank,20); addItem('CD/DVD (CD/DVD)', 'CD/DVD (CD/DVD)', 'sm:', subBlank,20); addItem('Dịch vụ (service)', 'Dịch vụ (service)', 'sm:', subBlank,20); addItem('Hoa tươi (Flowers)', 'Hoa tươi (Flowers)', 'sm:', subBlank,20); addItem('Mỹ phẩm (Cosmetic)', 'Mỹ phẩm (Cosmetic)', 'sm:', subBlank,20); addItem('Nón (Caps)', 'Nón (Caps)', 'sm:', subBlank,20); addItem('Quà tặng (Gifts)', 'Quà tặng (Gifts)', 'sm:', subBlank,20); addItem('Sách (Book)', 'Sách (Book)', 'sm:', subBlank,20); addItem('Sex toy', 'Sex toy', 'sm:', subBlank,20); addItem('Trao đổi (Trade)', 'Trao đổi (Trade)', 'sm:', subBlank,20); startMenu('', true, 122, 0,205, subBlank, '', 20); addItem('', 'Chonhang.php?node=%40%402','', subBlank,18); startMenu('CD/DVD (CD/DVD)', true, 122, 0,205, subBlank, '', 20); addItem('VCD Nữ công - Gia chánh', 'Chonhang.php?node=CD%2FDVD+%28CD%2FDVD%29%40VCD+N%E1%BB%AF+c%C3%B4ng+-+Gia+ch%C3%A1nh%4018','', subBlank,18); addItem('Đĩa học Anh văn', 'Chonhang.php?node=CD%2FDVD+%28CD%2FDVD%29%40%C4%90%C4%A9a+h%E1%BB%8Dc+Anh+v%C4%83n%4018','', subBlank,18); addItem('Đĩa Kinh sách, truyện', 'Chonhang.php?node=CD%2FDVD+%28CD%2FDVD%29%40%C4%90%C4%A9a+Kinh+s%C3%A1ch%2C+truy%E1%BB%87n%4018','', subBlank,18); startMenu('Dịch vụ (service)', true, 122, 0,205, subBlank, '', 20); addItem('Giúp việc online', 'Chonhang.php?node=D%E1%BB%8Bch+v%E1%BB%A5+%28service%29%40Gi%C3%BAp+vi%E1%BB%87c+online%4021','', subBlank,18); startMenu('Hoa tươi (Flowers)', true, 122, 0,205, subBlank, '', 20); addItem('Hoa chúc mừng (Congratulation flowers)', 'Chonhang.php?node=Hoa+t%C6%B0%C6%A1i+%28Flowers%29%40Hoa+ch%C3%BAc+m%E1%BB%ABng+%28Congratulation+flowers%29%40138','', subBlank,18); addItem('Hoa văn phòng (office flowers)', 'Chonhang.php?node=Hoa+t%C6%B0%C6%A1i+%28Flowers%29%40Hoa+v%C4%83n+ph%C3%B2ng+%28office+flowers%29%40138','', subBlank,18); startMenu('Mỹ phẩm (Cosmetic)', true, 122, 0,205, subBlank, '', 20); addItem('Mỹ phẫm Đức HELIOTROP', 'Chonhang.php?node=M%E1%BB%B9+ph%E1%BA%A9m+%28Cosmetic%29%40M%E1%BB%B9+ph%E1%BA%ABm+%C4%90%E1%BB%A9c+HELIOTROP%4027','', subBlank,18); addItem('Mỹ phẫm Đức NEOBIO', 'Chonhang.php?node=M%E1%BB%B9+ph%E1%BA%A9m+%28Cosmetic%29%40M%E1%BB%B9+ph%E1%BA%ABm+%C4%90%E1%BB%A9c+NEOBIO%4027','', subBlank,18); startMenu('Nón (Caps)', true, 122, 0,205, subBlank, '', 20); addItem('Nón trẻ em (Kids`caps)', 'Chonhang.php?node=N%C3%B3n+%28Caps%29%40N%C3%B3n+tr%E1%BA%BB+em+%28Kids%60caps%29%4014','', subBlank,18); startMenu('Quà tặng (Gifts)', true, 122, 0,205, subBlank, '', 20); addItem('Quà độc đáo (Unique Gifts)', 'Chonhang.php?node=Qu%C3%A0+t%E1%BA%B7ng+%28Gifts%29%40Qu%C3%A0+%C4%91%E1%BB%99c+%C4%91%C3%A1o+%28Unique+Gifts%29%407','', subBlank,18); startMenu('Sách (Book)', true, 122, 0,205, subBlank, '', 20); addItem('Bà mẹ, Em bé', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40B%C3%A0+m%E1%BA%B9%2C+Em+b%C3%A9%402884','', subBlank,18); addItem('Bách khoa', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40B%C3%A1ch+khoa%402884','', subBlank,18); addItem('Bói toán', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40B%C3%B3i+to%C3%A1n%402884','', subBlank,18); addItem('Best seller', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Best+seller%402884','', subBlank,18); addItem('Chính trị', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ch%C3%ADnh+tr%E1%BB%8B%402884','', subBlank,18); addItem('Chứng khoán', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ch%E1%BB%A9ng+kho%C3%A1n%402884','', subBlank,18); addItem('Chăm sóc sức khoẻ', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ch%C4%83m+s%C3%B3c+s%E1%BB%A9c+kho%E1%BA%BB%402884','', subBlank,18); addItem('Danh nhân', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Danh+nh%C3%A2n%402884','', subBlank,18); addItem('Du lịch - địa lý', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Du+l%E1%BB%8Bch+-+%C4%91%E1%BB%8Ba+l%C3%BD%402884','', subBlank,18); addItem('Dưỡng sinh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40D%C6%B0%E1%BB%A1ng+sinh%402884','', subBlank,18); addItem('Giáo khoa', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Gi%C3%A1o+khoa%402884','', subBlank,18); addItem('Giới tính', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Gi%E1%BB%9Bi+t%C3%ADnh%402884','', subBlank,18); addItem('Học làm người', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40H%E1%BB%8Dc+l%C3%A0m+ng%C6%B0%E1%BB%9Di%402884','', subBlank,18); addItem('Kế Toán', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40K%E1%BA%BF+To%C3%A1n%402884','', subBlank,18); addItem('Kỹ Thuật', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40K%E1%BB%B9+Thu%E1%BA%ADt%402884','', subBlank,18); addItem('Khảo cứu lịch sử', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kh%E1%BA%A3o+c%E1%BB%A9u+l%E1%BB%8Bch+s%E1%BB%AD%402884','', subBlank,18); addItem('Khảo cứu triết học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kh%E1%BA%A3o+c%E1%BB%A9u+tri%E1%BA%BFt+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Khảo cứu văn học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kh%E1%BA%A3o+c%E1%BB%A9u+v%C4%83n+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Khoa học thường thức', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Khoa+h%E1%BB%8Dc+th%C6%B0%E1%BB%9Dng+th%E1%BB%A9c%402884','', subBlank,18); addItem('Khoa học đời sống', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Khoa+h%E1%BB%8Dc+%C4%91%E1%BB%9Di+s%E1%BB%91ng%402884','', subBlank,18); addItem('Kinh dị', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kinh+d%E1%BB%8B%402884','', subBlank,18); addItem('Kinh tế', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kinh+t%E1%BA%BF%402884','', subBlank,18); addItem('Kinh tế học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Kinh+t%E1%BA%BF+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Marketing', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Marketing%402884','', subBlank,18); addItem('Nông nghiệp', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40N%C3%B4ng+nghi%E1%BB%87p%402884','', subBlank,18); addItem('Nữ công - Gia chánh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40N%E1%BB%AF+c%C3%B4ng+-+Gia+ch%C3%A1nh%402884','', subBlank,18); addItem('Nghệ thuật kinh doanh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ngh%E1%BB%87+thu%E1%BA%ADt+kinh+doanh%402884','', subBlank,18); addItem('Nghệ thuật sống', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ngh%E1%BB%87+thu%E1%BA%ADt+s%E1%BB%91ng%402884','', subBlank,18); addItem('Ngoại ngữ', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ngo%E1%BA%A1i+ng%E1%BB%AF%402884','', subBlank,18); addItem('Ngoại thương', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ngo%E1%BA%A1i+th%C6%B0%C6%A1ng%402884','', subBlank,18); addItem('Nuôi dạy con', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Nu%C3%B4i+d%E1%BA%A1y+con%402884','', subBlank,18); addItem('Pháp luật', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ph%C3%A1p+lu%E1%BA%ADt%402884','', subBlank,18); addItem('Phật giáo', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ph%E1%BA%ADt+gi%C3%A1o%402884','', subBlank,18); addItem('Phụ nữ - Làm đẹp', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ph%E1%BB%A5+n%E1%BB%AF+-+L%C3%A0m+%C4%91%E1%BA%B9p%402884','', subBlank,18); addItem('Quản trị kinh doanh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Qu%E1%BA%A3n+tr%E1%BB%8B+kinh+doanh%402884','', subBlank,18); addItem('Tài chính', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%C3%A0i+ch%C3%ADnh%402884','', subBlank,18); addItem('Tâm lí', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%C3%A2m+l%C3%AD%402884','', subBlank,18); addItem('Tâm linh, Phong thủy', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%C3%A2m+linh%2C+Phong+th%E1%BB%A7y%402884','', subBlank,18); addItem('Tôn giáo', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%C3%B4n+gi%C3%A1o%402884','', subBlank,18); addItem('Từ điển', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%E1%BB%AB+%C4%91i%E1%BB%83n%402884','', subBlank,18); addItem('Từ điển chuyên nghành', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40T%E1%BB%AB+%C4%91i%E1%BB%83n+chuy%C3%AAn+ngh%C3%A0nh%402884','', subBlank,18); addItem('Thiên Chúa giáo', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Thi%C3%AAn+Ch%C3%BAa+gi%C3%A1o%402884','', subBlank,18); addItem('Thiếu nhi', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Thi%E1%BA%BFu+nhi%402884','', subBlank,18); addItem('Thơ', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Th%C6%A1%402884','', subBlank,18); addItem('Tiếng Anh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BA%BFng+Anh%402884','', subBlank,18); addItem('Tiếng Pháp', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BA%BFng+Ph%C3%A1p%402884','', subBlank,18); addItem('Tiếng Trung', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BA%BFng+Trung%402884','', subBlank,18); addItem('Tiểu học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BB%83u+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Tiểu thuyết', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BB%83u+thuy%E1%BA%BFt%402884','', subBlank,18); addItem('Tiểu thuyết nước ngoài', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BB%83u+thuy%E1%BA%BFt+n%C6%B0%E1%BB%9Bc+ngo%C3%A0i%402884','', subBlank,18); addItem('Tiểu thuyệt Võ hiệp', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Ti%E1%BB%83u+thuy%E1%BB%87t+V%C3%B5+hi%E1%BB%87p%402884','', subBlank,18); addItem('Tin học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Tin+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Trinh thám', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Trinh+th%C3%A1m%402884','', subBlank,18); addItem('Truyện cổ tích', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Truy%E1%BB%87n+c%E1%BB%95+t%C3%ADch%402884','', subBlank,18); addItem('Truyện cười', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Truy%E1%BB%87n+c%C6%B0%E1%BB%9Di%402884','', subBlank,18); addItem('Truyện ngắn - VN', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Truy%E1%BB%87n+ng%E1%BA%AFn+-+VN%402884','', subBlank,18); addItem('Truyện vừa - VN', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Truy%E1%BB%87n+v%E1%BB%ABa+-+VN%402884','', subBlank,18); addItem('Tuổi teen', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Tu%E1%BB%95i+teen%402884','', subBlank,18); addItem('Tuổi Trẻ', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Tu%E1%BB%95i+Tr%E1%BA%BB%402884','', subBlank,18); addItem('Vật nuôi cây cảnh', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%E1%BA%ADt+nu%C3%B4i+c%C3%A2y+c%E1%BA%A3nh%402884','', subBlank,18); addItem('Việc làm', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Vi%E1%BB%87c+l%C3%A0m%402884','', subBlank,18); addItem('Văn hóa', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%C3%B3a%402884','', subBlank,18); addItem('Văn hóa á đông', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%C3%B3a+%C3%A1+%C4%91%C3%B4ng%402884','', subBlank,18); addItem('Văn học nước ngoài', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%E1%BB%8Dc+n%C6%B0%E1%BB%9Bc+ngo%C3%A0i%402884','', subBlank,18); addItem('Văn học phương tây', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%E1%BB%8Dc+ph%C6%B0%C6%A1ng+t%C3%A2y%402884','', subBlank,18); addItem('Văn học phương đông', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%E1%BB%8Dc+ph%C6%B0%C6%A1ng+%C4%91%C3%B4ng%402884','', subBlank,18); addItem('Văn học trong nước', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40V%C4%83n+h%E1%BB%8Dc+trong+n%C6%B0%E1%BB%9Bc%402884','', subBlank,18); addItem('Xây dựng', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40X%C3%A2y+d%E1%BB%B1ng%402884','', subBlank,18); addItem('Y học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40Y+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Đại học', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40%C4%90%E1%BA%A1i+h%E1%BB%8Dc%402884','', subBlank,18); addItem('Đồ họa', 'Chonhang.php?node=S%C3%A1ch+%28Book%29%40%C4%90%E1%BB%93+h%E1%BB%8Da%402884','', subBlank,18); startMenu('Sex toy', true, 122, 0,205, subBlank, '', 20); addItem('Bao cao su (condom)', 'Chonhang.php?node=Sex+toy%40Bao+cao+su+%28condom%29%4012','', subBlank,18); startMenu('Trao đổi (Trade)', true, 122, 0,205, subBlank, '', 20); addItem('Cá cảnh', 'Chonhang.php?node=Trao+%C4%91%E1%BB%95i+%28Trade%29%40C%C3%A1+c%E1%BA%A3nh%407','', subBlank,18); addItem('Linh kiện máy tính', 'Chonhang.php?node=Trao+%C4%91%E1%BB%95i+%28Trade%29%40Linh+ki%E1%BB%87n+m%C3%A1y+t%C3%ADnh%407','', subBlank,18); addItem('Đồ gia dụng', 'Chonhang.php?node=Trao+%C4%91%E1%BB%95i+%28Trade%29%40%C4%90%E1%BB%93+gia+d%E1%BB%A5ng%407','', subBlank,18); } // CREATE ANOTHER MENU OBJECT here if you want multiple menus on a page, or you can just // duplicate this entire file and rename 'pMenu' to something else. // Every menu object MUST have a menu named 'root' in it, as that's always visible. //var anotherMenu = new PopupMenu('anotherMenu'); //with (anotherMenu) //{ // startMenu('root', .....); // ... make menus here ... //} // ******************** MENU EFFECTS ******************** // // Now you've created a basic menu object, you can add optional effects like borders and // shadows to specific menus. You can remove this section entirely if you want, the // functions called are found at the bottom of this file. // BORDER: Added to all menus in a named object using a specified ItemStyle. The syntax is: // addMenuBorder(menuObject, ItemStyle, // opacity of border, 'border colour', border width, 'padding colour', padding width); // Opacity is a number from 0 to 100, or null for solid colour (just like the ItemStyles). addMenuBorder(pMenu, window.subBlank, null, '#666666', 1, '#CCCCDD', 0); // DROPSHADOW: added to specific ItemStyles again. The syntax is similar, but later on you // pass arrays [...] for each layer of the shadow you want. I've used two grey layers // here, but you can use as many or as few as you want. The syntax for the layers is: // [opacity, 'layer colour', X offset, Y offset, Width Difference, Height difference] // Opacity is from 0 to 100 (or null to make it solid), and the X/Y offsets are the // distance in pixels from the menu's top left corner to that shadow layer's corner. // The width/height differences are added or subtracted to the current menu size, for // instance the first layer of this shadow is 4px narrower and shorter than the menu // it is shadowing. addDropShadow(pMenu, window.subM, [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]); addDropShadow(pMenu, window.subBlank, [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]); // ANIMATION SETTING: We add this to the 'pMenu' menu object for supported browsers. // IE4/Mac and Opera 5/6 don't support clipping, and Mozilla versions prior to 1.x (such as // Netscape 6) are too slow to support it, so I'm doing some browser sniffing. // If you don't want animation, delete this entirely, and the menus will act normally. // Change the speed if you want... it's the last number, between -100 and 100, and is // defined as the percentage the animation moves each frame (defaults are 10 and 15). if ((navigator.userAgent.indexOf('rv:0.')==-1) && !(isOp&&!document.documentElement) && !(isIE4&&!window.external)) { pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)'); pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)'); // Add animation to other menu objects like this... //anotherMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)'); //anotherMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)'); } // ******************** FUNCTIONS CALLED BY THE EFFECTS SECTION ******************** // These can be deleted if you're not using them. Alternatively, if you're using several menu // data files, you may want to move them to the "core" script file instead. // This is the "positioning from page anchors" code used by the advanced positioning expressions. page.elmPos=function(e,p) { var x=0,y=0,w=p?p:this.win; e=e?(e.substr?(isNS4?w.document.anchors[e]:getRef(e,w)):e):p; if(isNS4){if(e&&(e!=p)){x=e.x;y=e.y};if(p){x+=p.pageX;y+=p.pageY}} if (e && this.MS && navigator.platform.indexOf('Mac')>-1 && e.tagName=='A') { e.onfocus = new Function('with(event){self.tmpX=clientX-offsetX;' + 'self.tmpY=clientY-offsetY}'); e.focus();x=tmpX;y=tmpY;e.blur() } else while(e){x+=e.offsetLeft;y+=e.offsetTop;e=e.offsetParent} return{x:x,y:y}; }; // Animation: // // Each menu object you create by default shows and hides its menus instantaneously. // However you can override this behaviour with custom show/hide animation routines, // as we have done in the "Menu Effects" section. Feel free to edit this, or delete // this entire function if you're not using it. Basically, make functions to handle // menuObj.showAnim() and .hideAnim(), both of which are passed menu names. // // Customisers: My lyr.clip() command gets passed the parameters (x1, y1, x2, y2) // so you might want to adjust the direction etc. Oh, and I'm adding 2 to the dimensions // to be safe due to different box models in some browsers. // Another idea: add some if/thens to test for specific menu names...? function menuAnim(menuObj, menuName, dir) { // The array index of the named menu (e.g. 'mFile') in the menu object (e.g. 'pMenu'). var mD = menuObj.menu[menuName][0]; // Add timer and counter variables to the menu data structure, we'll need them. if (!mD.timer) mD.timer = 0; if (!mD.counter) mD.counter = 0; with (mD) { // Stop any existing animation. clearTimeout(timer); // If the litNow() array doesn't show this menu as lit, and we're still showing it, // force a quick hide (this stops miscellaneous timer errors). //if (dir>0 && !menuObj.litNow[menuObj.menu[menuName][0].parentMenu]) dir = -100; // If the layer doesn't exist (cross-frame navigation) quit. if (!lyr || !lyr.ref) return; // This next line is not strictly necessary, but it stops the one-in-a-hundred menu that // shows and doesn't hide on very quick mouseovers. if (!visNow && dir>0) dir = 0-dir; // Show the menu if that's what we're doing. if (dir>0) lyr.vis('visible'); // Also raise showing layers above hiding ones. lyr.sty.zIndex = dir>0 ? mD.zIndex + 1 : 1001; // Alpha fade in IE5.5+. Mozilla's opacity (pre-v1.7) isn't well suited as it's an inheritable // property rather than a block-level filter, and it's slow, but uncomment and try it perhaps. // WARNING: This looks funny if you're mixing opaque and translucent items e.g. solid menus // with dropshadows. If you're going to use it, either disable dropshadows or set the opacity // values for your items to numbers instead of null. //if (isIE && window.createPopup) lyr.alpha(counter&&(counter<100) ? counter : null); // Clip the visible area. The syntax is: lyr.clip(left, top, right, bottom); // As you can see in these examples, three are static at either zero or the edge of a menu item, // and either the top or bottom is a complicated formula based on the 'counter' variable which // counts from 0 to 100 and back again; this give a nice accelerating-sliding animation. // Feel free to experiment with your own animations, here are some samples (use one only): // Straightforward downwards clipping animation (default setting): lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) ); // If you want, comment out the above line and enable this one to animate bottom-upwards: //lyr.clip(0, (menuH+2)-(menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75), menuW+2, menuH+2); // Another alternative: Move+clip sliding animation. Looks really cool :). //if (!counter) mD.origY = lyr.y(); //var newY = (menuH+2)-(menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75); //lyr.clip(0, newY, menuW+2, menuH+2); //lyr.y(mD.origY - newY); // Increment the counter and if it hasn't reached the end (counter is 0% or 100%), // set the timer to call the animation function again in 40ms to contine the animation. // Note that we hide the menu div on animation end in that direction. counter += dir; if (counter>100) { counter = 100; lyr.sty.zIndex = mD.zIndex } else if (counter<0) { counter = 0; lyr.vis('hidden') } else timer = setTimeout('menuAnim('+menuObj.myName+',"'+menuName+'",'+dir+')', 40); } }; // Borders and Dropshadows: // // Here's the menu border and dropshadow functions we call above. Edit ot delete if you're // not using them. Basically, they assign a string to pMenu.menu.menuName[0].extraHTML, which // is written to the document with the menus as they are created -- the string can contain // anything you want, really. They also adjust the menu dimensions and item positions // to suit. Dig out the Object Browser script and open up "pMenu" for more info. function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW) { // Loop through the menu array of that object, finding matching ItemStyles. for (var mN in mObj.menu) { var mR=mObj.menu[mN], dS='
'; else mR[0].extraHTML += dS+bordCol+'; left:0px; top:0px; width:'+mW+'px; height:'+mH+ 'px; z-index:980; '+ (alpha!=null?'filter:alpha(opacity='+alpha+'); -moz-opacity:'+alpha+'%; opacity:'+(alpha/100):'')+ '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+ (mH-2*bordW)+'px; z-index:990">
'; } }; function addDropShadow(mObj, iS) { // Pretty similar to the one above, just loops through list of extra parameters making // dropshadow layers (from arrays) and extending the menu dimensions to suit. for (var mN in mObj.menu) { var a=arguments, mD=mObj.menu[mN][0], addW=addH=0; if (mD.itemSty != iS) continue; for (var shad=2; shad'; else mD.extraHTML += '
'; addW=Math.max(addW, s[2]+s[4]); addH=Math.max(addH, s[3]+s[5]); } mD.menuW+=addW; mD.menuH+=addH; } }; // LONG MENU SCROLLING // Overflow version: Paste this at the end of your menu data (either POP_DATA or your frameset). // It will apply scrollbars to long vertical menus. // For bonus points, you can remove the setInterval call and rewrite it to call checkMenuScroll() // on menu show or window scroll/resize... PopupMenu.prototype.checkMenuScroll = function() { with (this) { for (var mN in litNow) { var mD = menu[mN][0], eP = eval(mD.par); if (!eP) eP = window; var pH = eP.page.winH(), pY = eP.page.scrollY(); if (!(mD.counter % 100)) with (mD.lyr) { if (mD.menuH + y() >= pY + pH) { sty.clip = 'rect(0px auto auto 0px)'; sty.width = (mD.menuW + 15) + 'px'; sty.height = (pY + pH - y()) + 'px'; sty.overflow = 'auto'; ref.onmouseover = new Function('clearTimeout(' + myName + '.hideTimer)'); ref.onmouseout = new Function(myName + '.out("' + mN + '", 0)'); } else { sty.height = (mD.menuH + 2) + 'px'; sty.overflow = 'visible'; } } } }}; for (var mObj in PopupMenu.list) { if (!isNS4) setInterval(mObj + '.checkMenuScroll()', 500); }