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'] = "/index.php"; 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"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "48"; thisSub[x]["text"] = "Baby Bends™"; thisSub[x]["url"] = "/products/babybends/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "1"; thisSub[x]["text"] = "Bent Pens"; thisSub[x]["url"] = "/products/bentpens/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "52"; thisSub[x]["text"] = "Lanyard Pen"; thisSub[x]["url"] = "/products/lanyardpen/"; 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++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "2"; linkVault[count]["text"] = "Magnets"; linkVault[count]["url"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "40"; thisSub[x]["text"] = "Blue Ribbon Magnets"; thisSub[x]["url"] = "/products/blueribbons/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "34"; thisSub[x]["text"] = "Bone Magnets"; thisSub[x]["url"] = "/products/bonemags/"; x++; 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"] = "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"] = "47"; thisSub[x]["text"] = "Economy Calendar Magnets"; thisSub[x]["url"] = "/products/ecocalendarmag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "18"; thisSub[x]["text"] = "Economy Die-Cut Magnets"; thisSub[x]["url"] = "/products/economag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "41"; thisSub[x]["text"] = "Giant "Push Pin" Magnets"; thisSub[x]["url"] = "/products/pushpin/"; 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"] = "32"; thisSub[x]["text"] = "Large Pet Magnets"; thisSub[x]["url"] = "/products/lrgpetmags/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "49"; thisSub[x]["text"] = "Magnet Shape Clips"; thisSub[x]["url"] = "/products/shapeclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "25"; thisSub[x]["text"] = "Other Magnets"; thisSub[x]["url"] = "/products/othermag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "42"; thisSub[x]["text"] = "Paw Magnets"; thisSub[x]["url"] = "/products/paws/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "24"; thisSub[x]["text"] = "Pet Transport Signs"; thisSub[x]["url"] = "/products/transportsigns/"; 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++; thisSub[x] = new Array(); thisSub[x]["key"] = "58"; thisSub[x]["text"] = "Tagnet™ Bones"; thisSub[x]["url"] = "/products/tagnetbones/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "57"; thisSub[x]["text"] = "Tagnet™ Circles"; thisSub[x]["url"] = "/products/tagnetcircles/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "46"; thisSub[x]["text"] = "Tagnet™ Hearts"; thisSub[x]["url"] = "/products/tagnethearts/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "56"; thisSub[x]["text"] = "Tagnet™ Paws"; thisSub[x]["url"] = "/products/tagnetpaws/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "43"; thisSub[x]["text"] = "Tagnet™ Ribbons"; thisSub[x]["url"] = "/products/tagnetribbons/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "3"; linkVault[count]["text"] = "Other Products"; linkVault[count]["url"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "50"; thisSub[x]["text"] = "Bag Clips"; thisSub[x]["url"] = "/products/bagclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "29"; thisSub[x]["text"] = "Blinking Buttons"; thisSub[x]["url"] = "/products/blinkbuttons/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "10"; thisSub[x]["text"] = "Brochures"; thisSub[x]["url"] = "/products/brochures/"; x++; 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"] = "20"; thisSub[x]["text"] = "Canned Food Lids"; thisSub[x]["url"] = "/products/canlids/"; x++; 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"] = "54"; thisSub[x]["text"] = "Chewing Gum"; thisSub[x]["url"] = "/products/gum/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "53"; thisSub[x]["text"] = "Computer Keyboard Brush"; thisSub[x]["url"] = "/products/compbrush/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "28"; thisSub[x]["text"] = "Flashing LED Buttons"; thisSub[x]["url"] = "/products/ledbuttons/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "39"; thisSub[x]["text"] = "Flexi-Soft Key Lights"; thisSub[x]["url"] = "/products/flexisoft/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "22"; thisSub[x]["text"] = "Flexible Key Tags"; thisSub[x]["url"] = "/products/keytags/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "16"; thisSub[x]["text"] = "Food Scoops"; thisSub[x]["url"] = "/products/foodscoop/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "38"; thisSub[x]["text"] = "Full Color Magnet Clips"; thisSub[x]["url"] = "/products/fcclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "9"; thisSub[x]["text"] = "Gator Clips™"; thisSub[x]["url"] = "/products/gatorclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "13"; thisSub[x]["text"] = "Jewelry"; thisSub[x]["url"] = "/products/jewelry/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "21"; thisSub[x]["text"] = "Keep-It™ Clips"; thisSub[x]["url"] = "/products/keepitclips/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "37"; thisSub[x]["text"] = "Key Lights"; thisSub[x]["url"] = "/products/keylights/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "19"; thisSub[x]["text"] = "Letter Slitters"; thisSub[x]["url"] = "/products/letterslitters/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "33"; thisSub[x]["text"] = "License Plate Frames"; thisSub[x]["url"] = "/products/plateframes/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "11"; thisSub[x]["text"] = "Postcards"; thisSub[x]["url"] = "/products/postcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "55"; thisSub[x]["text"] = "Smashlights™"; thisSub[x]["url"] = "/products/smashlight/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "45"; thisSub[x]["text"] = "Sparkey"; thisSub[x]["url"] = "/products/sparkey/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "35"; thisSub[x]["text"] = "Spectrum Key Tags"; thisSub[x]["url"] = "/products/spectrum/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "51"; thisSub[x]["text"] = "Tape Measure Keychain"; thisSub[x]["url"] = "/products/tape/"; x++; linkVault[count]["sub"] = thisSub; count++; // baby stuff page link linkVault[count] = new Array(); linkVault[count]['key'] = 'baby'; linkVault[count]['text'] = "Baby Stuff"; linkVault[count]['url'] = "/products/baby/index.php"; linkVault[count]['sub'] = new Array(); count++; // stock images page link linkVault[count] = new Array(); linkVault[count]['key'] = 'stock'; linkVault[count]['text'] = "Stock Images"; linkVault[count]['url'] = "/stockart/index.php"; 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/index.php"; linkVault[count]['sub'] = new Array(); count++; // order page link linkVault[count] = new Array(); linkVault[count]['key'] = 'order'; linkVault[count]['text'] = "Place An Order"; linkVault[count]['url'] = "/contact/index.php"; linkVault[count]['sub'] = new Array(); count++;