//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=500;

//scroller's height
var sheight=20;

//scroller's speed 
var sspeed=3;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause 
var spause=8000;

//scroller's background
var sbcolor="#ccffcc";

var singletext=new Array();
singletext[0]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://sdin-ngo.net/outreachissues/pdf/csd17-outreachissues.pdf">CSD 17 Special Issue of Outreach Issues</td></tr></table>';
singletext[1]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://sdin-ngo.net/csd/csd17-ngo-dialogue-090512.php">CSD 17 - NGO Presentation - Dialogue with Major Groups</a> - 12 May 2009</td></tr></table>';
singletext[2]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://sdin-ngo.net/csd/csd17-ngo-090227.php">CSD 17 IPM - NGO Intervention</a> - 27 Feb 2009</td></tr></table>';
singletext[3]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://sdin-ngo.net/csd/csd17-ngo-africa-090227.php">CSD 17 IPM - NGO Statement on Africa</a> - 27 Feb 2009</td></tr></table>';
singletext[4]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://www.sdin-ngo.net/csd/csd17-ngo-desertification-090226.php">CSD 17 IPM - Desertification: NGO Intervention</a> - 26 Feb 2009</td></tr></table>';
singletext[5]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://www.sdin-ngo.net/csd/csd17-ngo-land-090225.php">CSD 17 IPM - Land: NGO Intervention</a> - 25 Feb 2009</td></tr></table>';
singletext[6]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://www.sdin-ngo.net/csd/csd17-ngo-ruraldev-090224.php">CSD 17 IPM - Rural Development: NGO Intervention</a> - 24 Feb 2009</td></tr></table>';
singletext[7]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://www.sdin-ngo.net/csd/csd17-ngo-agriculture-090224.php">CSD 17 IPM - Agriculture: NGO Intervention</a> - 24 Feb 2009</td></tr></table>';
singletext[8]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://www.sdin-ngo.net/csd/csd17-ngo-090223.php">CSD 17 IPM - NGO Opening Statement</a> - 23 Feb 2009</td></tr></table>';
singletext[9]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>SDIN & CSD:</strong> <a href="http://sdin-ngo.net/csd/sdin-csd.php">CSD 17 Major Groups Priorities for Action</a> - 24 Nov 2008</td></tr></table>';
singletext[10]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>Publications:</strong> <a href="http://www.agassessment.org/docs/SR_Exec_Sum_280508_English.pdf" target=_link>IAASTD Synthesis Report on Agriculture and Development</a> - April 2008</td></tr></table>';
singletext[11]='<table CELLSPACING="0" CELLPADDING="0"><tr><td height="10px"><table><tr><td><strong>Events:</strong> <a href="http://sdin-ngo.net/films/falsepromiseofbiofuels.php">The False Promise of Biofuels</a> - September 2007</td></tr></table>';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){
if(document.getElementById){ns6div=document.getElementById('newsscroller');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=newsscroller;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
//-- end Algorithm -->
