
window.onerror = null;
 var bName = navigator.appName;
 var bVer = parseInt(navigator.appVersion);
 var NS4 = (bName == "Netscape" && bVer >= 4);
 var IE4 = (bName == "Microsoft Internet Explorer" 
 && bVer >= 4);
 var NS3 = (bName == "Netscape" && bVer < 4);
 var IE3 = (bName == "Microsoft Internet Explorer" 
 && bVer < 4);
 var i=2;
 var top_pos = 1;
 var left_pos = 10;
 var time_length = 2600;
 var div_name = "qiksearch";
 var ticker_msg = new Array(
     "Rice co Welcomes",
     "The Rice Corp",
     "The Rice Co",
     "The Rice company",
     "Riceco Grains",
     "Riceco Feeds",
     "Riceco Beans",
     "Riceco Pulses",
     "Riceco Sugar",
     "Riceco Coffee",
     "Riceco Spices",
     "Ingredients",
     "Riceco Lactic",
     "Riceco EdibleOils",
     "Riceco OilSeeds",
     "Commodities",
     "Services",
     "Trading",
     "trc shipping",
     "TradeFinance",
     "At yr service" );

 var ticker_url = new Array(
     "/",
     "http://riceco.com/business",
     "http://riceco.com/services",
     "http://riceco.com/rice",
     "http://riceco.com/grains",
     "http://riceco.com/feeds",
     "http://riceco.com/pulses",
     "http://riceco.com/pulses",
     "http://riceco.com/sugar",
     "http://riceco.com/coffee",
     "http://riceco.com/spices",
     "http://riceco.com/rawmaterials",
     "http://riceco.com/dairy",
     "http://riceco.com/foodoils",
     "http://riceco.com/oilseeds",
     "http://riceco.com/commodities",
     "http://riceco.com/services",
     "http://riceco.com/business",
     "http://riceco.com/services",
     "http://riceco.com/services/trade-finance",
     "http://riceco.com/services/" );

var ticker_len = ticker_msg.length;

for(var l=0; l<ticker_len; l++)
{
document.write('<div id="' + div_name + l + '" style="position:absolute; visibility:hidden; left:' + left_pos + '; left:' + left_pos + '">' + '<table bgcolor="#008000" cellspacing="0" cellpadding="0" width="120"><tr><td><table width="100%" bgcolor="#FFFFFF"><tr><td><left><b><a href="' + ticker_url[l] + '" class="tick">' + ticker_msg[l] + '</left></a></b></td>');
document.write('</tr></table></td></tr></table>' + '</div>');
}

if (NS4 || IE4) {
 if (navigator.appName == "Netscape") {
 layerStyleRef="layer.";
 layerRef="document.layers";
 styleSwitch="";
 }else{
 layerStyleRef="layer.style.";
 layerRef="document.all";
 styleSwitch=".style";
 }
}

//SCROLL
function tick(){
if (NS4 || IE4) {
 if(i<ticker_len)
 {
  if(i==0)
  { 
   eval(layerRef+'["'+div_name+(ticker_len-1)+'"]'+
   styleSwitch+'.visibility="hidden"');
  }
  if(i>0)
  { 
   eval(layerRef+'["'+div_name+(i-1)+'"]'+
   styleSwitch+'.visibility="hidden"');
  }
 eval(layerRef+'["'+div_name+i+'"]'+
 styleSwitch+'.visibility="visible"');
 }
 if(i<ticker_len-1)
 {
 i++;
 }
 else
 {
 i=0;
 }
 setTimeout("tick()",time_length);
 }
}

tick();

// end trcmenu.js


