//Contents for each menu
var menu1=new Array()
//menu1[description]='Cross Stitch'
menu1[0]='<a href="http://www.123stitch.com/Cross_Stitch_Patterns_Kits.html">Subjects</a>'
menu1[1]='<a href="http://www.123stitch.com/Cross_Stitch_Designers.html">Designers</a>'
menu1[2]='<a href="http://www.123stitch.com/Cross_Stitch_Kits.html">Cross Stitch Kits</a>'
menu1[3]='<a href="http://www.123stitch.com/CrossStitchStampedKits.html">Stamped Kits</a>'
menu1[4]='<a href="http://www.123stitch.com/Cross_Stitch_For_Beginners.html">Cross Stitch for Beginners</a>'

var menu2=new Array()
//menu2[description]='Needlepoint'
menu2[0]='<a href="http://www.123stitch.com/Needlepoint_For_Beginners.html">Needlepoint for Beginners</a>'
menu2[1]='<a href="http://www.123stitch.com/Needlepoint.html">Needlepoint Kits</a>'
menu2[2]='<a href="http://www.123stitch.com/Needlepoint_Christmas_Stockings.html">Needlepoint<br>Christmas Stockings</a>'
menu2[3]='<a href="http://www.123stitch.com/Needlepoint_Pillows.html">Needlepoint - Pillows</a>'
menu2[4]='<a href="http://www.123stitch.com/Needlepoint_Kits_Asian.html">Needlepoint - Asian</a>'
menu2[5]='<a href="http://www.123stitch.com/Needlepoint_Kits_Beach_Ocean.html">Needlepoint<br>Beach and Ocean</a>'
menu2[6]='<a href="http://www.123stitch.com/Needlepoint_Kits_Butterflies.html">Needlepoint<br>Butterflies</a>'
menu2[7]='<a href="http://www.123stitch.com/Needlepoint_Kits_Cats.html">Needlepoint - Cats</a>'
menu2[8]='<a href="http://www.123stitch.com/Needlepoint_Dogs.html">Needlepoint - Dogs</a>'
menu2[9]='<a href="http://www.123stitch.com/Needlepoint_Kits_Flowers.html">Needlepoint - Flowers</a>'
menu2[10]='<a href="http://www.123stitch.com/Needlepoint_Horses.html">Needlepoint - Horses</a>'
menu2[11]='<a href="http://www.123stitch.com/Needlepoint_Kits_Snowman.html">Needlepoint - Snowmen</a>'
menu2[12]='<a href="http://www.123stitch.com/Needlepoint_By_Dimensions.html">Dimensions Needlepoint</a>'
menu2[13]='<a href="http://www.123stitch.com/Needlepoint_Kits_Elsa_Williams.html">Elsa Williams Needlepoint</a>'
menu2[14]='<a href="http://www.123stitch.com/Needlepoint_By_Janlynn.html">Janlynn Needlepoint</a>'
menu2[15]='<a href="http://www.123stitch.com/Needlepoint_Kits_JCA.html">JCA Needlepoint<br><font color="#cc0000">New!</font></a>'

var menu3=new Array()
//menu3[description]='Fabric'
menu3[0]='<a href="http://www.123stitch.com/cgi-perl/fabric.pl">Needlework Fabric<br>Selection</a>'
menu3[1]='<a href="http://www.123stitch.com/afghanfabric.html">Afghans</a>'
menu3[2]='<a href="http://www.123stitch.com/Aprons.html">Aprons<br><font color="#cc0000">New!</font></a>'
menu3[3]='<a href="http://www.123stitch.com/Towels.html">Towels<br><font color="#cc0000">New!</font></a>'
menu3[4]='<a href="http://www.123stitch.com/tabletopper.html">Rico Designs Table Toppers</a>'
menu3[5]='<a href="http://www.123stitch.com/ZweigartTableToppers.html">Zweigart Table Toppers</a>'

var menu4=new Array()
//menu4[description]='Scrapbooking'
menu4[0]='<a href="http://www.123stitch.com/Inks_Ink_Pads.html"><img src="http://www.123stitch.com/pictures/medium120/m-VF-082.jpg" width="60" align="middle" border="0">Ink Pads and Markers</font></a>'
menu4[1]='<a href="http://www.123stitch.com/Spellbinders_Nestabilities.html"><img src="http://www.123stitch.com/pictures/medium120/m-NEST-S4-137.jpg" width="30" align="middle" border="0"> Spellbinders Nestabilities</font></a>'
menu4[2]='<a href="http://www.123stitch.com/Scrapbooking_Designers.html">Shop by Designer/Brand</a>'
menu4[3]='<a href="http://www.123stitch.com/Scrapbooking_Themes.html">Shop by Theme</a>'
menu4[4]='<a href="http://www.123stitch.com/Scrapbooking_Supplies.html">Shop by Category<br>(Stamps, Paper, etc.)</a>'
menu4[5]='<a href="http://www.123stitch.com/K_And_Company_Scrapbooking_Supplies.html"><img src="/images/kco_logo.jpg" width="30" align="middle" border="0">K&Company</a>'
menu4[6]='<a href="http://www.123stitch.com/Card_Making.html"><img src="/pictures/medium120/m-HA-PS513.jpg" width="50" align="middle" border="0"> Card Making Paper</a>'
menu4[7]='<a href="http://www.123stitch.com/EmbossingPowder.html"><img src="http://www.123stitch.com/pictures/EB-000-008.jpg" width="60" align="middle" border="0">Embossing Powder</font></a>'
menu4[8]='<a href="http://www.123stitch.com/Stampendous_Fun_Flock.html"><img src="http://www.123stitch.com/pictures/medium120/m-FL400.jpg" width="30" align="middle" border="0"> Stampendous Fun Flock</font></a>'

var menu5=new Array()
//menu5[description]='Necessities'
menu5[0]='<a href="http://www.123stitch.com/Acrylic_Items.html">Acrylic Items</a>'
menu5[1]='<a href="http://www.123stitch.com/NecessitiesForBabies.html">Baby Items</a>'
menu5[2]='<a href="http://www.123stitch.com/Bellpulls.html">Bellpulls</a>'
menu5[3]='<a href="http://www.123stitch.com/Bookmarks.html">Bookmarks</a>'
menu5[4]='<a href="http://www.123stitch.com/Buttons.html">Buttons</a>'
menu5[5]='<a href="http://www.123stitch.com/Christmas_Items.html">Christmas Items</a>'
menu5[6]='<a href="http://www.123stitch.com/Frames.html">Frames</a>'
menu5[7]='<a href="http://www.123stitch.com/Beginners.html">Instructional DVDs</a>'
menu5[8]='<a href="http://www.123stitch.com/Needles.html">Needles</a>'
menu5[9]='<a href="http://www.123stitch.com/NeedleMinders.html">Needle Magnets</a>'
menu5[10]='<a href="http://www.123stitch.com/NeedleworkCards.html">Needlework Cards</a>'
menu5[11]='<a href="http://www.123stitch.com/Perforated_Paper.html">Perforated Paper</a>'
menu5[12]='<a href="http://www.123stitch.com/Prefinished_Items.html">Pre-Finished Items</a>'
menu5[13]='<a href="http://www.123stitch.com/QSnapFrames.html">Q-Snaps</a>'
menu5[14]='<a href="http://www.123stitch.com/Quilting_And_Sewing_Accessories_And_Tools.html">Quilting &amp; Sewing Accessories</a>'
menu5[15]='<a href="http://www.123stitch.com/Rotary_Cutters.html">Rotary Cutters</a>'
menu5[16]='<a href="http://www.123stitch.com/Scissors.html">Scissors</a>'
menu5[17]='<a href="http://www.123stitch.com/Software_And_Computer_Items.html">Software &amp; Computer Items</a>'
menu5[18]='<a href="http://www.123stitch.com/Stitching_Aids.html">Stitching Aids</a>'

var menu7=new Array()
//menu7[description]='Beads &amp; Treasures'
menu7[0]='<a href="http://www.123stitch.com/BeadingSupplies.html">Beading Supplies</a>'
menu7[1]='<a href="http://www.123stitch.com/MillHillBeads.html">Mill Hill Beads</a>'
menu7[2]='<a href="http://www.123stitch.com/Jim_Shore_Beaded_Kits.html">Jim Shore Beaded Kits</a>'
menu7[3]='<a href="http://www.123stitch.com/Mill_Hill_Beaded_Kits.html">Mill Hill Beaded Kits</a>'
menu7[4]='<a href="http://www.123stitch.com/MillHillMagnificaBeads.html">Magnifica Beads</a>'
menu7[5]='<a href="http://www.123stitch.com/treasures.html">Treasures</a>'
	
var menu9=new Array()
//menu9[description]='Clearance'
menu9[0]='<a href="http://www.123stitch.com/cgi-perl/clearance.pl?type=crossstitch">Cross Stitch<br>Clearance!</a>'
menu9[1]='<a href="http://www.123stitch.com/cgi-perl/clearance.pl?type=accessory">Needlecraft Accessories<br>Clearance!</a>'
menu9[2]='<a href="http://www.123stitch.com/cgi-perl/clearance.pl?type=fabric">Fabric Clearance!</a>'
menu9[3]='<a href="http://www.123stitch.com/cgi-perl/clearance.pl?type=scrapbooking">Scrapbooking<br>Clearance!</a>'
menu9[4]='<a href="http://www.123stitch.com/cgi-perl/clearance.pl?type=rubberstamps">Rubber Stamp<br>Clearance!</a>'

var menu10=new Array()
//menu10[description]='On Sale!'
menu10[0]='<a href="http://www.123stitch.com/cgi-perl/daily/daily.cgi">On Sale Today Only</a>'
menu10[1]='<a href="http://www.123stitch.com/Cross_Stitch_Easter.html">Easter Cross Stitch!</a>'
menu10[2]='<a href="http://www.123stitch.com/around.html">International-Themed<br>Cross Stitch!</a>'
menu10[3]='<a href="http://www.123stitch.com/Rubber_Stamps_Spring.html">Easter Rubber Stamps!</a>'
menu10[4]='<a href="http://www.123stitch.com/Carolyn_Gavin_Greenhouse_Scrapbooking_Supplies.html">Carolyn Gavin<br>Scrapbooking!</a>'
menu10[5]='<a href="http://www.123stitch.com/CrochetDoilies.html">Crochet Doilies!</a>'
menu10[6]='<a href="http://www.123stitch.com/cgi-perl/itemdetail.pl?item=KQ47517">Disney Needlepoint<br>Tinker Bell!</a>'
menu10[7]='<a href="http://www.123stitch.com/Cross_Stitch_Patterns_Kits_Industrioushead.html">Industrioushead<br>Cross Stitch!</a>'
menu10[8]='<a href="http://www.123stitch.com/CrossStitchKitsbyPineMountainDesigns.html">Pine Mountain Designs!</a>'

var menu11=new Array()
//menu11[description]='New!'
menu11[0]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=crossstitchpattern">New Cross Stitch Patterns!</a>'
menu11[1]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=crossstitchkit">New Cross Stitch Kits!</a>'
menu11[2]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=crossstitchstampedkit">New Cross Stitch Stamped Kits!</a>'
menu11[3]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=papercraftstamp">New Rubber Stamps!</a>'
menu11[4]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=needlepoint">New Needlepoint!</a>'
menu11[5]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=crochet">New Crochet!</a>'
menu11[6]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=fabric">New Fabric!</a>'
menu11[7]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=papercraft">New Scrapbooking!</a>'
menu11[8]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=accessory">New Accessories!</a>'
menu11[9]='<a href="http://www.123stitch.com/cgi-perl/abcSearch/search.cgi?NewItems=1&type=thread">New Thread &amp; Floss!</a>'

var menu12=new Array()
//menu12[description]='Free &amp; Fun'
menu12[0]='<a href="http://www.123stitch.com/free-cross-stitch.html">Free Patterns, Links, and Newsletter</a>'
menu12[1]='<a href="http://www.123stitch.com/cgi-perl/fabric.pl">Fabric Calculators</a>'
menu12[2]='<a href="http://www.123stitch.com/contest.html">Free Monthly Drawing</a>'
	
var menu13=new Array()
//menu13[description]='Gift Catalog'
menu13[0]='<a href="http://www.123stitch.com/cgi-perl/itemdetail.pl?item=123-GC1">1-2-3 Stitch!<br>Gift Certificates</a>'

var menu14=new Array()
//menu14[description]='Message Board'
menu14[0]='<a href="http://www.123stitch.com/cgi-bin/BBS/bbs_forum.cgi">Message Board</a>'

var menu15=new Array()
//menu15[description]='More Crafts'
menu15[0]='<a href="http://www.123stitch.com/Felt_Applique_Christmas_Stockings.html">Felt Applique<br>Christmas Items</a>'
menu15[1]='<a href="http://www.123stitch.com/Embroidery_Patterns.html">Embroidery</a>'
menu15[2]='<a href="http://www.123stitch.com/Embroidery_Kits_Elsa_Williams.html">Elsa Williams<br>Embroidery</a>'
menu15[3]='<a href="http://www.123stitch.com/Embroidery_Patterns_Kits_By_Jack_Dempsey_Needle_Art.html">Jack Dempsey<br>Embroidery</a>'
menu15[4]='<a href="http://www.123stitch.com/Embroidery_Kits_JCA.html">JCA Embroidery</a>'
menu15[5]='<a href="http://www.123stitch.com/Iron_On_Transfers.html">Iron On Transfers</a>'
menu15[6]='<a href="http://www.123stitch.com/Knitting_Patterns.html">Knitting Patterns</a>'
menu15[7]='<a href="http://www.123stitch.com/Knitting_Needles.html">Knitting Needles</a>'
menu15[8]='<a href="http://www.123stitch.com/Knitting_Accessories.html">Knitting Accessories</a>'
menu15[9]='<a href="http://www.123stitch.com/Latch_Hook_Kits.html">Latch Hook Kits<br><font color="#cc0000">Just Added!</font></a>'
menu15[10]='<a href="http://www.123stitch.com/Plastic_Canvas.html">Plastic Canvas</a>'
menu15[11]='<a href="http://www.123stitch.com/Punchneedle_Patterns_Kits.html">Punchneedle</a>'
menu15[12]='<a href="http://www.123stitch.com/Quilt_Patterns.html">Quilt Patterns</a>'

var menu16=new Array()
//menu16[description]='Crochet'
menu16[0]='<a href="http://www.123stitch.com/Crochet_Subjects.html">Crochet Subjects</a>'
menu16[1]='<a href="http://www.123stitch.com/Crochet_Designers.html">Crochet Designers</a>'
menu16[2]='<a href="http://www.123stitch.com/DMC_Cordonnet_Cotton_Thread.html">DMC Cordonnet<br>Cotton Thread<br><font color="#cc0000">Just Added!</font></a>'
menu16[3]='<a href="http://www.123stitch.com/Crochet_Hooks.html">Crochet Hooks &amp; Accessories</a>'
menu16[4]='<a href="http://www.123stitch.com/CrochetForBeginners.html">Beginners - Learn to Crochet</a>'

var menu19=new Array()
//menu19[description]='Rubber Stamps'
menu19[0]='<a href="http://www.123stitch.com/Inks_Ink_Pads.html"><img src="http://www.123stitch.com/pictures/medium120/m-VF-082.jpg" width="60" align="middle" border="0">Ink Pads and Markers</font></a>'
menu19[1]='<a href="http://www.123stitch.com/Rubber_Stamps.html">Rubber Stamps<br>Themes/Subjects</a>'
menu19[2]='<a href="http://www.123stitch.com/Rubber_Stamps_Companies.html">Rubber Stamps<br>Companies/Brands</a>'
menu19[3]='<a href="http://www.123stitch.com/Penny_Black_Rubber_Stamps.html">Penny Black<br>Rubber Stamps<br><img src="/images/penny_black_logo.jpg" width="130" border="0"></a>'
menu19[4]='<a href="http://www.123stitch.com/Stampendous_Perfectly_Clear_Rubber_Stamps.html"><img src="/images/logo_stampendous.gif" align="middle" border="0"></a>'
menu19[5]='<a href="http://www.123stitch.com/StampsByInkadinkado.html"><img src="/images/inka_logo.jpg" width="30" align="middle" border="0">Inkadinkado</a>'
menu19[6]='<a href="http://www.123stitch.com/Rubber_Stamps_Hero_Arts.html"><img src="/images/logo_hero_arts.gif" width="160" align="middle" border="0"></a>'
menu19[7]='<a href="http://www.123stitch.com/Stampabilities_Rubber_Stamps_And_Clear_Stamps.html"><img src="/images/logo_stampabilities.gif" align="middle" border="0"></a>'
menu19[8]='<a href="http://www.123stitch.com/Card_Making.html"><img src="/pictures/medium120/m-HA-PS513.jpg" width="50" align="middle" border="0"> Card Making Paper</a>'
menu19[9]='<a href="http://www.123stitch.com/Rubber_Stamps_Spring.html">Easter Rubber Stamps!<br><font color="#cc0000">On Sale!</font></a>'
menu19[10]='<a href="http://www.123stitch.com/EmbossingPowder.html"><img src="http://www.123stitch.com/pictures/EB-000-008.jpg" width="60" align="middle" border="0">Embossing Powder</font></a>'
menu19[11]='<a href="http://www.123stitch.com/Ranger_Ink_Stickles_Glitter_Glue.html"><img src="http://www.123stitch.com/pictures/small/s-RG-20578-1.jpg" width="10" align="middle" border="0"> Stickles Glitter Glue</a>'

var menuwidth='165px' //default menu width
var menubgcolor='#ffffff'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editing 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("") + '<IFRAME name = "shim" id = "shim" style="DISPLAY:none;POSITION: absolute; TOP: 0px; LEFT: 0px;" src="javascript:void(0)" frameBorder="0" scrolling="no"></IFRAME>'
}


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){
shimobj=document.getElementById("shim")
shimobj.x=getposOffset(obj, "left")
shimobj.y=getposOffset(obj, "top")
//menu to the right code
//shimobj.style.left=shimobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
//shimobj.style.top=shimobj.y-clearbrowseredge(obj, "bottomedge")+"px"
shimobj.style.height=dropmenuobj.offsetHeight
shimobj.style.zIndex=-1
shimobj.style.width=menuwidth
shimobj.style.border=0
shimobj.style.display='block'
shimobj.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)'

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) {
if (document.getElementById("shim")) {
shimobj=document.getElementById("shim")
shimhide=setTimeout("shimobj.style.display='none'",disappeardelay)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
}
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
if (typeof shimhide!="undefined")
clearTimeout(shimhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
