var mainClass1 = "nav_link_normal"; var mainClass2 = "nav_link_selected"; var subClass1 = "nav_sublink_normal"; var subClass2 = "nav_sublink_selected"; var navDiv = "nav_links"; var subDiv = "nav_sub_links"; var navSpan = "nav_link_pad"; var subSpan = "nav_sub_pad"; var selectedLink = ''; var selectedSubLink = ''; var onLoadLink = ''; var linkVault = new Array(); var count = 0; var x = 0; // home page link linkVault[count] = new Array(); linkVault[count]['key'] = 'home'; linkVault[count]['text'] = "HOME"; linkVault[count]['url'] = "/"; linkVault[count]['class'] = 'nav_link_special'; linkVault[count]['sub'] = new Array(); count++; // import product navigation from PHP linkVault[count] = new Array(); linkVault[count]["key"] = "1"; linkVault[count]["text"] = "Pens"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "1"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/bentpens/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "23"; thisSub[x]["text"] = "Other Pens"; thisSub[x]["url"] = "/products/otherpens/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "2"; thisSub[x]["text"] = "Simple Stix™"; thisSub[x]["url"] = "/products/simplestix/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "48"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/tubepens/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "2"; linkVault[count]["text"] = "Magnets"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "6"; thisSub[x]["text"] = "Bumper Magnets"; thisSub[x]["url"] = "/products/bumpermag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "8"; thisSub[x]["text"] = "Business Card Magnets"; thisSub[x]["url"] = "/products/bcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "5"; thisSub[x]["text"] = "Car Magnets"; thisSub[x]["url"] = "/products/carmag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "47"; thisSub[x]["text"] = "Christian Fish Magnets"; thisSub[x]["url"] = "/products/christianfish/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "26"; thisSub[x]["text"] = "Circle Magnets"; thisSub[x]["url"] = "/products/circlemag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "3"; thisSub[x]["text"] = "Die-Cut Magnets"; thisSub[x]["url"] = "/products/diecut/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "27"; thisSub[x]["text"] = "Heart Magnets"; thisSub[x]["url"] = "/products/heartmag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "31"; thisSub[x]["text"] = "House Magnets"; thisSub[x]["url"] = "/products/housemag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "4"; thisSub[x]["text"] = "Picture Frame Magnets"; thisSub[x]["url"] = "/products/framemag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "7"; thisSub[x]["text"] = "Ribbon Magnets"; thisSub[x]["url"] = "/products/ribbons/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "4"; linkVault[count]["text"] = "Tagnets"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "52"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/tagnetcircles/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "53"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/tagnethearts/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "43"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/tagnetribbons/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "5"; linkVault[count]["text"] = "Clips"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "54"; thisSub[x]["text"] = "Bag Clips"; thisSub[x]["url"] = "/products/bagclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "56"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/crickitclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "9"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/gatorclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "55"; thisSub[x]["text"] = "Shape Clips"; thisSub[x]["url"] = "/products/shapeclips/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "6"; linkVault[count]["text"] = "Key Chains"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "17"; thisSub[x]["text"] = "Carabiners"; thisSub[x]["url"] = "/products/carabiners/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "37"; thisSub[x]["text"] = "Molded Key Lights"; thisSub[x]["url"] = "/products/keylights/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "39"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/flexisoft/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "51"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/sparkey/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "58"; thisSub[x]["text"] = "Whistle Key Chain Light"; thisSub[x]["url"] = "/products/whistlekey/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "3"; linkVault[count]["text"] = "Other Products"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "49"; thisSub[x]["text"] = "Chewing Gum"; thisSub[x]["url"] = "/products/gum/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "46"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/flashcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "62"; thisSub[x]["text"] = "Hand Sanitizer"; thisSub[x]["url"] = "/products/handsanitizer/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "61"; thisSub[x]["text"] = "Lip Balm"; thisSub[x]["url"] = "/products/lipbalm/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "63"; thisSub[x]["text"] = "Mungo Grip Dry Erase Board"; thisSub[x]["url"] = "/products/dryeraseboards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "59"; thisSub[x]["text"] = ""; thisSub[x]["url"] = "/products/smashlight/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "57"; thisSub[x]["text"] = "Tote Bags"; thisSub[x]["url"] = "/products/totebags/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "60"; thisSub[x]["text"] = "Travel Coffee Mugs"; thisSub[x]["url"] = "/products/travelmugs/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "8"; linkVault[count]["text"] = "Marketing Materials"; linkVault[count]["url"] = "#"; linkVault[count]["class"] = "nav_link_normal"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "14"; thisSub[x]["text"] = "Business Cards (10 pt)"; thisSub[x]["url"] = "/products/bcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "50"; thisSub[x]["text"] = "Postcards"; thisSub[x]["url"] = "/products/postcards/"; x++; linkVault[count]["sub"] = thisSub; count++; // baby stuff page link linkVault[count] = new Array(); linkVault[count]['key'] = 'baby'; linkVault[count]['text'] = "Baby Products"; linkVault[count]['url'] = "/products/baby/"; linkVault[count]['class'] = 'nav_link_special'; linkVault[count]['sub'] = new Array(); count++; // school stuff page link linkVault[count] = new Array(); linkVault[count]['key'] = 'school'; linkVault[count]['text'] = "School Products"; linkVault[count]['url'] = "/products/school/"; linkVault[count]['class'] = 'nav_link_special'; linkVault[count]['sub'] = new Array(); count++; // contact page link linkVault[count] = new Array(); linkVault[count]['key'] = 'contact'; linkVault[count]['text'] = "Contact Us"; linkVault[count]['url'] = "/contact/"; linkVault[count]['class'] = 'nav_link_special'; linkVault[count]['sub'] = new Array(); count++;