var closets=new Array()
closets[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=17">Closet Accessories</a>'
closets[1]='<a href="http://forspacesake.com/index.php?act=viewDoc&docId=25">Custom Closet Design</a>'
closets[2]='<a href="http://forspacesake.com/index.php?act=viewDoc&docId=27">Custom Sliding Doors</a>'
closets[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=13">Portable Closets</a>'
closets[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=18">Drawer Organizers</a>'
closets[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=74">Jewelry Organizers</a>'
closets[6]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=16">Hangers</a>'
closets[7]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=75">Hooks</a>'
closets[8]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=14">Shoe Storage</a>'
closets[9]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=15">Tie & Belt Racks</a>'

var lifestyle=new Array()
lifestyle[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=22">Decorative</a>'
lifestyle[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=20">Fireplaces</a>'
lifestyle[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=21">Floor Coverings</a>'
lifestyle[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=77">Placemats</a>'
lifestyle[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=76">Magazine Holders</a>'
lifestyle[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=24">Makeup Bags</a>'
lifestyle[6]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=23">Wallets / Passport</a>'

var kitchen=new Array()
kitchen[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=26">Drawer Organizers</a>'
kitchen[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=31">Kitchen Accessories</a>'
kitchen[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=30">Pantry Organization</a>'
kitchen[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=28">Recycling</a>'
kitchen[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=27">Trash Containers</a>'
kitchen[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=29">Undersink Storage</a>'

var bath=new Array()
bath[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=40">Bath Accessories</a>'
bath[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=33">Bath In A Box</a>'
bath[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=36">Cosmetic Organizers</a>'
bath[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=37">Hair Care Storage</a>'
bath[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=39">Mirrors</a>'
bath[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=35">Towel Bars, Hooks & Racks</a>'
bath[6]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=34">Undersink Storage</a>'
bath[7]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=38">Vanity Drawer Organizers</a>'

var laundry=new Array()
laundry[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=43">Board & Iron Holders</a>'
laundry[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=44">Drying Racks</a>'
laundry[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=42">Hampers</a>'
laundry[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=46">Ironing Boards</a>'
laundry[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=45">Laundry Accessories</a>'

var shelving=new Array()
shelving[0]='<a href="http://forspacesake.com/index.php?act=viewDoc&docId=29">Metro Storage Solutions</a>'

var garage=new Array()
garage[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=55">Auto Organizers</a>'
garage[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=51">Bike Racks</a>'
garage[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=50">Complete Custom Storage</a>'
garage[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=53">Ladder Racks</a>'
garage[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=54">Parking</a>'
garage[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=52">Tool Storage</a>'
garage[6]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=73">Golf Racks</a>'
garage[7]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=78">Garage Accesories</a>'

var office=new Array()
office[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=58">Desk Organizers</a>'
office[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=60">Desks</a>'
office[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=59">Files & Paper Storage</a>'
office[3]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=57">Laptop Cases</a>'
office[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=61">Office Accessories</a>'

var misc=new Array()
misc[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=64">Bridal Registery</a>'
misc[1]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=66">Cleaning Products</a>'
misc[2]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=79">Eco-Friendly Products</a>'
misc[3]='<a href="http://forspacesake.com/index.php?act=viewDoc&docId=26">Gift Certificates</a>'
misc[4]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=68">Gift Ideas</a>'
misc[5]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=65">Locker Organizers</a>'
misc[6]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=67">Travel</a>'
misc[7]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=69">Wedding</a>'

var mudroom=new Array()
mudroom[0]='<a href="http://forspacesake.com/index.php?act=viewCat&catId=72">Mudroom</a>'

var menuwidth='165px' //default menu width
var menubgcolor='white'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

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){
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)
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

