
/***********************************************
* 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
***********************************************/
var menu0=new Array()
menu0[menu0.length]='<a href="/about">About Dollies</a>'
menu0[menu0.length]='<a href="/about/clara_and_alex.html">About the Creators</a>'
menu0[menu0.length]='<a href="/book">Childrens Books</a>'
menu0[menu0.length]='<a href="/about/contact.html">Contact Us</a>'
menu0[menu0.length]='<a href="/about/all_dollies.html">Dolly Collection</a>'
menu0[menu0.length]='<a href="/friends/">Dolly Friends</a>'
menu0[menu0.length]='<a href="/about/faq.html">FAQ</a>'
menu0[menu0.length]='<a href="/blog/?page_id=333">Guestbook</a>'
menu0[menu0.length]='<a href="/about/mailing_list.html">Mailing List</a>'
menu0[menu0.length]='<a href="/movie">Movie</a>'


var menu1=new Array()
menu1[menu1.length]='<a href="/about/all_dollies.html">Dolly Collection</a>'
menu1[menu1.length]='<a href="/more_dollies/">All Claradollies</a>'
menu1[menu1.length]='<a href="/claradolly/">Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/bee_dollies.htm">Bee Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/caterpillar_dollies.htm">Caterpillar Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/catsuit_dollies.htm">Catsuit Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/cyclops_dollies.htm">Cyclops Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/fish_dollies.htm">Fish Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/gremlin_dollies.htm">Gremlin Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/mermaid_dollies.htm">Mermaid Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/monster_dollies.htm">Monster Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/claramonster_sketchbook.htm">Monster Claradolly&#8217;s Sketchbook</a>'
menu1[menu1.length]='<a href="/more_dollies/slug_dollies.htm">Slug Claradolly</a>'
menu1[menu1.length]='<a href="/more_dollies/zombie_dollies.htm">Zombie Claradolly</a>'


var menu2=new Array()
menu2[menu2.length]='<a href="/about/all_dollies.html">Dolly Collection</a>'
menu2[menu2.length]='<a href="/more_dollies/">All Alexdollies</a>'
menu2[menu2.length]='<a href="/alexdolly/">Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/bee_dollies.htm#alexdolly">Bee Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/caterpillar_dollies.htm#alexdolly">Caterpillar Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/catsuit_dollies.htm#alexdolly">Catsuit Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/cyclops_dollies.htm#alexdolly">Cyclops Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/fish_dollies.htm#alexdolly">Fish Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/gremlin_dollies.htm#alexdolly">Gremlin Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/mermaid_dollies.htm#alexdolly">Mermaid Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/monster_dollies.htm#alexdolly">Monster Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/slug_dollies.htm#alexdolly">Slug Alexdolly</a>'
menu2[menu2.length]='<a href="/more_dollies/zombie_dollies.htm#alexdolly">Zombie Alexdolly</a>'


var menu3=new Array()
menu3[menu3.length]='<a href="/about/all_dollies.html">Dolly Collection</a>'
menu3[menu3.length]='<a href="/dolly_babies/">All Dolly Babies</a>'
menu3[menu3.length]='<a href="/dolly_babies/bee_baby.html">Bee Baby</a>'
menu3[menu3.length]='<a href="/dolly_babies/cyclops_baby.html">Cyclops Baby</a>'
menu3[menu3.length]='<a href="/dolly_babies/difficult_dolly.htm">Difficult Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/gremlin_baby.htm">Gremlin Baby</a>'
menu3[menu3.length]='<a href="/dolly_babies/happy_dolly.htm">Happy Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/impatient_dolly.html">Impatient Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/monster_baby.htm">Monster Baby</a>'
menu3[menu3.length]='<a href="/dolly_babies/patient_dolly.html">Patient Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/sensitive_dolly.htm">Sensitive Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/thoughtful_dolly.htm">Thoughtful Dolly</a>'
menu3[menu3.length]='<a href="/dolly_babies/upset_dolly.html">Upset Dolly</a>'

var menu4=new Array()
menu4[menu4.length]='<a href="/about/all_dollies.html">Dolly Collection</a>'
menu4[menu4.length]='<a href="/wildlife/">All Wildlife</a>'
menu4[menu4.length]='<a href="/wildlife/bat_dollies.htm">Bat Dollies</a>'
menu4[menu4.length]='<a href="/wildlife/beep.htm">Beep</a>'
menu4[menu4.length]='<a href="/wildlife/bok_bok.htm">Bok Bok</a>'
menu4[menu4.length]='<a href="/wildlife/bubba.htm">Bubba</a>'
menu4[menu4.length]='<a href="/wildlife/bubble_gum.html">Bubble Gum</a>'
menu4[menu4.length]='<a href="/wildlife/bug_dolly.html">Bug Dolly</a>'
menu4[menu4.length]='<a href="/wildlife/cabbage_monster.htm">Cabbage Monster</a>'
menu4[menu4.length]='<a href="/wildlife/clammy.html">Clammy</a>'
menu4[menu4.length]='<a href="/wildlife/confused_penguin.htm">Confused Penguin</a>'
menu4[menu4.length]='<a href="/wildlife/crabby.html">Crabby</a>'
menu4[menu4.length]='<a href="/wildlife/duckie.htm">Duckie</a>'
menu4[menu4.length]='<a href="/wildlife/fish_dolly.html">Fish Dolly</a>'
menu4[menu4.length]='<a href="/wildlife/goat_dollies.html">Goat Dollies</a>'
menu4[menu4.length]='<a href="/wildlife/goo_goo.htm">Goo Goo</a>'
menu4[menu4.length]='<a href="/wildlife/lumpy_eggy.htm">Lumpy &amp; Eggy</a>'
menu4[menu4.length]='<a href="/wildlife/mao_maos.htm">Mao Maos</a>'
menu4[menu4.length]='<a href="/wildlife/mayonnaise.htm">Mayonnaise</a>'
menu4[menu4.length]='<a href="/wildlife/moomy.html">Moomy</a>'
menu4[menu4.length]='<a href="/wildlife/smart_chicken.htm">Smart Chicken</a>'

var menu5=new Array()
menu5[menu5.length]='<a href="/store/">Dolly Store</a>'
menu5[menu5.length]='<a href="/store/store_policies.html">Store Policies</a>'
	
var menuwidth='165px' //default menu width
var menubgcolor="#FFFF00"  //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

//EOF