<!--

//"Sliding Menu with Submenus" - by Tim Guhl ©2002 - All Rights Reserved
//Site: http://www.guhl.co.uk/ EMail: webmaster@guhl.co.uk

//For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/

// general 
YOffset=150; // no quotes!!
XOffset=0;
SubXOffset = -20; // to display the submenu such that it is overlapping with its parent.
SubYOffset = -10;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
hideDelay=100; // default 100, max time to get from link to submenu before it gets hidden. 
namePic="tri.gif"; // name of file containing submenu picture
// menu
menuBGColor="black";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=120; // Must be a multiple of 10! no quotes!!
menuCols=2;
// header 
hdrFontFamily="arial,helvetica,sans-serif";
hdrFontSize="10px";
hdrFontColor="white";
hdrBGColor="#330099";
hdrSubBGColor="#3333ff";
hdrSubOverBGColor="#3333ff";//"#00ccff";
hdrAlign="left";
hdrVAlign="middle";
hdrHeight="20"; //has to be large enough for the text not to stretch the rows or the submenus will appear in the wrong places
// link
linkFontFamily="arial,helvetica,sans-serif";
linkFontSize="10px";
linkFontColor="black"
linkBGColor="white";
linkOverBGColor="#FFFF99";
linkSubBGColor = "#33ccff";
linkSubOverBGColor = "#99ccff";
linkTarget="_top";
linkAlign="Left";
// bar (at the right hand side)
barBGColor="#444444";
barFontFamily="arial,helvetica,sans-serif";
barFontSize="16px";
barFontColor="white";
barVAlign="center";
barWidth=20; // no quotes!! 
maxMenuItems = 100; //number of items in the base menu (if too small -> the sidebar will be to short)
barText="SIDE MENU"; // <IMG> tag supported. Put exact html for an image to show. 
					 //Has to be small enough for the this column not to strech the tabel. or change hdrHeight

///////////////////////////

maxDepth=4; // whats the highest level?  e.g  if the deepest is a "submenu of submenu of mainmenu" then maxDepth=3
menuNumber = 7; // total # of menus? e.g. only main: 1; main plus two sub menus: 3

/* ssmItems[...]=[menuNumber, level, submenuNumber, name, link, target, colspan, endrow?] 
	* menuNumber: start at 0 and increase for each menu. If two submenus are the same, you have to make a second copy.
	* level: At which level is the menu meant to be? e.g.
		|
		|-1-
		|   -2-
		|      -3-
		|
	* submenuNumber: the menuNumber of the submenu asociated with this menu. "no" of not submenu.
	* leave 'link' and 'target' blank to make a header
	* colspan and endrow are used to have two or mor items next to each other. 
		Leave for an item to cover the whole width.
		If you want more than 2 next to each other you will have to change "menuCols"
		An example are Email and Address (items 8 and 9)
*/

ssmItems[0]=[0, 0, "no", "Main Menu"] 												//create header without a submenu
ssmItems[1]=[0, 0, "no", "Home", "http://www.guhl.co.uk"] 							// create a link without a submenu
ssmItems[2]=[0, 0, 1, "Rustic Creations", "http://rusticcreations.guhl.co.uk", ""] 	// create a link with a submenu (i.e. you can click on the link OR one of the links in the submenu itself)
ssmItems[3]=[0, 0, 2, "Studying Abroad", "http://www.guhl.co.uk/abroadexperience",""]
ssmItems[4]=[0, 0, "no", "Download Menu", "http://menu.guhl.co.uk", ""]
ssmItems[5]=[0, 0, "no", "IBM2002 (Restricted Access)", "http://www.guhl.co.uk/IBM2002", ""]
ssmItems[6]=[0, 0, "no", "External Links", "", ""]	 					// create a header with submenu
ssmItems[7]=[0, 0, 3, "Search Engines", ""]
ssmItems[8]=[0, 0, "no", "Dynamic Drive", "http://www.dynamicdrive.com", "_new"]
ssmItems[9]=[0, 0, "no", "Bargainhosts (Please use this link to register!)", "http://bargainhosts.co.uk/members.php?aid=609", "_new"] 
ssmItems[10]=[0, 0, "no", "Email", "mailto:webmaster@guhl.co.uk", "", 1, "no"]		//create two column row (first column)
ssmItems[11]=[0, 0, "no", "Address", "http://tim.guhl.co.uk/txt%20contact.htm", "", 1] 	//create two column row (second column)

ssmItems[12]=[1, 1, "no", "Intro", "http://rusticcreations.guhl.co.uk/intro.htm", ""]	// a submenu level 1, comes directly out of main menu
ssmItems[13]=[1, 1, "no", "The Mushroom", "http://rusticcreations.guhl.co.uk/mushroom.htm", ""]
ssmItems[14]=[1, 1, "no", "The Heron", "http://rusticcreations.guhl.co.uk/herin.htm", ""]
ssmItems[15]=[1, 1, "no", "The Owl", "http://rusticcreations.guhl.co.uk/owl.htm", ""]
ssmItems[16]=[1, 1, "no", "The Horseshead", "http://rusticcreations.guhl.co.uk/horse.htm", ""]
ssmItems[17]=[1, 1, "no", "The Snail", "http://rusticcreations.guhl.co.uk/snail.htm", ""]
ssmItems[18]=[1, 1, "no", "The Furniture", "http://rusticcreations.guhl.co.uk/furniture.htm", ""]

ssmItems[19]=[2, 1, "no", "Intro", "http://www.guhl.co.uk/abroadexperience/index.htm", ""]
ssmItems[20]=[2, 1, "no", "St. Bedes School", "http://www.guhl.co.uk/abroadexperience/bedes.htm", ""]
ssmItems[21]=[2, 1, "no", "Imperial College", "http://www.guhl.co.uk/abroadexperience/uni.htm", ""]
ssmItems[22]=[2, 1, "no", "London", "http://www.guhl.co.uk/abroadexperience/london.htm", ""]
ssmItems[23]=[2, 1, "no", "Forum", "http://www.guhl.co.uk/abroadexperienceforum", ""]
ssmItems[24]=[2, 1, "no", "Guestbook", "http://www.guhl.co.uk/guestbookabroadexperience", ""]
ssmItems[25]=[2, 1, "no", "Contact", "http://www.guhl.co.uk/abroadexperience/contact.htm", ""]
ssmItems[26]=[2, 1, 4, "Nothing", "http://www.guhl.co.uk/", ""]
ssmItems[27]=[2, 1, "no", "Nothing", "http://www.guhl.co.uk/", ""]

ssmItems[28]=[3, 1, "no", "Google", "http://www.google.com", "_new"]
ssmItems[29]=[3, 1, "no", "Yahoo", "http://www.yahoo.com", "_new"]
ssmItems[30]=[3, 1, "no", "Altavista", "http://www.altavista.com/", "_new"]

ssmItems[31]=[4, 2, 5, "Imperial College", "http://www.ic.ac.uk", "_new"] 			// a submenu level 2, i.e. comes out of a submenu
ssmItems[32]=[4, 2, "no", "German <-> English", "http://dict.leo.org/", "_new"]
ssmItems[33]=[4, 2, "no", "E-Fellows", "http://www.e-fellows.net/", "_new"]
ssmItems[34]=[4, 2, "no", "Talentladder", "http://www.talentladder.co.uk/", "_new"]
ssmItems[35]=[4, 2, 6, "Househunting"]
ssmItems[36]=[4, 2, "no", "Altavista", "http://www.altavista.com/", "_new"]
ssmItems[37]=[4, 2, "no", "Google", "http://www.google.com", "_new"]
ssmItems[38]=[4, 2, "no", "Yahoo", "http://www.yahoo.com", "_new"]
ssmItems[39]=[4, 2, "no", "Altavista", "http://www.altavista.com/", "_new"]

ssmItems[40]=[5, 3, "no", "Electrical Engineering", "http://www.ee.ic.ac.uk", ""]
ssmItems[41]=[5, 3, "no", "IIS Group", "http://www.iis.ee.ic.ac.uk", ""]
ssmItems[42]=[5, 3, "no", "Dissappearing Computers", "http://www.ee.ic.ac.uk/eee2proj/old/pjc299/disappear/index.html", ""]
ssmItems[43]=[5, 3, "no", "Ship Propulsion", "http://www.ee.ic.ac.uk/eee2proj/old/tel99/index.html", ""]

ssmItems[44]=[6, 3, "no", "London Tube", "http://www.thetube.com/cgi-bin/tpquery2.exe?EntryType=Stations", "_new"]
ssmItems[45]=[6, 3, "no", "Black Katz", "http://www.black-katz.co.uk/students/index.asp", "_new"]
ssmItems[46]=[6, 3, "no", "Find A Property", "http://www.findaproperty.com/search.html", "_new"]
ssmItems[47]=[6, 3, "no", "London Property Guide", "http://www.londonpropertyguide.co.uk/netguide/PPF/London_Property_Guide/Property_Rentals/GCID/1202/Start/1/Guide.asp", "_new"]
ssmItems[48]=[6, 3, "no", "Winkworth", "http://www.winkworth.co.uk/newsite/winksearchra.htm", "_new"]
ssmItems[49]=[6, 3, "no", "Ludlow Thompson", "http://www.ludlowthompson.com/", "_new"]
ssmItems[50]=[6, 3, "no", "UK Property", "http://www.08004homes.com/Property/Search_to_rent.asp", "_new"]
ssmItems[51]=[6, 3, "no", "Up My Street", "http://www.upmystreet.com/", "_new"]
ssmItems[52]=[6, 3, "no", "Ludlow Thompson", "http://www.ludlowthompson.com/", "_new"]

buildMenu();

//-->
