<!--
var start;
var ie, ns, ns6, ie6;
var strProducts, strSales;

ie6 = 0;

ie = (document.all)? 1 : 0;
ns = (document.layers)? 1: 0;
ns6 = (navigator.product == 'Gecko')? 1 : 0;

if ((ie) || (ie6) || (ns6))
{
	var width = document.body.clientWidth;
	var origWidth = document.body.clientWidth;
	var origHeight = document.body.clientHeight;
}
	
if ((ns))
{
	var width = self.innerWidth;
	var origWidth = self.innerWidth;
	var origHeight = self.innerHeight;
}

if(width >= 590)
{
	start = (width-590)/2;
}
else
{
	start=0;
}
//alert(start);

if (ns)
{
	document.tags.body.marginRight=start;
	document.tags.body.marginLeft=start;
	document.tags.div.textAlign='center';

	//products menu
	strProducts = "<layer id=\"imgProductslayer\" position=\"absolute\" top=\"91\" left=\"" + (start-18) + "\" visibility=\"hide\" z-index=\"100\" onmouseover=\"overmenu=2;\" onmouseout=\"overmenu=0; menutimeout('imgProducts');\">";
	strProducts += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">";
	strProducts += "<tr bgcolor=\"#ffcc66\">";
		strProducts += "<td class='smtext' onMouseOver=\"fnChangeBG(this)\" onMouseOut=\"fnReturnBG(this)\"><img name='yel0' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strProducts += "<a class='dropmenu' href=\"/australia/products/default.htm\" class=navdown>Maize - Feed Grain</a>";
		strProducts += "</td>";
	strProducts += "</tr>";
	strProducts += "<tr bgcolor=\"#ffcc66\">";
		strProducts += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strProducts += "</tr>";
	strProducts += "</table>";
	strProducts += "</layer>";
	document.write(strProducts);
	//end of product menu
	
	//start of sales menu
	//document.write("<layer id=\"agronlayer\" position=\"absolute\" top=\"90\" left=" + (start+137) + "px visibility=\"hide\" z-index=\"100\" onmouseover=\"overmenu=3;\" onmouseout=\"overmenu=0; menutimeout('agron')\"></layer>");
	//end of sales menu

// end if ns
}
else
{
	//products menu
	strProducts = "<div id=\"imgProductslayer\" style=\"position: absolute; top: 90px; left: " + start + "px; visibility: hidden; z-index: 100;\" onmouseover=\"overmenu=2;\" onmouseout=\"overmenu=0; menutimeout('imgProducts');\">";
	strProducts += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">";
	strProducts += "<tr bgcolor=\"#ffcc66\" onMouseOver=\"fnChangeBG(this)\" onMouseOut=\"fnReturnBG(this)\">";
		strProducts += "<td class='smtext' onMouseOver=\"imgOn2('yel0')\" onMouseOut=\"imgOff2('yel0')\"><img name='yel0' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strProducts += "<a class='dropmenu' href=\"/romania/floarea_soarelui/caracteristici.htm\" class=navdown>Principalele caracteristici&nbsp;</a>";
		strProducts += "</td>";
	strProducts += "</tr>";
	strProducts += "<tr bgcolor=\"#ffcc66\">";
		strProducts += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strProducts += "</tr>";
	strProducts += "<tr bgcolor=\"#ffcc66\">";
		strProducts += "<td class='smtext' onMouseOver=\"imgOn2('yel1')\" onMouseOut=\"imgOff2('yel1')\"><img name='yel1' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strProducts += "<a class='dropmenu' href=\"/romania/floarea_soarelui/high_oleic.htm\" class=navdown>High oleic</a>";
		strProducts += "</td>";
	strProducts += "</tr>";

	strProducts += "<tr bgcolor=\"#ffcc66\">";
		strProducts += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strProducts += "</tr>";
	strProducts += "</table></div>"
	document.write(strProducts);

	//sales Menu
	strSales = "<div id=\"imgSaleslayer\" style=\"position: absolute; top: 90px; left: " + (start+136) + "px; visibility: hidden; z-index: 100;\" onmouseover=\"overmenu=2;\" onmouseout=\"overmenu=0; menutimeout('imgSales');\">";
	strSales += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"150\">";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel12')\" onMouseOut=\"imgOff2('yel12')\"><img name='yel12' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/aditivi/11A44.htm\">11A44 - NOU</a>";
		strSales += "</td>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
	strSales += "</tr>";strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel13')\" onMouseOut=\"imgOff2('yel13')\"><img name='yel13' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/aditivi/1188.htm\">PIONEER 1188</a>";
		strSales += "</td>";
	strSales += "</tr>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel14')\" onMouseOut=\"imgOff2('yel14')\"><img name='yel14' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/aditivi/11g22.htm\">11G22 - NOU</a>";
		strSales += "</td>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
	strSales += "</tr>";strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel15')\" onMouseOut=\"imgOff2('yel15')\"><img name='yel15' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/aditivi/pdfm.htm\">PDFM</a>";
		strSales += "</td>";
	strSales += "</tr>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
	strSales += "</table></div>"
	document.write(strSales);

	//Third Menu
	strSales = "<div id=\"imgSeedlayer\" style=\"position: absolute; top: 66px; left: " + (start+498) + "px; visibility: hidden; z-index: 100;\" onmouseover=\"overmenu=2;\" onmouseout=\"overmenu=0; menutimeout('imgSeed');\">";
	strSales += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"165\">";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel16')\" onMouseOut=\"imgOff2('yel16')\"><img name='yel16' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/porumb/caracteristici.htm\">Principalele caracteristici</a>";
		strSales += "</td>";
	strSales += "</tr>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td class='smtext' onMouseOver=\"imgOn2('yel17')\" onMouseOut=\"imgOff2('yel17')\"><img name='yel17' src='/images/masthead/yel.gif' height='11' width='11' border='0'>";
		strSales += "<a class='dropmenu' href=\"/romania/porumb/zonarea.htm\">Zonarea hibrizilor de porumb</a>";
		strSales += "</td>";
	strSales += "</tr>";
	strSales += "<tr bgcolor=\"#ffcc66\">";
		strSales += "<td background='/images/masthead/dividerbg.gif' height='5'><img src='/images/masthead/divider.gif'></td>";
	strSales += "</tr>";
	strSales += "</table></div>"
	document.write(strSales);
}

//if, check of ns vs. ie browser
booLLoad = "1";

//this function handles resizing by user: NN4, but not NS6 or NC4.78, was looping...
function reDo()
{
	if(ie)
	{
		if ((document.body.clientWidth != origWidth) || (document.body.clientHeight != origHeight))
		{
			window.location.reload();
		}
	}

	if((ns)||(ns6))
	{
		if ((self.innerWidth != origWidth) || (self.innerHeight != origHeight))
		{
			window.location.reload();
		}
	}
}
//-->