/*
Top Navigational Bar II (By Mike Hall)
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(50, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "index.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(60, 160);
dhtmlMenu.addItem(new NavBarMenuItem("About IFI", "about_ifi.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Contacts", "contacts_ifi.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Press Releases", "press_releases.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Tradeshow Schedule", "tradeshows.html"));
dhtmlMenu.addItem(new NavBarMenuItem("FAQs", "faqs.html"));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(40, 160);
dhtmlMenu.addItem(new NavBarMenuItem("New", "new.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Press Release", "press_releases.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Products", "new.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Tradeshow Schedule", "tradeshows.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(85, 160);
dhtmlMenu.addItem(new NavBarMenuItem("Database Info", "databases_ifi.html"));
dhtmlMenu.addItem(new NavBarMenuItem("IFI Difference", "ifi_difference.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Overview", "databases_ifi.html#db01"));
dhtmlMenu.addItem(new NavBarMenuItem("Databases", "databases_ifi.html"));
//dhtmlMenu.addItem(new NavBarMenuItem("Price List", "PriceList2003.pdf"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Other Products", "otherproducts_ifi.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Business Method Patents", "bmp.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Patent Portfolio Service", "pps.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Indexing & Database Creation/Database Management Service", "idc.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Patent Intelligence and Technology Report", "otherproducts_pitr.html"));
dhtmlMenu.addItem(new NavBarMenuItem("IPC/U.S. Patent Concordance", "otherproducts_concordance.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Assignee Thesaurus", "otherproducts_thesaurus.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Patent Books and Journals", "otherproducts_ip.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Custom Search Services", "custom_search_service.asp"));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(110, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Search Resources", "patent_research.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Assignee Name and Indexing Vocabulary Database", "searchaids_main.html"));
//dhtmlMenu.addItem(new NavBarMenuItem("Vocabulary Supplements", "vocab_main.html"));
//dhtmlMenu.addItem(new NavBarMenuItem("IFI Patent Newsletter", "patent_news.html"));
dhtmlMenu.addItem(new NavBarMenuItem("USPTO Interference Notices", "uspto_main.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Demos/Training", "demo_ifi.html"));
dhtmlMenu.addItem(new NavBarMenuItem("On-Site Training", "onsite_training.asp"));
dhtmlMenu.addItem(new NavBarMenuItem("Demonstration/Sales Kit", "demo_saleskit.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(60, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Contacts", "contacts_ifi.html"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
//myNavBar1.setColors("#000000", "#000000", "#C0C0C0", "#ffffff", "#666666", "#000000", "#cccccc", "#ffffff", "#000080")
myNavBar1.setColors("#000000", "#ffffff", "#000000", "#ffffff", "#000080", "#000000", "#cccccc", "#ffffff", "#000080")
//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("right")

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(500);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(50,70);
}

