//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();
	menu.addItem("Friends", "Friends of EC", "Friends of EC",  null, null);
	menu.addItem("Funplaces", "Fun Places", "Fun Places",  null, null);
	menu.addItem("freedownloadid", "EC Downloads", "EC Downloads",  null, null);
	menu.addItem("Coding", "Programing", "Programing related",  null, null);
	menu.addItem("Resources", "Resources", "Resource sites",  null, null);
	menu.addItem("miscid", "Miscellaneous", "Miscellaneous",  null, null);

	menu.addSubItem("Friends", "3DSciFi.com", "3DSciFi.com forums",  "http://3dscifi.com/forums/", "");
	menu.addSubItem("Friends", "Binary Zoo", "Binary Zoo games and forums",  "http://www.binaryzoo.com/", "");
	menu.addSubItem("Friends", "Oovworks", "Oovworks Forums / 2d 3d",  "http://www.oovworks.com/", "");
	menu.addSubItem("Friends", "Scifiers Anonymous", "SciFi art  / 2d 3d ",  "http://www.scifiersanonymous.com/", "");

	menu.addSubItem("Funplaces", "SciFi-Meshes", "SciFi related art 2d and 3d and more!",  "http://www.scifi-meshes.com/", "");
	menu.addSubItem("Funplaces", "EC Gallery", "Our very own EC Gallery full of pics",  "http://www.ejectedcore.com/ECUGallery/index.php", "");
	menu.addSubItem("Funplaces", "RC Groups", "RC stuff forum ",  "http://www.rcgroups.com/forums/usercp.php", "");

	menu.addSubItem("freedownloadid", "ECE Demo 2.0", "Demo Download",  "http://www.ejectedcore.com/downloads/ECEdemo2p0.exe", "");
	
	menu.addSubItem("Resources", "CG Textures", "Free texture resources for 2D/3D Games & Art",  "http://www.cgtextures.com/", "");
	menu.addSubItem("Resources", "Psionic3d", "Free resources for 2D/3D Games, Art Tutorials, Forums, Games, Links, etc",  "http://www.psionic3d.co.uk/", "");
	menu.addSubItem("Resources", "DEXSOFT GAMES", "High-quality low-poly 3D models for video games and real-time presentations",  "http://www.dexsoft-games.com/", "");

	menu.addSubItem("Coding", "P3D Forum", "Using P3D , and more",  "http://www.ejectedcore.com/P3D/forum/", "");
	menu.addSubItem("Coding", "Nuclear Fusion", "NF coding, colission DLL , and more",  "http://forums.nuclearglory.com/index.php", "");
	menu.addSubItem("Coding", "Nuclear Fusion Docs", "NF online user guide.",  "http://www.nuclearpublishing.com/users/Prime_8/NF4x/NF4_x.html", "");
	menu.addSubItem("Coding", "Play basic", "Underware Design home of Play Basic",  "http://www.underwaredesign.com/", "");
	menu.addSubItem("Coding", "Pure Basic", "Powerfull muli OS programming",  "http://www.purebasic.com/", "");
	menu.addSubItem("Coding", "TGC / DBP", "The Game Creators / Dark Basic Pro",  "http://www.thegamecreators.com/", "");
	menu.addSubItem("Coding", "Html Goodies", "Html Goodies",  "http://www.htmlgoodies.com/", "");

	menu.addSubItem("miscid", "Paint.net", "Paint.net free highend replacement for MS Paint. Supports many image formats",  "http://www.getpaint.net/index.html", "");
	menu.addSubItem("miscid", "Gimp Shop", "Gimp Shop is a free adobe alternative. very powerfull art app.",  "http://www.plasticbugs.com/index.php?p=241", "");
	menu.addSubItem("miscid", "FRE", "Edit audio files visually. Very easy.  + Its free",  "http://www.free-audio-editor.com", "");



	menu.showMenu();
}
