/***********************************************
* 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
***********************************************/

//Luggage
var luggage = new Array()
luggage.push('<a href="../content/Category-18-1-16.htm?CategoryName=Wheeled Carry-Ons">Wheeled Carry-Ons</a>');
luggage.push('<a href="../content/Category-18-1-17.htm?CategoryName=Large Suitcases">Large Suitcases</a>');
luggage.push('<a href="../content/Category-18-1-18.htm?CategoryName=Garment Bags and Covers">Garment Bags & Covers</a>');
luggage.push('<a href="../content/Category-18-1-19.htm?CategoryName=Wheeled Garment Bags">Wheeled Garment Bags</a>');
luggage.push('<a href="../content/Category-18-1-20.htm?CategoryName=Totes and Satchels">Totes & Satchels</a>');
luggage.push('<a href="../content/Category-18-1-22.htm?CategoryName=Wheeled Totes">Wheeled Totes</a>');
luggage.push('<a href="../content/Category-18-1-23.htm?CategoryName=Duffel Bags">Duffel Bags</a>');
luggage.push('<a href="../content/Category-18-1-24.htm?CategoryName=Wheeled Duffels">Wheeled Duffels</a>');
luggage.push('<a href="../content/Category-18-1-25.htm?CategoryName=Hardside Luggage">Hardside Luggage</a>');
luggage.push('<a href="../content/Category-18-1-26.htm?CategoryName=Luggage Sets">Luggage Sets</a>');
luggage.push('<a href="../content/Category-18-1-27.htm?CategoryName=Trunks and More">Trunks & More</a>');

//Travel Essentials
var travel = new Array()
travel.push('<a href="../content/Category-18-1-28.htm?CategoryName=Security">Security</a>');
travel.push('<a href="../content/Category-18-1-29.htm?CategoryName=Shave Kits">Shave Kits</a>');
travel.push('<a href="../content/Category-18-1-30.htm?CategoryName=Cosmetic Cases">Cosmetic Cases</a>');
travel.push('<a href="../content/Category-18-1-31.htm?CategoryName=Passport Cases">Passport Cases</a>');
travel.push('<a href="../content/Category-18-1-32.htm?CategoryName=Electricity Converters">Electricity Converters</a>');
travel.push('<a href="../content/Category-18-1-33.htm?CategoryName=Packing Aids">Packing Aids</a>');
travel.push('<a href="../content/Category-18-1-34.htm?CategoryName=Comfort">Comfort</a>');
travel.push('<a href="../content/Category-18-1-35.htm?CategoryName=Travel Clocks">Travel Clocks</a>');
travel.push('<a href="../content/Category-18-1-36.htm?CategoryName=Umbrellas and Rain Gear">Umbrellas & Rain Gear</a>');
travel.push('<a href="../content/Category-18-1-37.htm?CategoryName=Guide Books">Guide Books</a>');
		
//Backpacks
var bpack = new Array();
bpack.push('<a href="../content/Category-18-1-38.htm?CategoryName=Backpacks and Bookbags">Backpacks & Bookbags</a>');
bpack.push('<a href="../content/Category-18-1-40.htm?CategoryName=Computer Backpacks">Computer Backpacks</a>');
bpack.push('<a href="../content/Category-18-1-41.htm?CategoryName=Wheeled Backpacks">Wheeled Backpacks</a>');

//Briefcases
var bcase = new Array();
bcase.push('<a href="../content/Category-18-1-42.htm?CategoryName=Softside Briefcases">Softside Briefcases</a>');
bcase.push('<a href="../content/Category-18-1-43.htm?CategoryName=Hardside Briefcases">Hardside Briefcases</a>');
bcase.push('<a href="../content/Category-18-1-44.htm?CategoryName=Wheeled Briefcases">Wheeled Briefcases</a>');
bcase.push('<a href="../content/Category-18-1-45.htm?CategoryName=Woman\'s Briefcases">Woman\'s Briefcases</a>');
bcase.push('<a href="../content/Category-18-1-46.htm?CategoryName=Messenger Bags">Messenger Bags</a>');
bcase.push('<a href="../content/Category-18-1-47.htm?CategoryName=Catalog Cases">Catalog Cases</a>');

//Laptop Cases
var laptop = new Array();
laptop.push('<a href="../content/Category-18-1-48.htm?CategoryName=Laptop Briefcases">Laptop Briefcases</a>');
laptop.push('<a href="../content/Category-18-1-49.htm?CategoryName=Wheeled Cases">Wheeled Cases</a>');
laptop.push('<a href="../content/Category-18-1-50.htm?CategoryName=Woman\'s Cases">Woman\'s Cases</a>');
laptop.push('<a href="../content/Category-18-1-51.htm?CategoryName=Computer Backpacks">Computer Backpacks</a>');
laptop.push('<a href="../content/Category-18-1-52.htm?CategoryName=Laptop Sleeves">Laptop Sleeves</a>');
laptop.push('<a href="../content/Category-18-1-53.htm?CategoryName=Hardside Cases">Hardside Cases</a>');
laptop.push('<a href="../content/Category-18-1-54.htm?CategoryName=Messenger Bags">Messenger Bags</a>');

//Business Accessories
var bizacc = new Array();
bizacc.push('<a href="../content/Category-18-1-55.htm?CategoryName=Agendas and Planners">Agendas & Planners</a>');
bizacc.push('<a href="../content/Category-18-1-57.htm?CategoryName=Agendas and Address Refils">Agendas & Address Refils</a>');
bizacc.push('<a href="../content/Category-18-1-58.htm?CategoryName=Pad Covers/Portfolios">Pad Covers/Portfolios</a>');
bizacc.push('<a href="../content/Category-18-1-59.htm?CategoryName=Desk Accessories">Desk Accessories</a>');
bizacc.push('<a href="../content/Category-18-1-60.htm?CategoryName=Journals and Address Books">Journals & Address Books</a>');
bizacc.push('<a href="../content/Category-18-1-61.htm?CategoryName=Business Card Cases">Business Card Cases</a>');
bizacc.push('<a href="../content/Category-18-1-62.htm?CategoryName=Office Gifts">Office Gifts</a>');
bizacc.push('<a href="../content/Category-18-1-63.htm?CategoryName=Globes">Globes</a>');

//Wallets
var wallet = new Array();
wallet.push('<a href="../content/Category-18-1-64.htm?CategoryName=Men\'s Bi-fold">Men\'s Bi-fold</a>');
wallet.push('<a href="../content/Category-18-1-65.htm?CategoryName=Men\'s Tri-fold">Men\'s Tri-fold</a>');
wallet.push('<a href="../content/Category-18-1-68.htm?CategoryName=Woman\'s">Woman\'s</a>');
wallet.push('<a href="../content/Category-18-1-69.htm?CategoryName=Money Clips">Money Clips</a>');
wallet.push('<a href="../content/Category-18-1-70.htm?CategoryName=Card Cases">Card Cases</a>');
wallet.push('<a href="../content/Category-18-1-71.htm?CategoryName=Front Pocket Wallets">Front Pocket Wallets</a>');
wallet.push('<a href="../content/Category-18-1-72.htm?CategoryName=Passport Cases">Passport Cases</a>');
wallet.push('<a href="../content/Category-18-1-73.htm?CategoryName=Leather Accessories">Leather Accessories</a>');

//Gift & Games
var giftgame = new Array();
giftgame.push('<a href="../content/Category-18-1-74.htm?CategoryName=Games">Games</a>');
giftgame.push('<a href="../content/Category-18-1-75.htm?CategoryName=Novelties and Fun">Novelties & Fun</a>');
giftgame.push('<a href="../content/Category-18-1-76.htm?CategoryName=Barware and Picnic">Barware & Picnic</a>');
giftgame.push('<a href="../content/Category-18-1-78.htm?CategoryName=Collegiate">Collegiate</a>');
giftgame.push('<a href="../content/Category-18-1-79.htm?CategoryName=For the Home">For the Home</a>');
giftgame.push('<a href="../content/Category-18-1-80.htm?CategoryName=Personal Accessories">Personal Accessories</a>');
giftgame.push('<a href="../content/Category-18-1-81.htm?CategoryName=Knives and Tools">Knives & Tools</a>');
giftgame.push('<a href="../content/Category-18-1-82.htm?CategoryName=Office Gifts">Office Gifts</a>');
giftgame.push('<a href="../content/Category-18-1-89.htm?CategoryName=Globes">Globes</a>');

//Fine Writing
var writing = new Array();
writing.push('<a href="../content/Category-18-1-83.htm?CategoryName=Ballpoint">Ballpoint</a>');
writing.push('<a href="../content/Category-18-1-84.htm?CategoryName=Rollerball">Rollerball</a>');
writing.push('<a href="../content/Category-18-1-85.htm?CategoryName=Fountain">Fountain</a>');
writing.push('<a href="../content/Category-18-1-86.htm?CategoryName=Gift Set">Gift Set</a>');
writing.push('<a href="../content/Category-18-1-88.htm?CategoryName=Refills">Refills</a>');


var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////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: 160px" 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
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-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 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")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"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)
}
