//FAQ-http://www.milonic.co.uk/menu/faq.php
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file

timegap=100                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=2               // Sub menu offset Top position
suboffset_left=-1             // Sub menu offset Left position



ScrollingSampStyle=[          // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"#3278C4",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFFFFF",                     // Mouse On Font Color
"006699",                     // Mouse On Background Color
"003399",                     // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"verdana,helvetica",// Font Name
6,                            // Menu Item Padding or spacing
"../images/arrow.gif",  // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
"FFFFFF",                             // Menu Item Separator Color
]


addmenu(menu=[
"FollowMain",                 // Menu Name - This is needed in order for this menu to be called
100,                          // Menu Top - The Top position of this menu in pixels
17,                           // Menu Left - The Left position of this menu in pixels
167,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ScrollingSampStyle,           // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.2)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Trang chủ","../index.jsp target=_parent",,,1
,"Giới thiệu về tên miền tiếng Việt","show-menu=gioithieutmtv",,,1
,"Whois - Tra cứu tên miền tiếng Việt","../jsp/whois.jsp target=_parent",,,1
,"Tìm kiếm tên miền tiếng Việt","../jsp/searchDomainVNByOwner.jsp target=_parent",,,1
,"Đăng ký TMTV và quản lý tài khoản","http://dangky.tenmientiengviet.vn target=_parent",,,1
,"Sử dụng dịch vụ","show-menu=dichvu",,,1
,"Hướng dẫn - Trợ giúp","show-menu=huongdan",,,1
,"Trang vàng","http://www.danhbaweb.vn target=_blank",,,1
,"Website VNNIC","show-menu=trangchu","http://www.vnnic.vn target = _blank",,1

])

addmenu(menu=[
"dichvu",
,
,
173,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Giới thiệu","../jsp/services.htm target=_parent",,,1
,"Nguyên tắc","../jsp/pricipleServices.htm target=_parent",,,1
,"Sử dụng dịch vụ","http://dichvu.tenmientiengviet.vn target=_parent",,,1
,"Hướng dẫn sử dụng dịch vụ","../jsp/guideToUseServices.htm target=_parent",,,1
]) 

addmenu(menu=[
"huongdan",
,
,
173,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Hướng dẫn đăng ký tên miền tiếng Việt","../jsp/huongdandangky.htm target=_parent",,,1
,"Đưa tên miền tiếng Việt vào sử dụng","../jsp/makeDomainRunning.jsp target=_parent",,,1
,"Hướng dẫn tạo website miến phí để gắn với TMTV","http://hướngdẫnlàmwebsite.vn target=_parent",,,1
,"Hướng dẫn truy cập Website với tên miền tiếng Việt","../html/huongdansudung.htm target=_parent",,,1
,"Hỏi đáp về đăng ký và sử dụng tên miền tiếng Việt","../jsp/qna.jsp target=_parent",,,1
,"Tải các chương trình hỗ trợ tên miền tiếng Việt","../html/downloads.htm target=_parent",,,1
]) 



addmenu(menu=[
"gioithieutmtv",
,
,
173,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Tin tức","../html/tintuc.htm target=_parent",,,1
,"Giải pháp ứng dụng","../html/giaiphap.htm target=_parent",,,1
]) 


addmenu(menu=[
"danhsachTMTV",
,
,
173,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Danh sách TMTV đã đăng ký, giai đoạn triển khai cấp phát tự do – miễn phí (từ 28/4/2011)","../jsp/listDomainVN.jsp target=_parent",,,1
,"Danh sách TMTV đăng ký cấp ưu tiên, giai đoạn tự do - miễn phí","../jsp/listNewDomainVNSunrise.jsp target=_parent",,,1
,"Danh sách TMTV được xét cấp phát trong giai đoạn ưu tiên","../jsp/listNewDomainVNSunriseApproved.jsp target=_parent",,,1
]) 

addmenu(menu=[
"trangchu",
,
,
173,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Giới thiệu","http://www.vnnic.vn/about.htm",,,1
,"Tên miền","http://www.tenmien.vn",,,1
,"Nhà đăng ký tên miền","http://www.nhadangky.vn",,,1
,"Tranh chấp tên miền","http://tranhchaptenmien.vn",,,1
,"Hệ thống DNS","http://dns.vnnic.vn",,,1
,"Thống kê Internet","http://www.thongkeinternet.vn",,,1
,"Trạm trung chuyển VNIX","http://www.vnix.vn",,,1
,"Địa chỉ IP/ASN","http://www.diachiip.vn",,,1
,"Ban công tác thúc đẩy IPv6 Quốc gia","http://www.ipv6tf.vn",,,1
,"Whois (tên miền)","http://www.tenmien.vn",,,1
]) 
dumpmenus();
   
   var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-23662219-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
  // enable the APNIC IPProtoTest and feed google analytics events  
   if ('http:' == document.location.protocol) 
   {   
   var ipproto_user = '737053';   
   (function() {    
   var iga = document.createElement('script'); 
   iga.type = 'text/javascript'; 
   iga.async = true;    
   iga.src = 'http://labs.apnic.net/ipprototest.js';   
   var is = document.getElementsByTagName('script')[0]; 
   is.parentNode.insertBefore(iga, is);   
   })();  
   }
