
/***********************************************
* 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
***********************************************/



//Contents for Photocopiers
var menu1=new Array()
menu1[0]='<a href="/copiers-toshiba/copiers_toshiba.htm"><b>Toshiba</b></a>'
menu1[1]='<a href="/copiers-toshiba/copiers_colour.htm"> &nbsp; - &nbsp; Colour</a>'
menu1[2]='<a href="/copiers-toshiba/copiers_mono.htm"> &nbsp; - &nbsp; Monochrome</a>'
menu1[3]='<a href="/copiers-kyocera/copiers_kyocera.htm"><b>Kyocera</b></a>'
menu1[4]='<a href="/copiers-kyocera/copiers_low_volume.htm"> &nbsp; - &nbsp; Low Volume</a>'
menu1[5]='<a href="/copiers-kyocera/copiers_departmental.htm"> &nbsp; - &nbsp; Departmental</a>'
menu1[6]='<a href="/copiers-kyocera/copiers_wide_format.htm"> &nbsp; - &nbsp; Wide Format</a>'
menu1[7]='<a href="/copiers-kyocera/copiers_colour.htm"> &nbsp; - &nbsp; Colour</a>'

//Contents for Faxes/MFC
var menu2=new Array()
menu2[0]='<a href="/faxes-toshiba/faxes_toshiba.htm">Toshiba</a>'
menu2[1]='<a href="/faxes-brother/faxes_brother.htm">Brother (Faxes)</a>'
menu2[2]='<a href="/faxes-brothermfc/faxes_brothermfc.htm">Brother (MFC)</a>'
menu2[3]='<a href="/faxes-samsung/faxes_samsung.htm"><b>Samsung</b></a>'
menu2[4]='<a href="/faxes-samsung/faxes_colour.htm"> &nbsp; - &nbsp; Colour</a>'
menu2[5]='<a href="/faxes-samsung/faxes_monochrome.htm"> &nbsp; - &nbsp; Monochrome</a>'
menu2[6]='<a href="/faxes-samsung/faxes_workgroup.htm"> &nbsp; - &nbsp; Workgroup</a>'
menu2[7]='<a href="/faxes-kyocera/faxes_kyocera.htm"><b>Kyocera</b></a>'
menu2[8]='<a href="/faxes-kyocera/faxes_colour.htm"> &nbsp; - &nbsp; Colour</a>'
menu2[9]='<a href="/faxes-kyocera/faxes_mono.htm"> &nbsp; - &nbsp; Monochrome</a>'
menu2[10]='<a href="/faxes-kyocera/faxes_workgroup.htm"> &nbsp; - &nbsp; Workgroup</a>'

//Contents for Cash Register
var menu3=new Array()
menu3[0]='<a href="/register-toshiba/register_toshiba.htm">Toshiba</a>'
menu3[1]='<a href="/register-samsung/register_samsung.htm">Samsung</a>'

//Contents for Point of Sale
var menu4=new Array()
menu4[0]='<a href="/pos-cashreg/cash_register.htm">Systems Cash Registers</a>'
menu4[1]='<a href="/pos-touchscreen/touch_screen.htm">Touch Screen Systems</a>'
menu4[2]='<a href="/pos-lcdtouch/lcd_touch_monitor.htm">LCD Touch Monitors</a>'
menu4[3]='<a href="/pos-poledisplay/pole_display.htm">POS Pole Displays</a>'

//Contents for Miscellaneous
var menu5=new Array()
menu5[0]='<a href="/misc-shredders/shredders.htm"><b>Shredders</b></a>'
menu5[1]='<a href="/misc-shredders/shred_personal.htm"> &nbsp; - &nbsp; Personal</a>'
menu5[2]='<a href="/misc-shredders/shred_office.htm"> &nbsp; - &nbsp; Office</a>'
menu5[3]='<a href="/misc-shredders/shred_industrial.htm"> &nbsp; - &nbsp; Industrial</a>'
menu5[4]='<a href="/misc-laminators/laminators.htm"><b>Laminators</b></a>'
menu5[5]='<a href="/misc-laminators/lamin_pouch.htm"> &nbsp; - &nbsp; Pouch</a>'
menu5[6]='<a href="/misc-laminators/lamin_roll.htm"> &nbsp; - &nbsp; Roll</a>'
menu5[7]='<a href="/misc-binders/binders.htm"><b>Binders</b></a>'
menu5[8]='<a href="/misc-binders/wire_binders.htm"> &nbsp; - &nbsp; Wire</a>'
menu5[9]='<a href="/misc-binders/coil_binders.htm"> &nbsp; - &nbsp; Coil</a>'
menu5[10]='<a href="/misc-binders/thermal_binders.htm"> &nbsp; - &nbsp; Thermal</a>'
menu5[11]='<a href="/misc-binders/fastbind_binders.htm"> &nbsp; - &nbsp; Fastbind</a>'
menu5[12]='<a href="/misc-binders/binders.htm"> &nbsp; - &nbsp; Supplies</a>'
menu5[13]='<a href="/misc-dataprojectors/dataprojectors.htm"><b>Data Projecters<b></a>'
menu5[14]='<a href="/misc-whiteboards/elecwhiteboards.htm"><b>Electronic Whiteboards<b></a>'
menu5[15]='<a href="/misc-whiteboards/wb_thermal_paper.htm">&nbsp; - &nbsp;Thermal Paper Whiteboards</a>'
menu5[16]='<a href="/misc-whiteboards/wb_plain_paper.htm">&nbsp; - &nbsp;Plain Paper Whiteboards</a>'
menu5[17]='<a href="/misc-whiteboards/wb_colour_scanning.htm">&nbsp; - &nbsp;Colour Scanning Whiteboards</a>'
menu5[18]='<a href="/misc-trimmers/trimmers.htm"><b>Trimmers</b></a>'
menu5[19]='<a href="/misc-guillotines/guillotines.htm"><b>Guillotines</b></a>'
menu5[20]='<a href="/misc-staplers/staplers.htm"><b>Staplers</b></a>'

//Contents for Furniture
var menu6=new Array()
menu6[0]='<a href="/furniture/chairs.htm"><b>Chairs</b></a>'
menu6[1]='<a href="/furniture/chairs_task.htm"> &nbsp; - &nbsp; Task</a>'
menu6[2]='<a href="/furniture/chairs_executive.htm"> &nbsp; - &nbsp; Executive</a>'
menu6[3]='<a href="/furniture/chairs_stool.htm"> &nbsp; - &nbsp; Stools/Folding Chairs</a>'
menu6[4]='<a href="/furniture/chairs_4legged.htm"> &nbsp; - &nbsp; 4 Legged</a>'
menu6[5]='<a href="/furniture/chairs_sled.htm"> &nbsp; - &nbsp; Sled Base</a>'
menu6[6]='<a href="/furniture/chairs_visitor.htm"> &nbsp; - &nbsp; Visitor Chairs</a>'
menu6[7]='<a href="/furniture/chairs_lounges.htm"> &nbsp; - &nbsp; Beams and Lounges</a>'
menu6[8]='<a href="/furniture/chairs_client.htm"> &nbsp; - &nbsp; Client Seating</a>'
menu6[9]='<a href="/furniture/chairs_accessories.htm"> &nbsp; - &nbsp; Accessories</a>'
menu6[10]='<a href="/furniture/metal_cabinets.htm"><b>Metal Cabinets</b></a>'
menu6[11]='<a href="/furniture/desks.htm"><b>Desks</b></a>'
menu6[12]='<a href="/furniture/workstations.htm"><b>Workstations</b></a>'
menu6[13]='<a href="/furniture/bookcases.htm"><b>Bookcases</b></a>'
menu6[14]='<a href="/furniture/cupboards_credenzas.htm"><b>Cupboards/Credenzas</b></a>'
menu6[15]='<a href="/furniture/miscellaneous.htm"><b>Miscellaneous</b></a>'

//Contents for Printers
var menu7=new Array()
menu7[0]='<a href="/printers-kyocera/printer_kyocera.htm">Kyocera</a>'
menu7[1]='<a href="/printers-brother/printer_brother.htm">Brother</a>'
menu7[2]='<a href="/printers-epson/printer_epson.htm">Epson</a>'
menu7[3]='<a href="/printers-oki/printer_oki.htm">Oki</a>'
menu7[4]='<a href="/printers-hp/printer_hp.htm">HP</a>'
menu7[5]='<a href="/printers-samsung/printer_samsung.htm"><b>Samsung</b></a>'
menu7[6]='<a href="/printers-samsung/printer_colour.htm"> &nbsp; - &nbsp; Colour</a>'
menu7[7]='<a href="/printers-samsung/printer_monochrome.htm"> &nbsp; - &nbsp; Monochrome</a>'




var disappeardelay=400  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=1 //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)
}


