var on=1;
function setStyle(what)
{ 
	if (typeof what == "string")
	{
		what = document.getElementById(what);
	}
	if (on == 1)
	{
		what.style.backgroundColor = none;
		on--;
	}
	else 
	{
		what.style.backgroundColor = none;
		on++;
	}
} 


function fwLoadMenus() {
if (window.schal_0) return;
window.schal_0 = new Menu("research",530,15,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#ffffff","#ffffff","#99CCCC");
schal_0.addMenuItem("Behavioral Endocrinology: Juvenile hormone mediation of behavior","location='research/be.html'");
schal_0.addMenuItem("Chemical Ecology: Pheromones and other semiochemicals","location='research/po.html'");
schal_0.addMenuItem("Molecular mechanisms in olfactory reception","location='research/mm.html'");
schal_0.addMenuItem("Cuticular Lipids: Biosynthesis, transport, and roles in communication","location='research/cl.html'");
schal_0.addMenuItem("Comparative Cockroach Biology: Phylogenetics, distribution, population genetics, and sexual selection","location='research/ccb.html'");
schal_0.addMenuItem("Medical significance of cockroaches: Allergens","location='research/al.html'");
schal_0.addMenuItem("Medical significance of cockroaches: Disease transmission","location='research/dt.html'");
schal_0.addMenuItem("Integrated pest management: Schools and residential settings","location='research/srs.html'");
schal_0.addMenuItem("Integrated pest management: Swine farms","location='research/sf.html'");
schal_0.addMenuItem("Chemical Ecology: Evolution of moth communication and oviposition systems","location='research/ev.html'");
schal_0.addMenuItem("Chemical Ecology: Mosquito oviposition","location='research/mo.html'");
schal_0.addMenuItem("Other collaborations in chemical ecology and behavior","location='research/oc.html'");
 schal_0.fontWeight="bold";
 schal_0.hideOnMouseOut=true;
if (window.schal_1) return;
window.schal_1 = new Menu("ps",380,15,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#ffffff","#ffffff","#99CCCC");
schal_1.addMenuItem("Graduate Student Positions","location='http://www4.ncsu.edu/~coby/grad.html'");
schal_1.addMenuItem("Indoor Urban Entomology Graduate Fellowships (pdf)","location='http://www4.ncsu.edu/~coby/Fellowship_Announcement.pdf'");
schal_1.addMenuItem("Graduate student information","location='http://www.cals.ncsu.edu/entomology/welcome.html'");
schal_1.addMenuItem("Application forms","location='http://www.cals.ncsu.edu/entomology/admissions.html'");
schal_1.addMenuItem("NCSU, Raleigh, and the Triangle area","location='http://www.triangle.citysearch.com'");
 schal_1.hideOnMouseOut=true;
schal_1.writeMenus();
} // fwLoadMenus()