function call_topmenu(menuid)
{
	var txtTop_menu,strlink,txtfrm;
//	strlink="<Select name='select' onchange='fnWebsite(this)' width='70'>   <option>Select</option><option value=http://www.agri-sciencepark-at-icrisat.org>http://www.agri-sciencepark-at-icrisat.org</option><option value=http://www.icrisat.org>http://www.icrisat.org</option><option value=http://www.cgiar.org>http://www.cgiar.org</option><option value=http://www.ddpa.net>http://www.ddpa.net</option><option value=http://www.fao.org>http://www.fao.org</option><option value=http://www.aflatoxin.info>http://www.aflatoxin.info</option><option value=http://www.vasat.org>http://www.vasat.org</option><option value=http://www.aflatoxin.info>http://www.aflatoxin.info</option><option value=http://www.ipgri.cgiar.org>http://www.ipgri.cgiar.org</option><option value=http://www.futureharvest.org>http://www.futureharvest.org</option><option value=http://intranet.icrisat.org/>http://intranet.icrisat.org/</option><option value=http://www.groundnutseedproject.org>http://www.groundnutseedproject.org</option><option value=http://www.droughtweb.org>http://www.droughtweb.org</option>  </select>"
strlink= "<Select name='select' onchange='fnWebsite(this)' style='font-family: arial; font-size:9pt'>  <option>Select</option><option value=http://www.ciat.cgiar.org>CIAT</option><option value=http://www.cifor.cgiar.org>CIFOR</option><option value=http://www.cimmyt.org>CIMMYT</option><option value=http://www.ifpri.org>IFPRI</option><option value=http://www.cipotato.org>CIP</option><option value=http://www.icarda.org>ICARDA</option><option value=http://www.icrisat.org>ICRISAT</option><option value=http://www.iita.org>IITA</option><option value=http://www.ilri.org>ILRI</option><option value=http://www.bioversityinternational.org>Bioversity</option><option value=http://www.irri.org>IRRI</option><option value=http://www.warda.org>WARDA</option><option value=http://www.iwmi.org>IWMI</option><option value=http://www.worldagroforestrycentre.org>WAFC</option><option value=http://www.worldfishcenter.org>WFC</option></select>"

	switch(menuid)
	{
	case 1:
	{
		
		txtTop_menu ="<table  border='0' align='center' cellpadding='0' cellspacing='0' width='780'><form name=\"frm1\">"
		txtTop_menu =txtTop_menu + "<tr><td ><img src='new_img/IC-Home-Page_01.jpg' width='68' height='89'></td><td><img src='new_img/IC-Home-Page_022.jpg' width='108' height='89'></td><td><img src='new_img/IC-Home-Page_03.jpg' width='40' height='89'></td><td><img src='new_img/IC-Home-Page_04.jpg' width='174' height='89'></td><td><img src='new_img/IC-Home-Page_055.jpg' width='170' height='89'></td>    <td><img src='new_img/IC-Home-Page_06.jpg' width='42' height='89'></td><td><img src='new_img/IC-Home-Page_07.jpg' width='115' height='89'></td>    <td><img src='new_img/IC-Home-Page_08.jpg' width='63' height='89'></td></tr>";
		txtTop_menu =txtTop_menu + "<tr><td ><img src='new_img/IC-Home-Page_09.jpg' width='68' height='59'></td><td ><img src='new_img/IC-Home-Page_101.jpg' width='108' height='59'></td><td ><img src='new_img/IC-Home-Page_11.jpg' width='40' height='59'></td><td colspan='2' valign='top' bgcolor='E8F1E8'><div align='center'>";
		txtTop_menu =txtTop_menu + "<span class='text'><a href='index.htm'>Home</a> | <a href='aboutus/aboutus.htm' class='text'>About Us</a> | <a href='aboutus/global_Presence.htm' class='text'>Contact Us</a> | <a href='Investors/Donors.htm' class='text'>Investors and Partners</a> | <a href='ip_management/ip1.htm' class='text'>IP Management</a><br><a href='Publications/Publications.htm' class='text'>Publications </a>| <a href='http://intranet.icrisat.org/' class='text' target='_blank'>Intranet</a> | <a href='Email/email.htm' class='text'>E-Mail</a> | <a href='opportunities.htm' class='text'>Opportunities</a> |  <a href='sitemap.htm' class='text'>Sitemap</a> | <a href='search.htm' class='text'>Search</a></span><br><img src='../new_img/line.gif' height='5'><br><span class='text'> <a href='http://test1.icrisat.org' class='text'>En Français</a></span>  |  <span class='text'> CG Links  </span>" + strlink +"  </td></div>";		
		txtTop_menu =txtTop_menu + "<td ><img src='new_img/IC-Home-Page_14.jpg' width='42' height='59'></td><td ><img src='new_img/IC-Home-Page_15.jpg' width='115' height='59'></td>    <td ><img src='new_img/IC-Home-Page_16.jpg' width='63' height='59'></td>  </tr>  </form></table>";
		document.write(txtTop_menu)
		break
	}
	case 2:
	{
		txtTop_menu ="<table  border='0' align='center' cellpadding='0' cellspacing='0' width='780'><form name=\"frm1\">"
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../new_img/IC-Home-Page_01.jpg' width='68' height='89'></td><td><img src='../new_img/IC-Home-Page_022.jpg' width='108' height='89'></td><td><img src='../new_img/IC-Home-Page_03.jpg' width='40' height='89'></td><td><img src='../new_img/IC-Home-Page_04.jpg' width='174' height='89'></td><td><img src='../new_img/IC-Home-Page_055.jpg' width='170' height='89'></td>    <td><img src='../new_img/IC-Home-Page_06.jpg' width='42' height='89'></td><td><img src='../new_img/IC-Home-Page_07.jpg' width='115' height='89'></td>    <td><img src='../new_img/IC-Home-Page_08.jpg' width='63' height='89'></td></tr>";
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../new_img/inner_hdr_lgreen_09.jpg' width='68' height='59'></td><td ><img src='../new_img/inner_hdr_lgreen_101.jpg' width='108' height='59'></td><td ><img src='../new_img/inner_hdr_lgreen_11.jpg' width='40' height='59'></td><td colspan='2' valign='top' bgcolor='E8F1E8'><div align='center'>";
		txtTop_menu =txtTop_menu + "<span class='text'><a href='../index.htm'>Home</a> | <a href='../aboutus/aboutus.htm' class='text'>About Us</a> | <a href='../aboutus/global_Presence.htm' class='text'>Contact Us</a> | <a href='../Investors/Donors.htm' class='text'>Investors and Partners</a> | <a href='../ip_management/ip1.htm' class='text'>IP Management</a><br><a href='../Publications/Publications.htm' class='text'>Publications </a>| <a href='http://intranet.icrisat.org/' class='text' target='_blank'>Intranet</a> | <a href='../Email/email.htm' class='text'>E-Mail</a> | <a href='../opportunities.htm' class='text'>Opportunities</a> |  <a href='../sitemap.htm' class='text'>Sitemap</a> | <a href='../search.htm' class='text'>Search</a></span><br><img src='../new_img/line.gif' height='5'><br><span class='text'> <a href='http://test1.icrisat.org' class='text'>En Français</a></span>  |<span class='text'> Links  </span>" + strlink +"  </td></div>";		
		txtTop_menu =txtTop_menu + "<td ><img src='../new_img/inner_hdr_lgreen_14.jpg' width='42' height='59'></td><td ><img src='../new_img/inner_hdr_lgreen_15.jpg' width='115' height='59'></td>    <td ><img src='../new_img/inner_hdr_lgreen_16.jpg' width='63' height='59'></td>  </tr>  </form></table>";
		document.write(txtTop_menu)
		break
	}
		case 3:
	{
		txtTop_menu ="<table  border='0' align='center' cellpadding='0' cellspacing='0' width='780'><form name=\"frm1\">"
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../../new_img/IC-Home-Page_01.jpg' width='68' height='89'></td><td><img src='../../new_img/IC-Home-Page_022.jpg' width='108' height='89'></td><td><img src='../../new_img/IC-Home-Page_03.jpg' width='40' height='89'></td><td><img src='../../new_img/IC-Home-Page_04.jpg' width='174' height='89'></td><td><img src='../../new_img/IC-Home-Page_055.jpg' width='170' height='89'></td>    <td><img src='../../new_img/IC-Home-Page_06.jpg' width='42' height='89'></td><td><img src='../../new_img/IC-Home-Page_07.jpg' width='115' height='89'></td>    <td><img src='../../new_img/IC-Home-Page_08.jpg' width='63' height='89'></td></tr>";
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../../new_img/inner_hdr_lgreen_09.jpg' width='68' height='59'></td><td ><img src='../../new_img/inner_hdr_lgreen_101.jpg' width='108' height='59'></td><td ><img src='../../new_img/inner_hdr_lgreen_11.jpg' width='40' height='59'></td><td colspan='2' valign='top' bgcolor='E8F1E8'><div align='center'>";
		txtTop_menu =txtTop_menu + "<span class='text'><a href='../../index.htm'>Home</a> | <a href='../../aboutus/aboutus.htm' class='text'>About Us</a> | <a href='../../../aboutus/global_Presence.htm' class='text'>Contact Us</a> | <a href='../../Investors/Donors.htm' class='text'>Investors and Partners</a> | <a href='../../ip_management/ip1.htm' class='text'>IP Management</a><br><a href='../../Publications/Publications.htm' class='text'>Publications </a>| <a href='http://intranet.icrisat.org/' class='text' target='_blank'>Intranet</a> | <a href='../../Email/email.htm' class='text'>E-Mail</a> | <a href='../../Opportunities.htm' class='text'>Opportunities</a> |  <a href='../../sitemap.htm' class='text'>Sitemap</a> | <a href='../../search.htm' class='text'>Search</a></span><br><img src='../new_img/line.gif' height='5'><br><span class='text'> <a href='http://test1.icrisat.org' class='text'>En Français</a></span>  |<span class='text'> Links  </span>" + strlink +"  </td></div>";		
		txtTop_menu =txtTop_menu + "<td ><img src='../../new_img/inner_hdr_lgreen_14.jpg' width='42' height='59'></td><td ><img src='../../new_img/inner_hdr_lgreen_15.jpg' width='115' height='59'></td>    <td ><img src='../../new_img/inner_hdr_lgreen_16.jpg' width='63' height='59'></td>  </tr></form></table>";
		document.write(txtTop_menu)
		break
	}
	case 4:
	{
		txtTop_menu ="<table  border='0' align='center' cellpadding='0' cellspacing='0' width='780'><form name=\"frm1\">"
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../../../new_img/IC-Home-Page_01.jpg' width='68' height='89'></td><td><img src='../../../new_img/IC-Home-Page_022.jpg' width='108' height='89'></td><td><img src='../../../new_img/IC-Home-Page_03.jpg' width='40' height='89'></td><td><img src='../../../new_img/IC-Home-Page_04.jpg' width='174' height='89'></td><td><img src='../../../new_img/IC-Home-Page_055.jpg' width='170' height='89'></td>    <td><img src='../../../new_img/IC-Home-Page_06.jpg' width='42' height='89'></td><td><img src='../../../new_img/IC-Home-Page_07.jpg' width='115' height='89'></td>    <td><img src='../../../new_img/IC-Home-Page_08.jpg' width='63' height='89'></td></tr>";
		txtTop_menu =txtTop_menu + "<tr><td ><img src='../../../new_img/inner_hdr_lgreen_09.jpg' width='68' height='59'></td><td ><img src='../../../new_img/inner_hdr_lgreen_101.jpg' width='108' height='59'></td><td ><img src='../../../new_img/inner_hdr_lgreen_11.jpg' width='40' height='59'></td><td colspan='2' valign='top' bgcolor='E8F1E8'><div align='center'>";
		txtTop_menu =txtTop_menu + "<span class='text'><a href='../../../index.htm'>Home</a> | <a href='../../../aboutus/aboutus.htm' class='text'>About Us</a> | <a href='../../../aboutus/global_Presence.htm' class='text'>Contact Us</a> | <a href='../../../Investors/Donors.htm' class='text'>Investors and Partners</a> | <a href='../../../ip_management/ip1.htm' class='text'>IP Management</a><br><a href='../../../Publications/Publications.htm' class='text'>Publications </a>| <a href='http://intranet.icrisat.org/' class='text' target='_blank'>Intranet</a> | <a href='../../../Email/email.htm' class='text'>E-Mail</a> | <a href='../../../Opportunities.htm' class='text'>Opportunities</a> |  <a href='../../../sitemap.htm' class='text'>Sitemap</a> | <a href='../../../search.htm' class='text'>Search</a></span><br><img src='../new_img/line.gif' height='5'><br><span class='text'> <a href='http://test1.icrisat.org' class='text'>En Français</a></span>  |<span class='text'> Links  </span>" + strlink +"  </td></div>";		
		txtTop_menu =txtTop_menu + "<td ><img src='../../../new_img/inner_hdr_lgreen_14.jpg' width='42' height='59'></td><td ><img src='../../../new_img/inner_hdr_lgreen_15.jpg' width='115' height='59'></td>    <td ><img src='../../../new_img/inner_hdr_lgreen_16.jpg' width='63' height='59'></td>  </tr></form></table>";
		document.write(txtTop_menu)
		break
	}
	//for Biotechnology Header
	case 5:
	{
		txtTop_menu ="<table  border='0' align='center' cellpadding='0' cellspacing='0' width='780'>"
		//txtTop_menu =txtTop_menu + "<tr><td ><img src='../../new_img/bt/IC-Home-Page_01.jpg' width='68' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_02.jpg' width='108' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_03.jpg' width='40' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_04.jpg' width='174' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_05.jpg' width='170' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_06.jpg' width='42' height='89'></td><td><img src='../../new_img/bt/IC-Home-Page_07.jpg' width='115' height='89'></td> <td><img src='../../new_img/bt/IC-Home-Page_08.jpg' width='63' height='89'></td></tr>";
		//txtTop_menu =txtTop_menu + "<tr><td ><img src='../../new_img/bt/IC-Home-Page_09.jpg' width='68' height='92'></td><td><img src='../../new_img/bt/IC-Home-Page_10.jpg' width='108' height='92'></td><td><img src='../../new_img/bt/IC-Home-Page_11.jpg' width='40' height='92'></td><td><img src='../../new_img/bt/IC-Home-Page_12.jpg' width='174' height='92'></td><td><img src='../../new_img/bt/IC-Home-Page_13.jpg' width='170' height='92'></td> <td><img src='../../new_img/bt/IC-Home-Page_14.jpg' width='42' height='92'></td><td><img src='../../new_img/bt/IC-Home-Page_15.jpg' width='115' height='92'></td> <td><img src='../../new_img/bt/IC-Home-Page_16.jpg' width='63' height='92'></td></tr>";
		txtTop_menu =txtTop_menu + "<tr><td colspan='8'><img src='../../new_img/bt/ceg.jpg' width='780' height='193' alt=''></td></tr></table>";
		document.write(txtTop_menu)
		break
	}
	}
}
function fnWebsite(temp)
{
	window.open(temp.value,'website')
}
function cmdSubmit_onclick()
{
		var value;
		value=document.frm1.SearchString.value;
		if (value.length!=0)
			{
				document.frm1.target="main";
				document.frm1.method="post";
				document.frm1.action="/search/results.asp";
				document.frm1.submit();
				return true;
			}
		else
			{
				alert("Must enter the search keyword");
				document.frm1.SearchString.focus();
				return false;
			}
}
function SearchString_onkeypress() 
{
	if(window.event.keyCode==13)
	{
		document.frm1.cmdSubmit.focus();
		cmdSubmit_onclick();
		return true;
	}
}