/***********************************************
* 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 menu 01
var menu01=new Array()
menu01[0]='<a href="../../../solarhotwater.siliconsolar.com/evacuated-solar-tubes-21.html">Evacuated Solar Collectors</a>'
menu01[1]='<a href="../../../solarhotwater.siliconsolar.com/flat-plate-solar-collectors.html">Flat Plate Solar Collectors</a>'
menu01[2]='<a href="../../../solarhotwater.siliconsolar.com/small-solar-circulating-pump.html">Solar Hot Water Controllers</a>'
menu01[3]='<a href="../../../solarhotwater.siliconsolar.com/solar-storage-tanks-40gallon.html">Solar Hot Water Storage Tanks</a>'



//Contents for menu 02
var menu02=new Array()
menu02[0]='<a href="../../shop/catalog/Portable-Solar-Power-Systems-p-1-c-256.html">Portable Solar Power Systems</a>'
menu02[1]='<a href="../../shop/catalog/Flexible-Solar-Panels-p-1-c-257.html">Flexible Solar Panels</a>'
menu02[2]='<a href="../../flexible-solar-panel-accessories.html">Flexible Panel Accessories</a>'
menu02[3]='<a href="../../shop/catalog/Solar-Electric-Panels-p-1-c-292.html">Solar Electric Panels</a>'
menu02[4]='<a href="../../shop/catalog/0-1-Watt-Solar-Modules-p-1-c-325.html">Solar Panel Modules</a>'
menu02[5]='<a href="../../shop/catalog/RV-Solar-Panel-Kits-p-1-c-258.html">RV Solar Panels</a>'
menu02[6]='<a href="../../shop/catalog/Grid-Tie-Solar-Kits-p-1-c-328.html">Grid-Tie Kits</a>'

//Contents for menu 03
var menu03=new Array()
menu03[0]='<a href="../../shop/catalog/Solar-Fountain-Pumps-p-1-c-260.html">Solar Fountain Pumps</a>'
menu03[1]='<a href="../../shop/catalog/Floating-Solar-Fountains-p-1-c-261.html">Floating Solar Water Fountains</a>'
menu03[2]='<a href="../../shop/catalog/Solar-Birdbath-Fountains-p-1-c-262.html">Solar Birdbath Fountains</a>'
menu03[3]='<a href="../../shop/catalog/Large-Solar-Fountains-p-1-c-263.html">Large Solar Fountains</a>'

//Contents for menu 04
var menu04=new Array()
menu04[0]='<a href="../../shop/catalog/Solar-Garden-Lights-p-1-c-264.html">Solar Garden Lights</a>'
menu04[1]='<a href="../../shop/catalog/Solar-Flood-Lights-p-1-c-265.html">Solar Flood Lights</a>'
menu04[2]='<a href="../../shop/catalog/Solar-Security-Lights-p-1-c-266.html">Solar Security Lights</a>'
menu04[3]='<a href="../../solar-christmas-lights.html">Solar Christmas Lights</a>'

//Contents for menu 05
var menu05=new Array()
menu05[0]='<a href="../../shop/catalog/Solar-Flag-Lights-p-1-c-267.html">Solar Flag Lights</a>'
menu05[1]='<a href="../../shop/catalog/Solar-Sign-Lights-p-1-c-268.html">Solar Sign Lights</a>'
menu05[2]='<a href="../../shop/catalog/Solar-Post-Lights-p-1-c-269.html">Solar Post Lights</a>'
menu05[3]='<a href="../../shop/catalog/Solar-Spot-Lights-p-1-c-270.html">Solar Spot Lights</a>'

//Contents for menu 06
var menu06=new Array()
menu06[0]='<a href="../../shop/catalog/Commercial-Solar-Cells-p-1-c-271.html">Commercial Solar Cells</a>'
menu06[1]='<a href="../../shop/catalog/Solar-Cells-by-the-Watt-p-1-c-272.html">Solar Cells by the Watt</a>'
menu06[2]='<a href="../../shop/catalog/Educational-Solar-Cells-p-1-c-274.html">Educational Solar Cells</a>'
menu06[3]='<a href="../../shop/catalog/DIY-Solar-Panel-Kits-p-1-c-275.html">Solar panel Kits (DIY)</a>'

//Contents for menu 07
var menu07=new Array()
menu07[0]='<a href="../../shop/catalog/Educational-Solar-Kits-p-1-c-276.html">Educational Solar Kits</a>'
menu07[1]='<a href="../../shop/catalog/Solar-Powered-cars-p-1-c-277.html">Solar Powered Cars</a>'
menu07[2]='<a href="../../shop/catalog/LED-Solar-Lighting-p-1-c-278.html">LED Solar Lighting</a>'

//Contents for menu 08
var menu08=new Array()
menu08[0]='<a href="../../shop/catalog/Marine-Solar-Panels-p-1-c-279.html">Marine Solar Panels</a>'
menu08[1]='<a href="../../shop/catalog/Automotive-Solar-Chargers-p-1-c-280.html">Automotive Solar Chargers</a>'
menu08[2]='<a href="../../shop/catalog/PDA-Solar-Battery-Chargers-p-1-c-281.html">PDA Solar Battery Chargers</a>'
menu08[3]='<a href="../../shop/catalog/12-Volt-Battery-Chargers-p-1-c-282.html">12 Volt Battery Chargers</a>'
menu08[4]='<a href="../../shop/catalog/Travel-Solar-Battery-Chargers-p-1-c-283.html">Travel Solar battery Chargers</a>'

//Contents for menu 09
var menu09=new Array()
menu09[0]='<a href="../../shop/catalog/Sealed-Lead-Acid-Batteries-p-1-c-284.html">Sealed Lead Acid Batteries</a>'
menu09[1]='<a href="../../shop/catalog/Solar-Books-p-1-c-285.html">Solar Books</a>'

//Contents for menu 10 
var menu10=new Array()
menu10[0]='<a href="../../customer-support.html">Customer Support</a>'
menu10[1]='<a href="../../solar-information/index-2.html">FAQS</a>'

var menuwidth='165px' //default menu width
var menubgcolor='#006699'  //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
