

/***********************************************
* 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
***********************************************/


// begin guidemnu.txt

//Contents for                    
var menug=new Array()                                                      
//Contents for                0
menug[0]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d904.htm">Amethyst</a>'                                                                                               
//Contents for                1
menug[1]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d905.htm">Aquamarine</a>'                                                                                             
//Contents for                2
menug[2]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d907.htm">Blue Topaz</a>'                                                                                             
//Contents for                3
menug[3]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d910.htm">Chalcedony</a>'                                                                                             
//Contents for                4
menug[4]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d911.htm">Citrine</a>'                                                                                                
//Contents for                5
menug[5]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d914.htm">Cubic Zirconia - CZ</a>'                                                                                    
//Contents for                6
menug[6]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d915.htm">Diamond</a>'                                                                                                
//Contents for                7
menug[7]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d916.htm">Emerald</a>'                                                                                                
//Contents for                8
menug[8]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d918.htm">Garnet</a>'                                                                                                 
//Contents for                9
menug[9]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d924.htm">Jade</a>'                                                                                                   
//Contents for               10
menug[10]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d929.htm">Marcasite</a>'                                                                                             
//Contents for               11
menug[11]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d931.htm">Multi Gemstone</a>'                                                                                        
//Contents for               12
menug[12]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d933.htm">Onyx</a>'                                                                                                  
//Contents for               13
menug[13]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d934.htm">Opal</a>'                                                                                                  
//Contents for               14
menug[14]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d936.htm">Pearl</a>'                                                                                                 
//Contents for               15
menug[15]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d937.htm">Peridot</a>'                                                                                               
//Contents for               16
menug[16]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d945.htm">Quartz</a>'                                                                                                
//Contents for               17
menug[17]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d948.htm">Ruby</a>'                                                                                                  
//Contents for               18
menug[18]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d949.htm">Sapphire</a>'                                                                                              
//Contents for               19
menug[19]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d954.htm">Tanzanite</a>'                                                                                             
//Contents for               20
menug[20]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d956.htm">Topaz</a>'                                                                                                 
//Contents for               21
menug[21]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d960.htm">Turquoise</a>'                                                                                             

//Contents for                    
var menui=new Array()                                                      
//Contents for                0
menui[0]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a104.htm">Ankle Bracelets</a>'                                                                                        
//Contents for                1
menui[1]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a105.htm">Belly Rings</a>'                                                                                            
//Contents for                2
menui[2]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a106.htm">Toe Rings</a>'                                                                                              
//Contents for                3
menui[3]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a309.htm">Bracelets</a>'                                                                                              
//Contents for                4
menui[4]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a603.htm">Earrings</a>'                                                                                               
//Contents for                5
menui[5]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/a927.htm">Charms</a>'                                                                                                 
//Contents for                6
menui[6]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/b601.htm">Necklaces</a>'                                                                                              
//Contents for                7
menui[7]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/b604.htm">Pendants</a>'                                                                                               
//Contents for                8
menui[8]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/b901.htm">Pins</a>'                                                                                                   
//Contents for                9
menui[9]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/c305.htm">Rings</a>'                                                                                                  

//Contents for                    
var menum=new Array()                                                      
//Contents for                0
menum[0]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e301.htm">Platinum</a>'                                                                                               
//Contents for                1
menum[1]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e302.htm">Rose Gold</a>'                                                                                              
//Contents for                2
menum[2]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e303.htm">Stainless Steel</a>'                                                                                        
//Contents for                3
menum[3]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e304.htm">Sterling Silver</a>'                                                                                        
//Contents for                4
menum[4]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e305.htm">Titanium</a>'                                                                                               
//Contents for                5
menum[5]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e306.htm">Tricolor Gold</a>'                                                                                          
//Contents for                6
menum[6]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e307.htm">Two Tone</a>'                                                                                               
//Contents for                7
menum[7]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e308.htm">White Gold - 10k</a>'                                                                                       
//Contents for                8
menum[8]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e309.htm">White Gold - 14k</a>'                                                                                       
//Contents for                9
menum[9]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e310.htm">White Gold - 18k</a>'                                                                                       
//Contents for               10
menum[10]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e311.htm">Yellow Gold - 10k</a>'                                                                                     
//Contents for               11
menum[11]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e312.htm">Yellow Gold - 14k</a>'                                                                                     
//Contents for               12
menum[12]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/e313.htm">Yellow Gold - 18k</a>'                                                                                     

//Contents for                    
var menup=new Array()                                                      
//Contents for                0
menup[0]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d601.htm">-    $1 to $20</a>'                                                                                         
//Contents for                1
menup[1]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d602.htm">-   $20 to $40</a>'                                                                                         
//Contents for                2
menup[2]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d603.htm">-   $40 to $60</a>'                                                                                         
//Contents for                3
menup[3]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d604.htm">-   $60 to $100</a>'                                                                                        
//Contents for                4
menup[4]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d605.htm">-  $100 to $200</a>'                                                                                        
//Contents for                5
menup[5]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d606.htm">-  $200 to $400</a>'                                                                                        
//Contents for                6
menup[6]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d607.htm">-  $400 to $800</a>'                                                                                        
//Contents for                7
menup[7]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d608.htm">-  $800 to $1500</a>'                                                                                       
//Contents for                8
menup[8]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d609.htm">- $1500 and More</a>'                                                                                       
//Contents for                9
menup[9]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d610.htm">Clearance Rack</a>'                                                                                         
//Contents for               10
menup[10]='<a href="http://www.jewelryweb.com/includes/prodmenu/topmenu/htm/d611.htm">New Arrivals (Introductory Priced)</a>'                                                                    

// end guidemnu.txt

//Contents for                    
var menur=new Array()                                                      
//Contents for                0
menur[0]='<a href="http://www.jewelryweb.com/includes/menu/root/item.htm">Shop by Category</a>'                                                                                                                   
//Contents for                1
menur[1]='<a href="http://www.jewelryweb.com/includes/menu/root/attribute.htm">Shop by Price, Metal, Length and Size</a>'                                                                                                                   
//Contents for                2
menur[2]='<a href="http://www.jewelryweb.com/includes/menu/root/gemstone.htm">Shop by Gemstones and Birthstones</a>'                                                                                                                   
//Contents for                2
menur[3]='<a href="http://www.jewelryweb.com/includes/menu/root/heart.htm">Shop by Love Theme Jewelry</a>'                                                                                                                   
//Contents for                3
menur[4]='<a href="http://www.jewelryweb.com/includes/menu/root/religious.htm">Shop by Celtic and Religious Jewelry</a>'                                                                                                                  
//Contents for                4
menur[5]='<a href="http://www.jewelryweb.com/includes/menu/root/nature.htm">Shop by Nature Theme Jewelry</a>'                                                                                                                  
//Contents for                5
menur[6]='<a href="http://www.jewelryweb.com/includes/menu/root/keyword.htm">Shop by Theme</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 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 clearbrowseredgehor(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-clearbrowseredgehor(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredgehor(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


/***********************************************
* 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
***********************************************/

var horizontaloffset=-5 //horizontal offset of menu from default location. (0-5 is a good value)		


function clrbrowseredgever(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 ddmenuv(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-clrbrowseredgever(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clrbrowseredgever(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}


