//definitions for htmlgear left menu builder javascript script

//arrays.  sep is used to create the section seperators.  all values in each array must align correctly.  shortnames is constructed by taking longName[i] and removing all spaces, non A-Za-z characters and lowercasing.  each array must start with sep so the code will print out the main menu title

longNames = new Array(
					"sep",
					"Home",
					"Gear Manager",	
					"Live Examples",
					"Pro Live Examples",
					"sep",
					"Event Gear",
					"Feedback Gear",
					"Guest Gear",
					"Headline Gear",
					"Link Gear",
					"Poll Gear",
					"Text Gear",
					"sep",
					"Event Gear",
					"Feedback Gear",
					"Guest Gear",
					"Headline Gear",
					"Link Gear",
					"Poll Gear",
					"Text Gear"
					);

				

shortNames = new Array(
					"sep",
					"htmlgearhome",
					"gearmanager",
					"liveexamples",
					"proliveexamples",
					"sep",
					"proeventgear",
					"profeedbackgear",
					"proguestgear",
					"proheadlinegear",
					"prolinkgear",
					"propollgear",
					"protextgear",					
					"sep",
					"eventgear",
					"feedbackgear",
					"guestgear",
					"headlinegear",
					"linkgear",
					"pollgear",
					"textgear"
					);

urls = new Array(
					"sep",
					"/index.html",
					"/manage2/owner/control.manager?a=create",
					"/admin/rotation.html",
					"/admin/pro_rotation.html",
					"sep",
					"/specs/pro/event.html",
					"/specs/pro/feed.html",
					"/specs/pro/guest.html",
					"/specs/pro/headline.html",
					"/specs/pro/link.html",
					"/specs/pro/poll.html",
					"/specs/pro/text.html",
					"sep",
					"/specs/event.html",
					"/specs/feed.html",
					"/specs/guest.html",
					"/specs/headline.html",
					"/specs/link.html",
					"/specs/poll.html",
					"/specs/text.html"
					);


sepNames = new Array(
					"<img src=\"/img/left_menu/html_gear.gif\" height=\"13\" width=\"138\" border=\"0\" alt=\"HTML Gear\">",
					"sepAt",
					"<img src=\"/img/left_menu/pro_gear.gif\" height=\"13\" width=\"138\" border=\"0\" alt=\"Professional Gear\">",
					"sepAt",
					"<img src=\"/img/left_menu/pers_gear.gif\" height=\"13\" width=\"138\" border=\"0\" alt=\"Personal Gear\">"
					);

arrayLength = shortNames.length;

//set up logic for seperators and code for creating a menu break (if there is one)
currentSep = 0;
sectionSeperator = "<tr valign=\"top\"><td height=\"14\">&nbsp;</td></tr>";
seperateAt = "sepAt";
sepEnd = "</b></td></tr>";
sepStart = "<tr><td colspan=\"2\" class=\"left_menu_title\"><b>";



//html, image, and class declarations
arrow = "<img src=\"/img/left_menu/menu_selected.gif\" width=\"15\" height=\"15\" border=\"0\" align=\"middle\">";
nonArrow = "&nbsp;";
downArrow = "<img src=\"/img/left_menu/menu_drop_selected.gif\" width=\"15\" height=\"15\" border=\"0\">";
indentArrow = "&nbsp;";
normalClass = "left_menu";
normalLinkClass = "left_link";
highlightClass = "left_menu_selected";
highlightLinkClass = normalLinkClass;
currentClass = normalClass;
currentLinkClass = normalClass;
arrowSwitch = nonArrow;
menuHead = "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"138\">";
menuFoot = "</table>";
menuRow1 = "<tr><td class=\"";
menuRow2 = "\" width=\"16\">";
menuRow3 = "</td><td class=\"";
menuRow4 = "\"><a href=\"";
menuRow4sub = "\">";
menuRow5 = "\" class=\"";
menuRow6 = "\">";
menuRow7 = "</a></td></tr><tr><td colspan=\"2\" class=\"px_spacer\" height=\"1\"></td></tr>";
