//Contents for menu 1
var menu1=new Array()
menu1[1]='<a href="clip-on_interior.html">clip-on interior</a>'
menu1[2]='<a href="clip-on_exterior.html">clip-on exterior</a>'
menu1[3]='<a href="designer_interior.html">designer interior</a>'
menu1[4]='<a href="designer_exterior.html">designer exterior</a>'
menu1[5]='<a href="lay-in_interior.html">lay-in interior</a>'
menu1[6]='<a href="lay-in_exterior.html">lay-in exterior</a>'

menu1[7]='<a href="http://www.armstrong.com/commceilingsna/ceiling_family_detail.jsp?productLineId=31&typeId=3" target="blank">METALWORK TEGULAR</a>'
menu1[8]='<a href="quad_interior.html">quad interior</a>'
menu1[9]='<a href="scion_interior.html">scion interior</a>'
menu1[10]='<a href="snap-in_interior.html">snap-in interior</a>'
menu1[11]='<a href="snap-in_exterior.html">snap-in exterior</a>'
menu1[12]='<a href="tegular_exterior.html">tegular exterior</a>'
menu1[13]='<a href="wavegrid_interior.html">wavegrid interior</a>'
menu1[14]='<a href="wavegrid_exterior.html">wavegrid exterior</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[1]='<a href="clip-on_planks_interior.html">clip-on planks interior</a>'
menu2[2]='<a href="corspan_planks_interior.html">corspan planks interior</a>'
menu2[3]='<a href="designer_planks_interior.html">designer planks interior</a>'
menu2[4]='<a href="designer_planks_exterior.html">designer planks exterior</a>'
menu2[5]='<a href="g2000_interior.html">g2000 planks interior</a>'
menu2[6]='<a href="g2000_exterior.html">g2000 planks exterior</a>'
menu2[7]='<a href="lay-in_planks_interior.html">lay-in planks interior</a>'
menu2[8]='<a href="lay-in_planks_exterior.html">lay-in planks exterior</a>'
menu2[9]='<a href="planks_interior.html">planks interior</a>'
menu2[10]='<a href="planks_lt_interior.html">planks lt interior</a>'
menu2[11]='<a href="snap-in_planks_interior.html">snap-in planks interior</a>'
menu2[12]='<a href="snap-in_planks_exterior.html">snap-in planks exterior</a>'
menu2[13]='<a href="tegular_planks_interior.html">tegular planks interior</a>'
menu2[14]='<a href="wavegrid_planks_interior.html">wavegrid planks interior</a>'
menu2[15 ]='<a href="wavegrid_planks_exterior.html">wavegrid planks exterior</a>'

//Contents for menu 3, and so on
var menu3=new Array()
menu3[1]='<a href="http://www.armstrong.com/commceilingsna/article16007.html" target="blank">Metalworks Linear</a>'
menu3[2]='<a href="ripples_interior.html">ripples interior</a>'




//Contents for menu 4, and so on
var menu4=new Array()
menu4[2]='<a href="14-t_interior.html">14-t interior</a>'
menu4[3]='<a href="beams_interior.html">beams interior</a>'
menu4[6]='<a href="http://www.armstrong.com/commceilingsna/article25861.html" target="blank">METALWORKS MESH</a>'


//Contents for menu 5, and so on
var menu5=new Array()
menu5[0]='<a href="domes.html">domes</a>'
menu5[1]='<a href="canopies.html">canopies</a>'
menu5[2]='<a href="clouds.html">clouds</a>'
menu5[3]='<a href="faceted.html">faceted</a>'
menu5[4]='<a href="trapezoids.html">trapezoids</a>'
menu5[5]='<a href="vault.html">vault</a>'
menu5[6]='<a href="valley.html">valley</a>'
menu5[7]='<a href="wave.html">wave</a>'
menu5[8]='<a href="ziggurats.html">ziggurats</a>'


//Contents for menu 6, and so on
var menu6=new Array()
menu6[0]='<a href="finishes_ceilings_wet.html">Wet</a>'
menu6[1]='<a href="finishes_ceilings_powder.html">Powder</a>'
menu6[2]='<a href="finishes_fluoropolymer.html">Fluoropolymer</a>'
menu6[3]='<a href="finishes_decoplex.html">DECOPLEX</a>'
menu6[4]='<a href="finishes_anodized.html">Anodized</a>'
menu6[5]='<a href="finishes_polished.html">Polished</a>'
menu6[6]='<a href="finishes_brushed.html">Brushed</a>'
menu6[7]='<a href="finishes_ceilings_ceiltex.html">CEILTEX<span class="super">TM</span> Fabric</a>'

menu6[8]='<a href="finishes_ceilings_ceiltex_tp.html">CEILTEX<span class="super">TM</span> TP</a>'
menu6[9]='<a href="finishes_images.html">IMAGES</a>'
menu6[10]='<a href="finishes_ceilings_laminates.html">Laminates</a>'
menu6[11]='<a href="finishes_ceilings_metalplex.html">METALPLEX<span class="super">TM</span></a>'
menu6[12]='<a href="finishes_veneers.html">Veneers</a>'
menu6[13]='<a href="finishes_films.html">Films</a>'
menu6[14]='<a href="finishes_perforations.html">Perforations</a>'

menu6[15]='<a href="finishes_ceilings_ellio.html">ELLIO</a>'

//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="stanza_healthcare.html">Stanza Healthcare<span class="super">TM</span></a></a>'
menu7[1]='<a href="stanza_gp.html">Stanza GP</a></a>'


//Contents for menu 8, and so on
var menu8=new Array()
menu8[0]='<a href="tranquility_acoustical.html">Tranquility<span class="super">TM</span> Acoustical</a>'


//Contents for menu 9, and so on
var menu9=new Array()
menu9[0]='<a href="stanza_architectural.html">STANZA ARCHITECTURAL</a>'
menu9[1]='<a href="stanza_wainscot.html">STANZA WAINSCOT<span class="super">TM</span></a>'
menu9[2]='<a href="tranquility_wet_room.html">TRANQUILITY WET ROOM<span class="super">TM</span></a>'


//Contents for menu 10, and so on
var menu10=new Array()
menu10[0]='<a href="louvers_walls.html">Louvers</a>'

//Contents for menu 11, and so on
var menu11=new Array()
menu11[0]='<a href="walls_ph.html">Access</a>'
menu11[1]='<a href="walls_ph.html">Acoustical</a>'
menu11[2]='<a href="walls_ph.html">Exterior</a>'
menu11[3]='<a href="walls_ph.html">Food Preparation</a>'
menu11[4]='<a href="walls_ph.html">Food Processing</a>'
menu11[5]='<a href="walls_ph.html">Headwall</a>'
menu11[6]='<a href="walls_ph.html">Infection Control</a>'
menu11[7]='<a href="walls_ph.html">Operating Rooms</a>'
menu11[8]='<a href="walls_ph.html">Wall Protection</a>'
menu11[9]='<a href="walls_ph.html">Wet Areas</a>'

//Contents for menu 12, and so on
var menu12=new Array()
menu12[0]='<a href="walls_ph.html">Wet</a>'
menu12[1]='<a href="finishes_walls_powder.html">Powder</a>'
menu12[2]='<a href="walls_ph.html">Fluoropolymer</a>'
menu12[3]='<a href="walls_ph.html">DECOPLEX</a>'
menu12[4]='<a href="walls_ph.html">Anodized</a>'
menu12[5]='<a href="walls_ph.html">Polished</a>'
menu12[6]='<a href="walls_ph.html">Brushed</a>'
menu12[7]='<a href="finishes_walls_scandatex.html">SCANDATEX<span class="super">TM</span> Fabric</a>'
menu12[8]='<a href="walls_ph.html">IMAGES</a>'
menu12[9]='<a href="finishes_walls_laminates.html">Laminates</a>'
menu12[10]='<a href="finishes_walls_metalplex.html">METALPLEX<span class="super">TM</span></a>'
menu12[11]='<a href="walls_ph.html">Veneers</a>'
menu12[12]='<a href="walls_ph.html">Films</a>'
menu12[13]='<a href="walls_ph.html">Perforations</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)
}

