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]='<font size="2" face="Verdana"><b><a href="/ipmcrsp/communications/ExtensionPublications.htm">Extension Publications</a> | <a href="/ipmcrsp/communications/workplans/wplans.html">Work Plans</a> | <a href="/ipmcrsp/communications/annrepts/arintro.html">Annual Reports</a> | <a href="/ipmcrsp/communications/trips/triprpt.html">Trip Reports</a> | <a href="/ipmcrsp/communications/newsl/update.html">Newsletters</a> | <a href="/ipmcrsp/communications/papers/workpapers1.html">Papers & Presentations </a> | <a href="/ipmcrsp/communications/misc/index.html">Misc.</a></b></font>'

submenu[1]='<font size="2" face="Verdana"><b><a href="/ipmcrsp/partners/sub_documents.php">Partners Access</a> </font>'

submenu[3]='<font size="2" face="Verdana"><b><a href="/ipmcrsp/successstories/virus.html">Caribbean</a> | <a href="/ipmcrsp/successstories/plant_virus.htm">Asia</a>| <a href="/ipmcrsp/successstories/albania.html">Eastern Europe</a> | <a href="/ipmcrsp/successstories/mali.html">Africa</a> | <a href="/ipmcrsp/successstories/patatoes.html">Latin America</a></font>'

submenu[4]='<font size="2" face="Verdana"><b><a href="/ipmcrsp/photogallery/index.htm#asia">Asia</a> | <a href="/ipmcrsp/photogallery/index.htm#africa">Africa</a> | <a href="/ipmcrsp/photogallery/index.htm#america">America</a> | <a href="/ipmcrsp/photogallery/index.htm#asia">Caribbean </a> | <a href="/ipmcrsp/photogallery/index.htm#Europe">Europe </a>  | <a href="/ipmcrsp/photogallery/index.htm#misc"> Miscellaneous </a>'

submenu[5]='<font size="2" face="Verdana"><b><a href="/ipmcrsp/ipmresources/prof.htm">Professional Associations</a> | <a href="/ipmcrsp/ipmresources/othersites.htm">Other IPM sites</a> | <a href="/ipmcrsp/ipmresources/aando.htm">Agencies & Organizations</a> | <a href="/ipmcrsp/ipmresources/pest.htm">Info. on Pesticides</a> | <a href="/ipmcrsp/ipmresources/map.htm">Reference Materials & Maps</a></font>'


//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : 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;
}
