/***********************************************
* 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 Traditional Baby Shoe Bronzing Styles Menu
var menuBronzingStyles=new Array()
menuBronzingStyles[0]='<a href="styles.php">Walnut-finished portrait stands</a>'
menuBronzingStyles[1]='<a href="styles.php">All-metal portrait stands</a>'
menuBronzingStyles[2]='<a href="styles.php">All-metal bookends</a>'
menuBronzingStyles[3]='<a href="styles.php">Walnut-finished platform bases</a>'
menuBronzingStyles[4]='<a href="styles.php">Solid walnut portrait stands</a>'
menuBronzingStyles[5]='<a href="styles.php">Plastic portrait stands</a>'
//menuBronzingStyles[6]='<a href="porcelain.php">Porcelainizing</a>'

//Contents for Bronzing Other Items Menu
var menuOtherItems=new Array()
menuOtherItems[0]='<a href="other.php#priceList">Adult boots</a>'
menuOtherItems[1]='<a href="other.php#priceList">Adult shoes</a>'
menuOtherItems[2]='<a href="other.php#priceList">Baby Hand/Foot Plaques or Castings</a>'
menuOtherItems[3]='<a href="other.php#priceList">Ballet Slippers</a>' 
menuOtherItems[4]='<a href="other.php#priceList">Balls</a>'
menuOtherItems[5]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Baseballs</a>'
menuOtherItems[6]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Basketballs</a>'
menuOtherItems[7]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Footballs</a>'
menuOtherItems[8]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Soccer Balls</a>'
menuOtherItems[9]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Softballs</a>'
menuOtherItems[10]='<a href="other.php#priceList">&nbsp;&nbsp;&nbsp;Tennis Balls</a>'
menuOtherItems[11]='<a href="other.php#priceList">Children\'s boots</a>'
menuOtherItems[12]='<a href="other.php#priceList">Children\'s shoes</a>'
menuOtherItems[13]='<a href="other.php#priceList">Baseball Caps</a>'
menuOtherItems[14]='<a href="other.php#priceList">Helmets &amp; Hats</a>'
menuOtherItems[15]='<a href="military.php">Military Items</a>'
menuOtherItems[16]='<a href="pacifier.php#priceList">Pacifiers</a>'

//Contents for FAQ Menu
var menuFAQ=new Array()
menuFAQ[0]='<a href="faq.php#1" >How do I ship my shoes to you?</a>'
menuFAQ[1]='<a href="faq.php#2" >Can you bronze shoes that aren\'t leather or plastic?</a>'
menuFAQ[2]='<a href="faq.php#3" >What about bronzing running or tennis shoes?</a>'
menuFAQ[3]='<a href="faq.php#4" >How long will I have to wait before my shoes come back?</a>'
menuFAQ[4]='<a href="faq.php#5" >Do the mounting prices listed include shoe bronzing and the base?</a>'
menuFAQ[5]='<a href="faq.php#6" >Can you re-bronze previously-bronzed shoes?</a>'
menuFAQ[6]='<a href="faq.php#7" >Do shoes have to be a matched pair for the prices listed?</a>'
menuFAQ[7]='<a href="faq.php#8" >Can you bronze anything other than baby shoes?</a>'
menuFAQ[8]='<a href="faq.php#9" >Can I leave the laces untied?</a>'
menuFAQ[9]='<a href="faq.php#10" >How do I care for bronzed shoes?</a>'
menuFAQ[10]='<a href="faq.php#11" >Can I get information through the regular mail?</a>'
menuFAQ[11]='<a href="faq.php#12" >What if I\'ve lost my shoe laces or buttons?</a>'
menuFAQ[12]='<a href="faq.php#13" >Why do I have to pay sales tax?</a>'
menuFAQ[13]='<a href="faq.php#14" >I live outside the continental USA.&nbsp; How can I order?</a>'

var menuwidth='215px' //default menu width
var menubgcolor='#B84A19'  //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=-500
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