
/***********************************************
* AnyLink Drop Down 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 menu 1
var menu1=new Array()
menu1[0]='<a href="#">Profile</a>'
menu1[1]='<a href="#">Vision</a>'
menu1[2]='<a href="#">Team</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="AboutUs_Profile.php">Profile</a>'
menu2[1]='<a href="AboutUs_Vision.php">Vision</a>'
menu2[2]='<a href="AboutUs_Team.php">Team</a>'

var menu3=new Array()
menu3[0]='<a href="Products-Services-Agriculture.php">Agriculture</a>'
menu3[1]='<a href="Products-Services-AnimalHealthcare-Nutrition.php">Animal Healthcare & Nutrition</a>'
menu3[2]='<a href="Products-Services-Baking.php">Baking</a>'
menu3[3]='<a href="Products-Services-Brewing-Distilling.php">Brewing & Distilling</a>'
menu3[4]='<a href="Products-Services-EnviroCare.php">Enviro Care</a>'
menu3[5]='<a href="Products-Services-FruitJuiceProcessing.php">Fruit Juice Processing</a>'
menu3[6]='<a href="Products-Services-LeatherProcessing.php">Leather Processing</a>'
menu3[7]='<a href="Products-Services-Nutraceuticals.php">Nutraceuticals</a>'
menu3[8]='<a href="Products-Services-Pharmaceuticals.php">Pharmaceuticals</a>'
menu3[9]='<a href="Products-Services-StarchProcessing.php">Starch Processing</a>'
menu3[10]='<a href="Products-Services-TeaProcessing.php">Tea Processing</a>'
menu3[11]='<a href="Products-Services-TextileProcessing.php">Textile Processing</a>'

var menu4=new Array()
menu4[0]='<a href="Enzymes.php">About...</a>'
menu4[1]='<a href="Enzymes-AlphaAcetolactate.php">Alpha Acetolactate </a>'
menu4[2]='<a href="Enzymes-Amyloglucosidase.php">Amyloglucosidase</a>'
menu4[3]='<a href="Enzymes-BacterialAlphaAmylace.php">Bacterial Alpha Amylase</a>'
menu4[4]='<a href="Enzymes-BarelyBetaAmylase.php">Barely Beta Amylase</a>'
menu4[5]='<a href="Enzymes-BetaGlucanase.php">Beta Glucanase</a>'
menu4[6]='<a href="Enzymes-Catalase.php">Catalase</a>'
menu4[7]='<a href="Enzymes-Cellulase.php">Cellulase</a>'
menu4[8]='<a href="Enzymes-CoEnzymeQ10.php">Co Enzyme Q 10</a>'
menu4[9]='<a href="Enzymes-Dextranase.php">Dextranase</a>'
menu4[10]='<a href="Enzymes-FungalAlphamylase.php">Fungal Alpha Amylase</a>'
menu4[11]='<a href="Enzymes-FungalDiastase.php">Fungal Diastase</a>'
menu4[12]='<a href="Enzymes-FungalLactase.php">Fungal Lactase</a>'
menu4[13]='<a href="Enzymes-FungalLipase.php">Fungal Lipase</a>'
menu4[14]='<a href="Enzymes-Glucoamylase.php">Glucoamylase</a>'
menu4[15]='<a href="Enzymes-GlucoseOxidase.php">Glucose Oxidase</a>'
menu4[16]='<a href="Enzymes-Hemicellulase.php">Hemicellulase</a>'
menu4[17]='<a href="Enzymes-Invertase.php">Invertase</a>'
menu4[18]='<a href="Enzymes-Laccase.php">Laccase</a>'
menu4[19]='<a href="Enzymes-MaltDiastase.php">Malt Diastase </a>'
menu4[20]='<a href="Enzymes-NattoSEB(Nattokinase).php">NattoSEB (Nattokinase)</a>'
menu4[21]='<a href="Enzymes.php"><B>More...</B></a>'
/*menu4[21]='<a href="#">Neutral Cellulase</a>'
menu4[22]='<a href="#">Ox Bile Extract</a>'
menu4[23]='<a href="#">Pancreatin</a>'
menu4[24]='<a href="#">Papain</a>'
menu4[25]='<a href="#">Pectinase</a>'
menu4[26]='<a href="#">Pepsin</a>'
menu4[27]='<a href="#">Peroxidase</a>'
menu4[28]='<a href="#">Phytase</a>'
menu4[29]='<a href="#">Protease</a>'
menu4[30]='<a href="#">Pullulanase</a>'
menu4[31]='<a href="#">Serratiopeptidase</a>'
menu4[32]='<a href="#">Sucrase</a>'
menu4[33]='<a href="#">Trypsin Chymotrypsin Mix</a>'
menu4[34]='<a href="#">Xylanase</a>'
menu4[35]='<a href="#">SEBrite bleach</a>'
menu4[36]='<a href="#">SEBrite DI</a>'*/
  
var menu5=new Array()
menu5[0]='<a href="Probiotics.php">About</a>'
menu5[1]='<a href="Probiotics-ActiveDriedYeast.php">Active Dried Yeast</a>'
menu5[2]='<a href="Probiotics-BakersYeast.php">Baker\'s Yeast</a>'
menu5[3]='<a href="Probiotics-Bifidobacterium.php">Bifidobacterium</a>'
menu5[4]='<a href="Probiotics-LacticAcidBacillus.php">Lactic Acid Bacillus</a>'
menu5[5]='<a href="Probiotics-LactobacillusAcidophilus.php">Lactobacillus Acidophilus</a>'
menu5[6]='<a href="Probiotics-Pseudomonas.php">Pseudomonas</a>'
menu5[7]='<a href="Probiotics-SaccharomycesBoulardii.php">Saccharomyces Boulardii</a>'

var menu6=new Array()
menu6[0]='<a href="Applications.php">About</a>'
menu6[1]='<a href="Applications-AgricultureEnzymes.php">Agriculture Enzymes</a>'
menu6[2]='<a href="Applications-AnimalHealthcareEnzymes.php">Animal Healthcare Enzymes</a>'
menu6[3]='<a href="Applications-Aquaculture Enzymes.php">Aquaculture Enzymes</a>'
menu6[4]='<a href="Applications-Baking Enzymes.php">Baking Enzymes</a>'
menu6[5]='<a href="Applications-Bating Enzymes.php">Bating Enzymes</a>'
menu6[6]='<a href="Applications-BioPolishingEnzymes.php">Bio Polishing Enzymes</a>'
menu6[7]='<a href="Applications-BioWashingEnzymes.php">Bio Washing Enzymes</a>'
menu6[8]='<a href="Applications-BioremediationEnzymes.php">Bioremediation Enzymes</a>'
menu6[9]='<a href="Applications-Bio-ScouringEnzymes.php">Bio-Scouring Enzymes</a>'
menu6[10]='<a href="Applications-BreadImprovers.php">Bread Improvers</a>'
menu6[11]='<a href="Applications-BrewingEnzymes.php">Brewing Enzymes</a>'
menu6[12]='<a href="Applications-CattleFeedEnzymes.php">Cattle Feed Enzymes</a>'
menu6[13]='<a href="Applications-DefoldingEnzymes.php">Defolding Enzymes</a>'
menu6[14]='<a href="Applications-DegreasingEnzymes.php">Degreasing Enzymes</a>'
menu6[15]='<a href="Applications-Dehairing Enzymes.php">Dehairing Enzymes</a>'
menu6[16]='<a href="Applications-DenimEnzymes.php">Denim Enzymes</a>'
menu6[17]='<a href="Applications-DesizingEnzymes.php">Desizing Enzymes</a>'
menu6[18]='<a href="Applications-DistillingEnzymes.php">Distilling Enzymes</a>'
menu6[19]='<a href="Applications.php"><B>MORE...</B></a>'
/*menu6[20]='<a href="#">Enzyme Therapy</a>'
menu6[21]='<a href="#">Enzymes in Beam House Processing</a>'
menu6[22]='<a href="#">Enzymes in Wet Blue Processing</a>'
menu6[23]='<a href="#">Flour Bleaching Enzymes</a>'
menu6[24]='<a href="#">Fruit Juice Processing</a>'
menu6[25]='<a href="#">Grain Processing Enzymes</a>'
menu6[26]='<a href="#">Jute Enzymes</a>'
menu6[27]='<a href="#">Leather Enzymes</a>'
menu6[28]='<a href="#">Liquefaction Enzymes</a>'
menu6[29]='<a href="#">Pav Improvers</a>'
menu6[30]='<a href="#">Pond Hygiene Enzymes</a>'
menu6[31]='<a href="#">Poultry Enzymes</a>'
menu6[32]='<a href="#">Saccharification Enzymes</a>'
menu6[33]='<a href="#">Soaking Enzymes</a>'
menu6[34]='<a href="#">Sweetener Enzymes</a>'
menu6[35]='<a href="#">Textile Enzymes</a>'
menu6[36]='<a href="#">Waste Treatment Enzymes</a>'*/

var menu7=new Array()
menu7[0]='<a href="Careers-CurrentOpenings.php">Current Openings</a>'
menu7[1]='<a href="Careers-JoinUs.php">Join Us</a>'
menu7[2]='<a href="Careers-Work_at_AETL.php">Work at AETL</a>'
 

var menu8=new Array()
menu8[0]='<a href="#">DP</a>'

var menu9=new Array()
menu9[0]='<a href="Contact Us-Address.php">Addresses</a>'
menu9[1]='<a href="Contact-Us-Enquiry.php">Enquiry Form</a>'


var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////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:'+menuwidth+';background-color:'+menubgcolor+'" 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="-500px"
if (menuwidth!=""){
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 < 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 up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
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")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"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)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
