
/***********************************************
* 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 1
var aboutus=new Array()
aboutus[0]='<a href="../aboutus/scs_aboutus.html">Sears Commercial</a>'
aboutus[1]='<a href="../aboutus/scs_kenmore.html">Kenmore</a>'
aboutus[2]='<a href="../aboutus/scs_customers.html">Customer Service</a>'
aboutus[3]='<a href="../aboutus/scs_tradeshows.html">Tradeshows</a>'
aboutus[4]='<a href="../aboutus/scs_industry_assoc.html">Industry Associations</a>'


//Contents for menu 2, and so on
var builders=new Array()
builders[0]='<a href="../br/scs_bandr.html">Our Program</a>'
builders[1]='<a href="../br/scs_cap_applianceselect.html">Appliance Select Plus</a>'
builders[2]='<a href="../contactus/scs_contact_as_locations.html">Appliance Select Plus Locations</a>'

//Contents for menu 3, and so on
var pm=new Array()
pm[0]='<a href="../pm/scs_pm.html">Our Program</a>'
pm[1]='<a href="../pm/scs_pm_app.html">Appliance Change Out Program</a>'
pm[2]='<a href="../pm/scs_pm_leasing.html">Leasing</a>'

//Contents for menu 4, and so on
var catalog=new Array()
catalog[0]='<a href="../catalog/catalog_index.html">Catalog Main Menu</a>'
catalog[1]='<a href="http://www.commercial.sears.com/comsale/appliance/applcat/applcat.htm">Appliances</a>'
catalog[2]='<a href="http://www.commercial.sears.com/comsale/appliance/applcat/ti.cgi/applcat.ti/54">Air Conditioners</a>'
catalog[3]='<a href="http://www.commercial.sears.com/comsale/appliance/applcat/ti.cgi/applcat.ti/56">Drinking Water Systems</a>'
catalog[4]='<a href="../catalog/ee.html">Exercise Equipment</a>'
catalog[5]='<a href="http://www.searscommercial.com/catalog/gameroom.html">Game Room</a>'
catalog[6]='<a href="http://www.commercial.sears.com/comsale/appliance/applcat/ti.cgi/applcat.ti/57">Garage Door Openers</a>'
catalog[7]='<a href="../catalog/gs.html">Garage Storage</a>'
catalog[8]='<a href="../catalog/generators.html">Generators</a>'
catalog[9]='<a href="../catalog/grills.html">Grills</a>'
catalog[10]='<a href="../catalog/mattresses.html">Mattresses</a>'
catalog[11]='<a href="../catalog/mowers.html">Mowers</a>'
catalog[12]='<a href="http://www.searscommercial.com/catalog/pressurewashers.html">Pressure Washers</a>'
catalog[13]='<a href="http://www.searscommercial.com/catalog/crftsmnproflawn_garden.html">Professional Lawn and Garden</a>'
catalog[14]='<a href="../catalog/snow_throw.html">Snow Throwers</a>'
catalog[15]='<a href="../catalog/tv.html">Televisions</a>'
catalog[16]='<a href="http://www.searscommercial.com/catalog/tillers.html">Tillers</a>'
catalog[17]='<a href="../catalog/tractors.html">Tractors</a>'
catalog[18]='<a href="../catalog/tractors_attachments.html">Tractor Accessories</a>'
catalog[19]='<a href="http://www.commercial.sears.com/comsale/appliance/applcat/ti.cgi/applcat.ti/55">Water Softeners</a>'



//Contents for menu 5, and so on
var customersupport=new Array()
customersupport[0]='<a href="http://ebm.cheetahmail.com/r/regf2?aid=2068070805&n=2&a=0">Email Registration</a>'
customersupport[1]='<a href="../contactus/scs_contact_as_locations.html">Appliance Select Plus Locations</a>'
customersupport[2]='<a href="../contactus/scs_cs_parts_direct.html">Parts Direct</a>'
customersupport[3]='<a href="../contactus/scs_cs_service.html">Service</a>'
customersupport[4]='<a href="../contactus/scs_cs_rp.html">Return Policy</a>'
customersupport[5]='<a href="../contactus/scs_cs_order_info.html">Order Info</a>'
customersupport[6]='<a href="../contactus/scs_contact_dm_locations.html">District Manager Map</a>'
customersupport[7]='<a href="http://www.searscommercial.com/giftcard/giftcard_800.pdf">Sears Gift Cards</a>'
customersupport[8]='<a href="http://www.citibank.com/us/cards/srs/commercial1.jsp">Credit</a>'
customersupport[9]='<a href="http://www.searscommercial.com/warranty">Warranty Registration</a>'
customersupport[10]='<a href="http://www.sears.com">Sears.com</a>'


		
var menuwidth='190px' //default menu width
var menubgcolor='lightgrey'  //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