//Top Nav bar script v2.1- http://www.dynamicdrive.com/dynamicindex1/sm/index.htm

function showToolbar()
{
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location, linktarget);

	menu = new Menu();
	
//NOTICE: Text and Hints can have ' but cannot contain "	Do use &quot; 
//        " & " will be converted to " &amp; "; generaly use "&amp;" for ampersands; 
//        Generally, do not use ">" in text, enter it as "&gt;" if you do; same with other special characters
//        Use null (without quotes) in hint if you want to leave it blank
//        ALWAYS fill in the target, usually with "_self" or "_blank" (with the quotes)
	
//                  (idItem,     text,          hint,     location,     altLocation)
//                   MenuID      Choice     alt or title   href=         target=                          
	menu.addItem("homeid", "Home", "Inventor Home web site main entry page with PTO, Busienss, and other links", "/", "_self");
		//NOTE: when the "Home Menu" is placed in the index.asp page the 'index.asp' and it's text from the 'Home' subitem should be swapped into place of the above text and link ?????
	menu.addItem("patentid", "PTO & Law", "Patent, trademark, international searches etc.", "/patmenu.asp", "_self");
	menu.addItem("infoid", "Information", "Articles about various subjects", "/infomenu.asp", "_self");
	menu.addItem("linksid", "Links", "Categorized links to sites useful to inventors", "/linkmenu.asp", "_self");
	menu.addItem("searchengineid", "Search Engines", "Search Engines", "/srchmenu.asp", "_self");
	menu.addItem("miscid", "Miscellaneous", "Miscellaneous", "/miscmenu.asp", "_self");
	menu.addItem("newsid", "News", "Various news organizations", "/news.asp", "_self");
	
//(                idParent,   text,           hint,       location,        linktarget,    level(SubPart)*)
//* set level to "Main" for main menu choices. Set to "mainreturn" for where to go in an item immediately preceeding the first entry in each submenu submenu list with a named level other than "Main".
//	menu.addSubItem("id", "", "", ".asp", "_self", "Main");
	menu.addSubItem("homeid", "Home", "Basic site info pages and home subsection home page", "/homemenu.asp", "_self", "Main");
	menu.addSubItem("homeid", "Start Here", "If you are new to this site start with this page", "/starthere.asp", "_self", "Main");
	menu.addSubItem("homeid", "Disclaimer", "The fine print", "/disclaimer.asp", "_self", "Main");
	menu.addSubItem("homeid", "Purpose", "Why this site is here", "/purpose.asp", "_self", "Main");
	menu.addSubItem("homeid", "Privacy", "What we will and will not do with your information", "/privacy.asp", "_self", "Main");
	menu.addSubItem("homeid", "Suggestion Box", "Suggestions are welcome. What do you want to see or think other inventors will find useful", "/suggest.asp", "_self", "Main");
	menu.addSubItem("homeid", "About Us", "A little bit about us", "/aboutus.asp", "_self", "Main");
	menu.addSubItem("homeid", "Contact Us", "How to get in touch with us", "/contact.asp", "_self", "Main");

	menu.addSubItem("patentid", "Quick Search", "The USPTO basic patent search value entry page", "http://patft.uspto.gov/netahtml/search-bool.html", "_blank", "Main");
	menu.addSubItem("patentid", "Search Types", "Choose the type of USPTO search you want including by number or applications", "http://www.uspto.gov/patft/index.html", "_blank", "Main");
	menu.addSubItem("patentid", "Patent Page", "The USPTO site main Patent information selection page", "http://www.uspto.gov/main/patents.htm", "_blank", "Main");
	menu.addSubItem("patentid", "Trademarks", "Access to trademark information and searching", "/trademark.asp", "_self", "Main");
	menu.addSubItem("patentid", "International", "Access to international patent searching and information", "/internat.asp", "_self", "Main");
	menu.addSubItem("patentid", "Copyright", "Links to the Copyright Office of the Library of Congress, etc.", "/copyright.asp", "_self", "Main");

	menu.addSubItem("patentid", "PTO & Law", "Patent, trademark, international searches etc.", "/patmenu.asp", "_self", "mainreturn");
	menu.addSubItem("patentid", "Templates", "Templates for preparing Applications", "/templates.asp", "_self", "Templates");
	menu.addSubItem("patentid", "Provisional Template", "A template for preparing a Provisional Application for Patent", "/provisap.asp", "_self", "Templates");
	menu.addSubItem("patentid", "Patent App Template", "A template for preparing a full US patent application", "/fullapp.asp", "_self", "Templates");

	menu.addSubItem("infoid", "I Agree...", "What you agree you know the instant you start", "/iagree.asp", "_self", "Main");
	menu.addSubItem("infoid", "Fundamentals", "Some fundamentals you need to know",  "/fundament.asp", "_self", "Main");
	menu.addSubItem("infoid", "Definitions", "Definitions of common words, important differences from ordinary meanings", "/define.asp", "_self", "Main");
	menu.addSubItem("infoid", "Questions", "Where to ask questions and get free answeres from attorneys, manufacturers, marketers, etc.", "/questions.asp", "_self", "Main");
	menu.addSubItem("infoid", "Business", "Information about starting an running a business", "/business.asp", "_self", "Main");
	menu.addSubItem("infoid", "Manufacturing", "Information about manufacturing", "/mfg.asp", "_self", "Main");
	menu.addSubItem("infoid", "Licensing", "Information about licensing inventions", "/licensing.asp", "_self", "Main");
	menu.addSubItem("infoid", "Scam Come-ons", "How scammers gain your confidence", "/comeons.asp", "_self", "Main");

	menu.addSubItem("linksid", "Resources", "Links to various sites of use to inventors", "http://www.willitsell.com/alpharef.asp", "_blank", "Main");
	menu.addSubItem("linksid", "Various Links", "Information about and Links to information of interest to inventors",  "/linkmenu.asp", "_self", "Main");
	menu.addSubItem("linksid", "InventorEd", "The InventorEd(ucation) web site",  "http://www.inventored.org", "_blank", "Main");

	menu.addSubItem("searchengineid", "Yahoo", "Yahoo", "http://www.yahoo.com", "_blank", "Main");
	menu.addSubItem("searchengineid", "Google", "Google", "http://www.google.com", "_blank", "Main");
	menu.addSubItem("searchengineid", "Excite", "Excite", "http://www.excite.com", "_blank", "Main");
	menu.addSubItem("searchengineid", "HotBot", "HotBot", "http://www.hotbot.com", "_blank", "Main");
	menu.addSubItem("searchengineid", "Dogpile", "Dogpile", "http://www.dogpile.com", "_blank", "Main");

	menu.addSubItem("miscid", "US Post Office", "US Post Office",  "http://www.usps.com", "_blank", "Main");
	menu.addSubItem("miscid", "SCAMS!", "Information and warnings about scams that rip inventors off",  "/scam.asp", "_self", "Main");
	menu.addSubItem("miscid", "Scam Come-ons", "How scammers gain your confidence", "/comeons.asp", "_self", "Main");
	menu.addSubItem("miscid", "Clubs", "Inventor clubs",  "/clubs.asp", "_self", "Main");
	menu.addSubItem("miscid", "NDAs", "Non-Disclosure Agreements",  "/ndas.asp", "_self", "Main");
	menu.addSubItem("miscid", "Menu Map", "Shows the complete menu hierarchy of this site",  "/menumap.asp", "_self", "Main");

	menu.addSubItem("newsid", "CNN", "CNN",  "http://www.cnn.com", "_blank", "Main");
	menu.addSubItem("newsid", "ABC News", "ABC News",  "http://www.abcnews.com", "_blank", "Main");
	menu.addSubItem("newsid", "MSNBC", "MSNBC",  "http://www.msnbc.com", "_blank", "Main");
	menu.addSubItem("newsid", "CBS news", "CBS News",  "http://www.cbsnews.com", "_blank", "Main");
	menu.addSubItem("newsid", "News.com", "News.com",  "http://news.com", "_blank", "Main");
	menu.addSubItem("newsid", "Wired News", "Wired News",  "http://www.wired.com", "_blank", "Main");
	menu.addSubItem("newsid", "TechWeb", "TechWeb",  "http://www.techweb.com", "_blank", "Main");

	menu.showMenu();
}