/***********************************************
* 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
***********************************************/

function showBox(num) {
	document.getElementById("sub1").innerHTML='asdf';
		
}


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


//Contents for menu 1
var menu1=new Array()
menu1[0]='<div style="width: 180px; background-color:'+menubgcolor+'" ><a href="Baby-Shower/c105/index.html">Baby Shower Invitations</a>'
menu1[1]='<a href="Birth-Announcements/c106/index.html">Birth Announcements</a>'
menu1[2]='<a href="Baptism-and-Communion/c123/index.html">Baptism and Christening</a>'
menu1[3]='<a href="Blankets/c167/index.html">Blankets</a>'
menu1[4]='<a href="Ceramics/c117/index.html">Ceramics</a>'
menu1[5]='<a href="Felt-Patch-Toys-Pillows-Albums/c155/index.html">Felt Patch Items</a>'
menu1[6]='<a href="Photo-Albums/c116/index.html">Photo Albums</a>'
menu1[7]='<a href="Pillows/c145/index.html">Pillows</a>'
menu1[8]='<a href="Wood-Products/c137/index.html">Wood Products</a>'
menu1[9]='<a href="Sibling-Gifts/c150/index.html">Sibling Gifts</a></div>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<div style="width: 180px; background-color:'+menubgcolor+'"><a href="Birthday-Invitations/c108/index.html">Birthday</a>'
menu2[1]='<a href="Baby-Shower/c105/index.html">Baby Shower</a>'
menu2[2]='<a href="Baptism-and-Communion/c123/index.html">Baptism and Communion</a>'
menu2[3]='<a href="Holiday-Invitations--Non-Photo-Cards/c140/index.html">Holiday Invitations</a>'
menu2[4]='<a href="Moving-Announcements/c109/index.html">Moving Announcements</a></div>'

var menu3=new Array()
menu3[0]='<div style="width: 180px; background-color:'+menubgcolor+'"><a href="Note-Cards-for-Kids/c110/index.html">Note Cards for Kids</a>'
menu3[1]='<a href="Note-Cards-for-Grownups/c111/index.html">Note Cards for Grownups</a>'
menu3[2]='<a href="Custom-People-Collection/c141/index.html">Custom People Collection</a>'
menu3[3]='<a href="Calling-Cards/c112/index.html">Calling Cards</a>'
menu3[4]='<a href="Luggage-Tags/c142/index.html">Luggage Tags</a>'
menu3[5]='<a href="Holiday-Notes--Calling-Cards/c135/index.html">Holiday Notes & Calling Cards</a>'
menu3[6]='<a href="Gift-Stickers/c113/index.html">Gift Stickers</a>'
menu3[7]='<a href="Vinyl-Stickers/c200/index.html">Vinyl Stickers</a>'
menu3[8]='<a href="Return-Address-Labels/c125/index.html">Return Address Labels</a></div>'

var menu5=new Array()
menu5[0]='<div style="width: 180px; background-color:'+menubgcolor+'"><a href="Note-Pads/c114/index.html">All Note Pads</a>'
menu5[1]='<a href="Note-Pads-Kid-Pads/c114_190/index.html">Kids</a>'
menu5[2]='<a href="Note-Pads-Adult-Pads/c114_205/index.html">Adults</a>'
menu5[3]='<a href="Note-Pads-Teacher-Pads/c114_189/index.html">Teachers</a>'
menu5[4]='<a href="Note-Pads-Memo-Sheets/c114_188/index.html">Memo Sheets</a>'
menu5[5]='<a href="Note-Pads-Calendar-Pads/c114_187/index.html">Weekly Calendars</a>'


var menu6=new Array()
menu6[0]='<div style="width: 180px; background-color:'+menubgcolor+'"><a href="Aprons/c144/index.html">Aprons</a>'
menu6[1]='<a href="Birthday-Shirts/c166/index.html">Birthday Shirts</a>'
menu6[2]='<a href="Blankets/c167/index.html">Blankets</a>'
menu6[3]='<a href="Canvas-Art/c136/index.html">Canvas Art</a>'
menu6[4]='<a href="Ceramics/c117/index.html">Ceramics</a>'
menu6[5]='<a href="Felt-Patch-Toys-Pillows-Albums/c155/index.html">Felt Patch Items</a>'
menu6[6]='<a href="Growth-Charts/c124/index.html">Growth Charts</a>'
menu6[7]='<a href="Holiday-Themed-Gifts/c156/index.html">Holiday Themed Gifts</a>'
menu6[8]='<a href="Kids-Desk-Items/c201/index.html">Kids Desk Items</a>'
menu6[9]='<a href="Melamine-Plates/c149/index.html">Melamine Plates</a>'
menu6[10]='<a href="Note-Pads/c114/index.html">Note Pads</a>'
menu6[11]='<a href="Paperweights/c162/index.html">Paperweights</a>'
menu6[12]='<a href="Pillows/c145/index.html">Pillows</a>'
menu6[13]='<a href="Placemats/c138/index.html">Placemats</a>'
menu6[14]='<a href="Sibling-Gifts/c150/index.html">Sibling Gifts</a>'
menu6[15]='<a href="Stamps-and-Embossers/c151/index.html">Stamps & Embossers</a>'
menu6[16]='<a href="Towels/c146/index.html">Towels</a>'
menu6[17]='<a href="Wood-Products/c137/index.html">Wood Products</a>'
menu6[19]='<a href="Gift-Certificates/c126/index.html">Gift Certificates</a></div>'
	

var menu7=new Array()
menu7[0]='<div style="width: 200px; background-color:'+menubgcolor+'"><a href="Holiday-Printed-Photo-Cards/c133/index.html">Printed Photo Cards {Digital}</a>'
menu7[1]='<a href="Holiday-Attached-Photo-Cards/c152/index.html">Attached Photo Cards</a>'
menu7[2]='<a href="Holiday-Invitations--Non-Photo-Cards/c140/index.html">Invitations & Non-Photo Cards</a>'
menu7[3]='<a href="Holiday-Gift-Stickers/c134/index.html">Gift Stickers</a>'
menu7[4]='<a href="Holiday-Return-Address-Labels/c153/index.html">Return Address Labels</a>'
menu7[5]='<a href="Holiday-Notes--Calling-Cards/c135/index.html">Note Cards & Calling Cards</a>'
menu7[6]='<a href="Custom-People-Collection-Holiday-Custom-People/c141_195/index.html">Custom People Collection</a>'
menu7[7]='<a href="Holiday-Themed-Gifts/c156/index.html">Holiday Themed Gifts</a>'
menu7[8]='<a href="Gift-Wrap--Ribbons/c139/index.html">Gift Wrap & Ribbons</a>'
menu7[9]='<a href="Gift-Certificates/c126/index.html">Gift Certificates</a>'
menu7[10]='<a href="Chanukah/c127/index.html">Chanukah</a>'
menu7[11]='<a href="Halloween/c131/index.html">Halloween</a>'
menu7[12]='<a href="Rosh-Hashanah/c130/index.html">Rosh Hashanah</a></div>'
menu7[13]='<a href="Thanksgiving/c240/index.html">Thanksgiving</a></div>'


/////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