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"] = "50"; thisSub[x]["text"] = "300 Series Pens"; thisSub[x]["url"] = "/products/300pens/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "51"; thisSub[x]["text"] = "500 Series Pens"; thisSub[x]["url"] = "/products/500pens/"; 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"] = "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"] = "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"] = "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"] = "5"; thisSub[x]["text"] = "Exterior/Auto Magnets"; thisSub[x]["url"] = "/products/carmag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "54"; thisSub[x]["text"] = "Giant "Push Pin" Magnets"; thisSub[x]["url"] = "/products/pushpin/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "82"; thisSub[x]["text"] = "Giant "Screw" Magnet"; thisSub[x]["url"] = "/products/screw/"; 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"] = "25"; thisSub[x]["text"] = "Jumbo Magnets"; thisSub[x]["url"] = "/products/othermag/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "61"; thisSub[x]["text"] = "K-9 Transport/Vehicle Magnets"; thisSub[x]["url"] = "/products/transportsigns/"; 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"] = "55"; 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"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "60"; 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"] = "59"; thisSub[x]["text"] = "Tagnet™ Hearts"; thisSub[x]["url"] = "/products/tagnethearts/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "58"; 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++; thisSub[x] = new Array(); thisSub[x]["key"] = "62"; thisSub[x]["text"] = "Tagnet™ Stars"; thisSub[x]["url"] = "/products/tagnetstars/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "5"; linkVault[count]["text"] = "Clips"; linkVault[count]["url"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "78"; thisSub[x]["text"] = "Crickit™ Clips"; thisSub[x]["url"] = "/products/crickitclips/"; 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"] = "67"; thisSub[x]["text"] = "Magnetic Shape Clips"; thisSub[x]["url"] = "/products/shapeclips/"; x++; linkVault[count]["sub"] = thisSub; count++; linkVault[count] = new Array(); linkVault[count]["key"] = "6"; linkVault[count]["text"] = "Keychains"; linkVault[count]["url"] = "#"; var thisSub = new Array(); x = 0; thisSub[x] = new Array(); thisSub[x]["key"] = "74"; thisSub[x]["text"] = "Bottle Opener Key Chain"; thisSub[x]["url"] = "/products/bottleopener/"; 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"] = "84"; thisSub[x]["text"] = "Clip'n'Go™ Gum and Mints"; thisSub[x]["url"] = "/products/clipngo/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "81"; thisSub[x]["text"] = "EggLight Key Ring"; thisSub[x]["url"] = "/products/egglight/"; 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"] = "71"; thisSub[x]["text"] = "Knife Key Chain"; thisSub[x]["url"] = "/products/knifekeychain/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "45"; thisSub[x]["text"] = "Lock-N-Lights"; thisSub[x]["url"] = "/products/locknlight/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "83"; thisSub[x]["text"] = "Mini Flashlight Key Chain"; thisSub[x]["url"] = "/products/miniflashlight/"; 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"] = "48"; thisSub[x]["text"] = "Sparkey"; thisSub[x]["url"] = "/products/sparkey/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "35"; thisSub[x]["text"] = "Spectrum Tags"; thisSub[x]["url"] = "/products/spectrum/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "70"; thisSub[x]["text"] = "Whistle Key Chain Light"; thisSub[x]["url"] = "/products/whistle/"; 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"] = "68"; thisSub[x]["text"] = "Badge Pulls"; thisSub[x]["url"] = "/products/badgepulls/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "80"; thisSub[x]["text"] = "Brochures & Flyers"; 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"] = "52"; thisSub[x]["text"] = "Chewing Gum"; thisSub[x]["url"] = "/products/gum/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "77"; thisSub[x]["text"] = "Comb & Mirror Kit"; thisSub[x]["url"] = "/products/combmirror/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "72"; thisSub[x]["text"] = "Executive Light Pad"; thisSub[x]["url"] = "/products/executivelightpad/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "65"; thisSub[x]["text"] = "FlashCard® Duo™"; thisSub[x]["url"] = "/products/flashcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "85"; thisSub[x]["text"] = "Jotter LightPad"; thisSub[x]["url"] = "/products/jotter/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "73"; thisSub[x]["text"] = "Letter Slitters"; thisSub[x]["url"] = "/products/letterslitters/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "46"; thisSub[x]["text"] = "Memo LightPads"; thisSub[x]["url"] = "/products/lightpad/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "63"; thisSub[x]["text"] = "Portable Folding Displays"; thisSub[x]["url"] = "/products/foldingdisplays/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "79"; thisSub[x]["text"] = "Postcards"; thisSub[x]["url"] = "/products/postcards/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "49"; thisSub[x]["text"] = "Power Packs™ Packaging"; thisSub[x]["url"] = "/products/powerpacks/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "53"; thisSub[x]["text"] = "Shoe Shine Kit"; thisSub[x]["url"] = "/products/shoeshinekit/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "56"; thisSub[x]["text"] = "Smashlight™"; thisSub[x]["url"] = "/products/smashlight/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "75"; thisSub[x]["text"] = "Squeeze Light™"; thisSub[x]["url"] = "/products/squeezelight/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "69"; thisSub[x]["text"] = "Staplers"; thisSub[x]["url"] = "/products/staplers/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "76"; thisSub[x]["text"] = "Tape Measure"; thisSub[x]["url"] = "/products/tapemeasure/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "66"; thisSub[x]["text"] = "Travel Coffee Mugs"; thisSub[x]["url"] = "/products/coffeemugs/"; x++; thisSub[x] = new Array(); thisSub[x]["key"] = "44"; thisSub[x]["text"] = "Travel Tags"; thisSub[x]["url"] = "/products/traveltags/"; x++; linkVault[count]["sub"] = thisSub; count++; // TASER® C2 page link linkVault[count] = new Array(); linkVault[count]['key'] = '64'; linkVault[count]['text'] = "TASER® C2"; linkVault[count]['url'] = "/products/taser/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++; // Signal-10 link linkVault[count] = new Array(); linkVault[count]['key'] = 'signal-10'; linkVault[count]['text'] = "Signal-10.com"; linkVault[count]['url'] = "http://www.signal-10.com"; linkVault[count]['sub'] = new Array(); count++;