/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1 - PARTY LIGHTS
var menu1=new Array()
menu1[0]='<a href="Animal-Party-Lights-String-Lights-Stringlight-Strands.aspx">Animals</a>'
menu1[1]='<a href="Animated-Party-Lights-Flashing-String-Lights-Stringlight-Strands.aspx">Animated & Flashing</a>'
menu1[2]='<a href="Battery-Operated-Party-Lights-String-Lights-Stringlight-Strands.aspx">Battery Operated</a>'
menu1[3]='<a href="Brand-Name-Party-Lights-Licensed-String-Lights-Stringlight-Strands.aspx">Brand Name</a>'
menu1[4]='<a href="C7-Party-Lights-C7-String-Lights-Stringlight-Strands.aspx">C7 Lights</a>'
menu1[5]='<a href="Drink-Party-Lights-Beer-String-Lights-Cocktail-Stringlight-Strands.aspx">Drinks & Beverages</a>'
menu1[6]='<a href="Food-Dining-Themed-Party-String-Lights-Stringlight-Strands-Light-Covers.aspx">Food & Dining</a>'
menu1[7]='<a href="Fun-Flag-Party-Lights-Patriotic-String-Lights-Stringlight-Strands.aspx">Fun Flags & Patriotic</a>'
menu1[8]='<a href="Garden-Party-Lights-Flower-String-Lights-Fruits-Vegetables-Stringlight-Strands.aspx">Garden Party</a>'
menu1[9]='<a href="Party-String-Light-Lantern-Strands-Metal-Lantern-Stringlight-Strands.aspx">Lantern Strands</a>'
menu1[10]='<a href="LED-Party-Lights-LED-String-Lights-Low-Volt-Stringlight-Strands.aspx">LED Lights</a>'
menu1[11]='<a href="String-Light-Strands-C7-Stringlight-Bulbs-C9-Stringlight-Bulbs-Miniature-Light-Strands.aspx">Light Strands</a>'
menu1[12]='<a href="Movie-Themed-Party-Lights-Collectible-String-Lights-Stringlight-Strands.aspx">Movie Themed</a>'
menu1[13]='<a href="Novelty-Party-Lights-Funny-String-Lights-Stringlight-Strands.aspx">Novelty</a>'
menu1[14]='<a href="Multi-Color-Rope-Lights-Tubelights-Linear-Light-Strands.aspx">Rope & Tube Lights</a>'
menu1[15]='<a href="Sports-Party-Lights-Themed-String-Lights-NFL-Helmets-NASCAR-MLB-NCAA-Logos.aspx">Sports</a>'
menu1[16]='<a href="Tropical-Party-Lights-Tiki-Party-String-Lights-Stringlight-Strands.aspx">Tropical</a>'
menu1[17]='<a href="Wild-West-Party-Lights-Country-Western-String-Lights-Stringlight-Strands.aspx">Wild West</a>'

//Contents for menu 2 - HOLIDAYS
var menu2=new Array()
menu2[0]='<a href="St-Patricks-Day-Party-String-Lights-Decorations.aspx"><strong>St. Patrick&#8217;s Day</strong></a>'
menu2[1]='<a href="Easter-Party-String-Lights-Decorations.aspx">Easter</a>'
menu2[2]='<a href="4th-of-July-Party-String-Lights-Decorations.aspx">4th of July</a>'
menu2[3]='<a href="Halloween-Party-String-Lights-Decorations.aspx">Halloween</a>'
menu2[4]='<a href="Thanksgiving-Turkey-Party-String-Lights-Decorations.aspx">Thanksgiving</a>'
menu2[5]='<a href="Christmas-Party-String-Lights-Decorations.aspx">Christmas</a>'
menu2[6]='<a href="Christmas-Trees-Wreaths-Lights-Decorations-Clearance-Blowout.aspx">Christmas Clearance</a>'
menu2[7]='<a href="Valentines-Day-Party-String-Lights-Decorations.aspx">Valentine&#8217;s Day</a>'

//Contents for menu 3 - LANTERNS
var menu3=new Array()
menu3[0]='<a href="MLB-Baseball-18-Inch-Round-Rice-Paper-Lanterns.aspx">MLB Baseball Lanterns</a>'
menu3[1]='<a href="NFL-Football-18-Inch-Round-Rice-Paper-Lanterns.aspx">NFL Football Lanterns</a>'
menu3[2]='<a href="Mini-Nylon-String-Light-Lanterns-Nylon-Shade-String-Lights.aspx">Nylon Stringlights</a>'
menu3[3]='<a href="Mini-Paper-String-Light-Lanterns-Nylon-Shade-String-Lights.aspx">Paper Stringlights</a>'
menu3[4]='<a href="14-Inch-Round-Nylon-Lanterns-Nylon-Shade-String-Lights.aspx">Round Nylon - 14"</a>'
menu3[5]='<a href="10-Inch-Solid-Color-Round-Paper-Lanterns-Round-Paper-Shade-String-Lights.aspx">Round Paper - 10"</a>'
menu3[6]='<a href="14-Inch-Solid-Color-Round-Paper-Lanterns-Round-Paper-Shade-String-Lights.aspx">Round Paper - 14"</a>'
menu3[7]='<a href="Patterned-Round-Paper-Lanterns-Decorative-Round-Paper-Shade-String-Lights.aspx">Round Paper - Patterned</a>'
menu3[8]='<a href="Square-Nylon-Lanterns-Nylon-Shade-String-Lights.aspx">Square Nylon</a>'
menu3[9]='<a href="10-Inch-Solid-Color-Square-Paper-Lanterns-Square-Paper-Shade-String-Lights.aspx">Square Paper - 10"</a>'
menu3[10]='<a href="Patterned-Square-Paper-Lanterns-Decorative-Square-Paper-Shade-String-Lights.aspx">Square Paper - Patterned</a>'
menu3[11]='<a href="Paper-Nylon-Lantern-Power-Cords-Light-Bulb-Sockets-Power-Cords.aspx">Cords & Plugs</a>'
menu3[12]='<a href="Paper-Nylon-Lantern-Light-Bulbs-LED-Lantern-Lights.aspx">Lights & Bulbs</a>'

//Contents for menu 4 - TREES
var menu4=new Array()
menu4[0]='<a href="Pre-Lit-Rope-Light-Palm-Trees.aspx">Palm Trees</a>'
menu4[1]='<a href="4-5-Foot-Pre-Lit-Artificial-Christmas-Trees.aspx">4.5&#8217; Christmas Trees</a>'
menu4[2]='<a href="6-5-Foot-Pre-Lit-Artificial-Christmas-Trees.aspx">6.5&#8217; Christmas Trees</a>'
menu4[3]='<a href="7-Foot-Pre-Lit-Artificial-Christmas-Trees.aspx">7&#8217; Christmas Trees</a>'
menu4[4]='<a href="7-5-Foot-Pre-Lit-Artificial-Christmas-Trees.aspx">7.5&#8217; Christmas Trees</a>'
menu4[5]='<a href="Pre-Lit-Artificial-Christmas-Garlands.aspx">Christmas Garlands</a>'
menu4[6]='<a href="Pre-Lit-Artificial-Christmas-Wreaths.aspx">Christmas Wreaths</a>'

//Contents for menu 5 - CANDLES
var menu5=new Array()
menu5[0]='<a href="Bookend-Battery-Operated-Flameless-Candles.aspx">Bookend Candles</a>'
menu5[1]='<a href="Hurricane-Battery-Operated-Flameless-Candles.aspx">Hurricane Candles</a>'
menu5[2]='<a href="Round-Pillar-Battery-Operated-Flameless-Candles.aspx">Round Pillar Candles</a>'
menu5[3]='<a href="Square-Pillar-Battery-Operated-Flameless-Candles.aspx">Square Pillar Candles</a>'
menu5[4]='<a href="Tea-Lights-Votives-Battery-Operated-Flameless-Candles.aspx">Tea Lights & Votives</a>'
menu5[5]='<a href="Twist-Battery-Operated-Flameless-Candles.aspx">Twist Candles</a>'
menu5[6]='<a href="Battery-Operated-Flameless-Candle-Lanterns.aspx">Candle Lanterns</a>'
menu5[7]='<a href="Candle-Wall-Sconces-Battery-Operated-Flameless-Candles.aspx">Wall Sconces</a>'
menu5[8]='<a href="Mirror-Crystal-Battery-Operated-Flameless-Candle-Wall-Sconces.aspx">Mirror & Crystal Wall Sconces</a>'
menu5[9]='<a href="Chandelier-Battery-Operate-Flameless-Candle-Wall-Sconces.aspx">Chandelier Wall Sconces</a>'

//Contents for menu 6 - LED
var menu6=new Array()
menu6[0]='<a href="Battery-Operated-LED-String-Lights.aspx">Battery Operated</a>'
menu6[1]='<a href="LED-Candles-Tea-Lights.aspx">Candles & Tea Lights</a>'
menu6[2]='<a href="LED-String-Light-Strands-Globe-Lights-C3-C6-C7-C9-Bulk-Reel-LED-String-Lights.aspx">Light Strands</a>'
menu6[3]='<a href="LED-Novelty-String-Lights.aspx">Novelty Lights</a>'
menu6[4]='<a href="LED-Rope-Tube-Party-Lights.aspx">Rope & Tube Lights</a>'
menu6[5]='<a href="LED-Solar-Powered-String-Lights-Strands.aspx">Solar Powered</a>'
menu6[6]='<a href="Hanging-LED-Starlight-Spheres-Twinkling-Starlight-Globes-Sphere-Lights.aspx">Starlight Spheres</a>'

//Contents for menu 7 - DECORATIVE
var menu7=new Array()
menu7[0]='<a href="Decorative-Night-Lights-Bubbler-Night-Lights.aspx">Decorative Night Lights</a>'
menu7[1]='<a href="Designer-Party-String-Lights-Metal-Stringlights-Strands.aspx">Designer Lights</a>'
menu7[2]='<a href="Battery-Operated-Garden-Lanterns-Flameless-Candle-Lanterns.aspx">Garden Lanterns</a>'
menu7[3]='<a href="Battery-Operated-Garden-Lights-Garden-Glow-Lights.aspx">Glow Lights</a>'
menu7[4]='<a href="NASCAR-Night-Lights-Collectible-Decorations.aspx">NASCAR&reg; Night Lights</a>'
menu7[5]='<a href="Garden-Pathway-Lights-Walkway-Stake-Lights-Nightime-Entrance-Way-Lights.aspx">Pathway & Stake Lights</a>'
menu7[6]='<a href="Rope-Lights-Tube-Lights-Ropelight-Strands.aspx">Rope & Tube Lights</a>'
menu7[7]='<a href="Party-String-Light-Spheres-Starlight-Spheres-Sphere-Lights.aspx">Sphere Lights</a>'
menu7[8]='<a href="Spin-Shades-Night-Lights-Revolving-Decorative-Lamp-Shades.aspx">Spin Shades & Night Lights</a>'
menu7[9]='<a href="Yard-Art-Lights-Lawn-Decorations-Airblown-Inflatables.aspx">Yard Art</a>'

//Contents for menu 8 - COMMERCIAL
var menu8=new Array()
menu8[0]='<a href="Bulk-Reel-C7-C9-Light-Stringers-LED-Lights-Linear-Lighting.aspx">C7/C9 Light Strands</a>'
menu8[1]='<a href="Commercial-Grade-Linear-Light-Strings-Festival-Festoon-String-Light-Bulb-Strands.aspx">Linear Light Strands</a>'
menu8[2]='<a href="Commercial-Ropelight-Reels-Bulk-Size-Tubelight-Reels-LED-Rope-Light-Strands.aspx">Ropelight Reels</a>'

//Contents for menu 9 - ACCESSORIES
var menu9=new Array()
menu9[0]='<a href="Energizer-Batteries-Duracell-Batteries-Lithium-Batteries.aspx">Batteries</a>'
menu9[1]='<a href="Party-String-Light-Power-Cords-And-Plugs.aspx">Cords & Plugs</a>'
menu9[2]='<a href="Decorative-Party-Lights-Bulbs-Multi-Color-Light-Bulbs.aspx">Decorative Party Bulbs</a>'
menu9[3]='<a href="Replacement-Energy-Saving-Flourescent-Halogen-Incandescent-Specialty-Light-Bulbs.aspx">Energy Saving Light Bulbs</a>'
menu9[4]='<a href="Telescoping-Extension-Ladders-And-Step-Ladders.aspx">Extension & Step Ladders</a>'
menu9[5]='<a href="Floodlights-And-Flood-Light-Bulbs.aspx">Flood Lights & Bulbs</a>'
menu9[6]='<a href="Party-String-Light-Gutter-Clips.aspx">Gutter Clips</a>'
menu9[7]='<a href="Replacement-Halogen-Light-Bulbs-Outdoor-Floodlights-Spot-Lights.aspx">Halogen Light Bulbs</a>'
menu9[8]='<a href="Party-String-Light-Hooks-Hangers-And-Clips.aspx">Hooks, Hangers & Clips</a>'
menu9[9]='<a href="Floor-Lamps-And-Bedside-Table-Lamps.aspx">Lamp Bases</a>'
menu9[10]='<a href="Party-Light-Remote-Controls-And-String-Light-Timers.aspx">Remote Controls & Timers</a>'
menu9[11]='<a href="Rope-Light-Tube-Light-Accessories-Mounts-Hangers-Clips-Brackets.aspx">Ropelight Accessories</a>'
menu9[12]='<a href="Party-Light-Storage-Bags-And-Storage-Reels.aspx">Storage Bags & Reels</a>'
menu9[13]='<a href="Replacement-Party-String-Light-Bulbs.aspx">String Light Bulbs & Fuses</a>'
menu9[14]='<a href="Party-Light-Tools-And-String-Light-Hanging-Poles.aspx">Tools & Poles</a>'

//Contents for menu 10 - SPECIALS
var menu10=new Array()
menu10[0]='<a href="Christmas-Trees-Wreaths-Lights-Decorations-Clearance-Blowout.aspx">Christmas Clearance</a>'
menu10[1]='<a href="Discount-Party-Lights-String-Lights-Decorations.aspx">Sale Items & Closeouts</a>'
menu10[2]='<a href="Brand-New-Party-Lights-String-Lights-and-Party-Decorations.aspx">Brand New Products</a>'
menu10[3]='<a href="String-Light-Party-Theme-Ideas.aspx">Theme Party Ideas</a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='#fff'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu