/*
Top Navigational Bar II (By Mike Hall @ Brainjar.com)
Last updated: 00/05/08
Permission granted and modified by Dynamicdrive.com to include script in archive
For this and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var myNavBar1 = new NavBar(0);
var dhtmlMenu;
//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below
dhtmlMenu = new NavBarMenu(60, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "/"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(95, 125);
dhtmlMenu.addItem(new NavBarMenuItem("Regions", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Africa/Middle East", "/intl/international.nsf/africa"));
dhtmlMenu.addItem(new NavBarMenuItem("Asia/Pacific", "/intl/international.nsf/asia"));
dhtmlMenu.addItem(new NavBarMenuItem("Europe", "/intl/international.nsf/europe"));
dhtmlMenu.addItem(new NavBarMenuItem("North America", "/intl/international.nsf/north+america"));
dhtmlMenu.addItem(new NavBarMenuItem("Latin America", "/intl/international.nsf/latin+america"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(90, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Help", ""));
dhtmlMenu.addItem(new NavBarMenuItem("e-mail", "mailto:idg_news@idg.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Contact IDGNS", "/intl/international.nsf/contact"));
dhtmlMenu.addItem(new NavBarMenuItem("About...", "/intl/international.nsf/about"));
myNavBar1.addMenu(dhtmlMenu);
//set menu colors
// Blue, light top
myNavBar1.setColors("#000066", "#FFFFFF", "#333399", "#ffffff", "#9999FF", "#FFFFFF", "#9999FF", "#ffffff", "#000066")
// Blue, dark top    
// myNavBar1.setColors("#000066", "#FFFFFF", "#333399", "#ffffff", "#000066", "#000000", "#9999FF", "#ffffff", "#000066")
// Blue, red top
// myNavBar1.setColors("#000066", "#FFFFFF", "#333399", "#ffffff", "#CC3333", "#000000", "#9999FF", "#ffffff", "#000066")
// Yellow
// myNavBar1.setColors("#000000", "#000000", "#FFCC00", "#FFFFFF", "#FF9900", "#000000", "#FFCC66", "#ffffff", "#CC9900")
// Yellow and tan
// myNavBar1.setColors("#000000", "#000000", "#FFCC00", "#FFFFFF", "#FF9900", "#000000", "#FFCC66", "#ffffff", "#CC9900")
// Green and tan
// myNavBar1.setColors("#000000", "#000000", "#669966", "#ffffff", "#999966", "#000000", "#CCCC99", "#ffffff", "#666633")
//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")
var fullWidth;
function init() {
  // Get width of window, need to account for scrollbar width in Netscape.
  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
}
function about() {
//     window.open("test.htm") ;
window.open("/intl/international.nsf/aboutpage", "About","toolbar=no,directories=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=350);") ;
}

