/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/
var submenu=new Array()
//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
submenu[0]='<table cellpadding="0" cellspacing="0" width="280" id="submenu1"><tr><td align="center" style="border: 1px solid #DF0000"><a class="menu2" href="about_us.php">About Us</a></td><td align="center" style="border: 1px solid #DF0000"><a class="menu2" href="philosophy.php">Our Philosophy</a></td><td align="center" width="118" style="border: 1px solid #DF0000"><a class="menu2" href="vision_and_mission.php">Vision and Mission</a></td></tr></table>'
submenu[1]='<table cellpadding="0" cellspacing="0" width="247" id="submenu2"><tr><td align="center" style="border: 1px solid #DF0000"><a class="menu2" href="people.php">People</a></td><td align="center" width="71" style="border: 1px solid #DF0000"><a class="menu2" href="pre_press.php">Pre-Press</a></td><td align="center" width="50" style="border: 1px solid #DF0000"><a class="menu2" href="press.php">Press</a></td><td align="center" width="70" style="border: 1px solid #DF0000"><a class="menu2" href="post_press.php">Post-Press</a></td></tr></table>'
submenu[2]='<table cellpadding="0" cellspacing="0" width="381" id="table18"><tr><td align="center" style="border: 1px solid #DF0000">&nbsp;</td><td align="center" style="border: 1px solid #DF0000" width="88"><a class="menu2" href="quality_policy.php">Quality Policy</a></td><td align="center" width="73" style="border: 1px solid #DF0000"><a class="menu2" href="practice.php">5S Practice</a></td><td align="center" width="52" style="border: 1px solid #DF0000"><a class="menu2" href="awards.php">Awards</a></td></tr></table>'
submenu[9]=''
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=600
/////No need to edit beyond here
var menuobj=document.getElementById? document.getElementById("submenu") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""
function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
