






function changeLook(a) {
if (a==1) document.body.style.cursor = "hand";
else document.body.style.cursor = "auto";
}

function goHome() {

window.location="http://www.aapl.com"

}

function dropDown(a) {
var b;
if (a==4) b="company";
if (a==3) b="contact";
if (a==2) b="facilities";
if (a==1) b="products";

hideAll();
document.getElementById(b).style.background="#a7a3fa";

if (b=="company")  { document.getElementById('company_menu').style.visibility = "visible" ; }
if (b=="products") { document.getElementById('products_menu').style.visibility = "visible" ; }
if (b=="facilities") { document.getElementById('facilities_menu').style.visibility = "visible" ; }
}

function technology() {
document.getElementById('products_submenu').style.visibility = "visible" ; 

}

function hideAll() {
document.getElementById('company_menu').style.visibility = "hidden" ; 
document.getElementById('products_menu').style.visibility = "hidden" ; 
document.getElementById('facilities_menu').style.visibility = "hidden" ; 
document.getElementById('products_submenu').style.visibility = "hidden" ;

document.getElementById('company').style.background="#dfeffd";
document.getElementById('products').style.background="#dfeffd";
document.getElementById('facilities').style.background="#dfeffd";
document.getElementById('contact').style.background="#dfeffd";

}
function menuDisplay() {

window.document.write("<body background='pics/back.jpg'><img src='pics/topbanner.jpg' id='banner' onMouseOver='JavaScript:hideAll()'>");

window.document.write("<table id='company_menu' width=100 cellpadding=3 cellspacing=0 border=1><tr height=16><td width=100><a class='menu' href='http://www.aapl.com'>Home</a></td></tr><tr height=16><td width=100><a class='menu' href='overview.html'>Overview</a></td></tr><tr height=16><td width=100><a class='menu' href='management.html'>Management</a></td></tr></table>");

window.document.write("<table id='products_menu' width=100 cellpadding=3 cellspacing=0 border=1><tr height=16><td width=100><a class='menu' href='search.htm'>Product Search</a></td></tr><tr height=16><td width=100><a class='menu' href='bulk.html'>Request a Quote</a></td></tr><tr height=16><td onMouseOver='JavaScript:technology()' width=100>Technologies &#8658</td></tr></table>");

window.document.write("<table id='facilities_menu' width=100 cellpadding=3 cellspacing=0 border=1><tr height=16><td width=100><a class='menu' href='glass.html'>Glass Shop</a></td></tr><tr height=16><td width=100><a class='menu' href='analytical.html'>Analytical Department</a></td></tr></table>");

window.document.write("<table id='products_submenu' width=100 cellpadding=3 cellspacing=0 border=1><tr ><td width=100><a class='menu' href='crystals.html'>Virgin Crystal Grade Materials</a></td></tr><tr ><td width=100><a class='menu' href='fluorides.html'>Anhydrous Fluorides</a></td></tr><tr ><td width=100><a class='menu' href='synthesis.html'>Elemental Synthesis</a></td></tr><tr ><td width=100><a class='menu' href='beads.html'>Anhydrous Beaded Materials</a></td></tr><tr ><td width=100><a class='menu' href='metals.html'>High Purity Metals</a></td></tr><tr ><td width=100><a class='menu' href='subs.html'>Large Scale Sublimations</a></td></tr></table>");


window.document.write("<table width=140 height=55  border=0 onMouseOver='JavaScript:changeLook(1);' onMouseOut='JavaScript:changeLook(0);' onClick='JavaScript:goHome();' id='homelink'><tr><td></td></tr></table>");

window.document.write("<table id='contents' width=775 cellpadding=1 cellspacing=1><tr valign='center' height=16><td width=179 onMouseOver='JavaScript:hideAll();'><hr></td><td width=99 id='company' onMouseOver='JavaScript:dropDown(4);'><b>COMPANY</b></td><td width=99 id='products' onMouseOver='JavaScript:dropDown(1);'><b>PRODUCTS</b></td><td width=99 id='facilities' onMouseOver='JavaScript:dropDown(2);'><b>FACILITIES</b></td><td id='contact' onMouseOver='JavaScript:dropDown(3);' width=99><b><a href='contact.html' class='menu'>CONTACT</a></b></td><td onMouseOver='JavaScript:hideAll();' width=200><hr></td></tr></table>");

}
