/************************************************ AnyLink Vertical 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var menu1=new Array()menu1[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a>'menu1[1]='<a href="http://www.freewarejava.com">Freewarejava.com</a>'menu1[2]='<a href="http://codingforums.com">Coding Forums</a>'menu1[3]='<a href="http://www.cssdrive.com">CSS Drive</a>'menu1[4]='<a href="http://tools.dynamicdrive.com/imageoptimizer/">Image Optimizer</a>'//Contents for menu 2, and so onvar menu2=new Array()menu2[2]='<a href="http://www.danielbingham.com/db_club_intro.php" class="dropText">about the club</a>'menu2[0]='<a href="http://www.danielbingham.com/login.php" class="dropText">member login</a>'menu2[10]='<a href="http://www.danielbingham.com/db_club_howtojoin.php" class="dropText">how to join</a>'menu2[11]='<a href="http://www.danielbingham.com/go_shopping.php?cPath=14" class="dropText">purchase a membership</a>'menu2[1]='<a href="http://www.danielbingham.com/db_club.php" class="dropText">club member page</a>'menu2[5]='<a href="http://www.danielbingham.com/kyear_1.php" class="dropText">club collection</a>'var menu3=new Array()menu3[0]='<a href="http://www.danielbingham.com/go_shopping.php?cPath=117" class="dropText">shop by ensemble</a>'menu3[1]='<a href="http://www.danielbingham.com/go_shopping.php?cPath=23" class="dropText">knitting patterns</a>'menu3[2]='<a href="http://www.danielbingham.com/go_shopping.php?cPath=41" class="dropText">sewing patterns</a>'menu3[3]='<a href="http://www.danielbingham.com/go_shopping.php?cPath=14" class="dropText">join our knitting club</a>'menu3[4]='<a href="http://www.danielbingham.com/fit_for_ellowyne.php" class="dropText">fit for ellowyne&#153</a>'var menu4=new Array()menu4[0]='<a href="http://www.danielbingham.com/hollyclarke.php" class="dropText">about holly</a>'menu4[1]='<a href="http://www.danielbingham.com/hollyclarke_art_3.php" class="dropText">her newport debut</a>'menu4[2]='<a href="http://www.danielbingham.com/hollyclarke_art_1.php" class="dropText">holly interviews DB</a>'menu4[3]='<a href="http://www.danielbingham.com/hollyclarke_art_2.php" class="dropText">her first DB ensemble</a>'var menu5=new Array()menu5[0]='<a href="http://www.danielbingham.com/collections.php" class="dropText">about the collections</a>'menu5[1]='<a href="http://www.danielbingham.com/product_3.1_205.php?products_id=205" class="dropText">luncheon date</a>'menu5[2]='<a href="http://www.danielbingham.com/product_3.2_206.php?products_id=206" class="dropText">bohemian mood</a>'menu5[3]='<a href="http://www.danielbingham.com/product_2.1_202.php?products_id=202" class="dropText">on deck</a>'menu5[4]='<a href="http://www.danielbingham.com/product_2.2_203.php?products_id=203" class="dropText">apres sail</a>'menu5[5]='<a href="http://www.danielbingham.com/product_1.2_201.php?products_id=201" class="dropText">business with pleasure</a>'menu5[6]='<a href="http://www.danielbingham.com/product_1.1_200.php?products_id=200" class="dropText">shopping in paradise</a>'var menu6=new Array()menu6[0]='<a href="http://www.danielbingham.com/friendship_cards.php" class="dropText">send a card</a>'var menu7=new Array()menu7[0]='<a href="http://www.danielbingham.com/sample_email.php" class="dropText"><span class="body-textm-red-bold">New!</span> totebag</a>'menu7[1]='<a href="http://www.danielbingham.com/sample_email.php" class="dropText">tunic vest</a>'menu7[2]='<a href="http://www.danielbingham.com/sample_email.php" class="dropText">crochet bikini</a>'menu7[3]='<a href="http://www.danielbingham.com/sample_email.php" class="dropText">fur trimmed tank top</a>'var menu9=new Array()menu9[0]='<a href="http://www.danielbingham.com/sources.php" class="dropText">supplies and links</a>'var menu8=new Array()menu8[0]='<a href="http://www.danielbingham.com/about_us.php" class="dropText">about us</a>'menu8[1]='<a href="http://www.danielbingham.com/privacy.php" onclick="return p(this.href);" class="dropText">privacy/security</a>'menu8[2]='<a href="http://www.danielbingham.com/site_terms.php" onclick="return p(this.href);" class="dropText">site terms</a>'menu8[3]='<a href="http://www.danielbingham.com/contact_us.php" onclick="return p(this.href);" class="dropText">contact us</a>'var menubgcolor='#F5F5F5'  //menu bgcolor		var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)var horizontaloffset=10 //horizontal offset of menu from default location. (0-5 is a good value)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: 160px" 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=-500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-obj.offsetWidth < 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 menu up?edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeightif ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)edgeoffset=dropmenuobj.y}}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")+obj.offsetWidth+horizontaloffset+"px"dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"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)}