
//slider's width
var swidth=281

//slider's height
var sheight=230

//slider's speed
var sspeed=2

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array()

singletext[0]='<div align="center"><font face=Verdana size=2 color="#315904"><b>Palm tree value chain improvement project <br>in Morocco<br>Call for cooperation <b><br><a target="_blank" href="http://www.aarinena.org/documents/vacancies/sofreco.asp"><i><font color="red">See details</i></a></div></FONT>'
singletext[0]=singletext[0]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b>AARINENA Biotechnology Network<br>Discussion on the <br>generation of transgenic cereals<br>for the WANA region  <b><br>2March-2April, 2010<br><a target="_blank" href="http://www.aarinena.org/links/aarinena_biotechnology_network.htm"><i><font color="red">Join the AARINENA discussion forum</i></a></div></FONT>'

singletext[1]='<div align="center"><font face=Verdana size=2 color="#315904"><b>WANA Region Report<br>in AARINENA parallel session<br> at the Agricultural Biotechnologies<br>in Developing Countries Conference  <b><br>Guadalajara, Mexico <br>1-4 March 2010<br><a target="_blank" href="http://www.aarinena.org/documents/wana+bio+2010.ppt"><i><font color="red">See final report</i></a></div></FONT>'
singletext[1]=singletext[1]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b>Report on the<br>International Workshop on <br>Fast Growing Economies Role<br>In Global Agricultural Research  <b><br>for Development<br>Beijing, China<br>February 8-10, 2010<br>prepared by:<br>Dr. Ahmad Shukri Al-Rimawi<br>AARINENA representative<br><a target="_blank" href="http://www.aarinena.org/documents/conferences/chinareport.pdf"><i><font color="red">See the report</i></a></div></FONT>'

singletext[2]='<div align="center"><font face=Verdana size=2 color="#315904"><b><br>2nd Announcement: <br>4th International Date Palm Conference <br>Abu Dhabi, United Arab Emirates <br>15 - 17 March, 2010<br><a target="_blank" href="http://www.aarinena.org/rais/documents/Datepalm/Conferences/4th+FIDPC +2nd+ Announcement.pdf"><i><font color="red">see details</i></a></div></FONT>'
singletext[2]=singletext[2]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b><br>Minutes of <br>AARINENA Executive Committee Meeting <br>Alexandria-Egypt <br>12 November, 2009<br><a target="_blank" href="http://www.aarinena.org/rais/documents/exco/EXCO_minutes_Alexandria_Nov_2009.pdf"><i><font color="red">see details</i></a></div></FONT>'

singletext[3]='<div align="center"><font face=Verdana size=2 color="#315904"><b><br>DRAFT FINAL REPORT<br>Face-2-Face Workshop<br>Regional Consultations<br> WANA Region <br><a target="_blank" href="http://www.aarinena.org/documents/meetings/F2FmeetingGCARD/DRAFT final report F2F WANA.pdf"><i><font color="red">see details</i></a></div></FONT>'
singletext[3]=singletext[3]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b>SUMMARY REPORT <br>Face-2-Face Workshop <br>Regional Consultations<b><br>WANA Region<br><a target="_blank" href="http://www.aarinena.org/documents/meetings/F2FmeetingGCARD/summary+report+F2F+WANA.pdf"><i><font color="red">see details</i></a></div></FONT>'

singletext[4]='<div align="center"><font face=Verdana size=2 color="#315904"><b>Agricultural Biotechnologies<br>in Developing Countries Conference  <b><br>Guadalajara, Mexico <br>1-4 March 2010<br><a target="_blank" href="http://www.fao.org/biotech/abdc/conference-home/en/"><i><font color="red">see details</i></a></div></FONT>'
singletext[4]=singletext[4]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b>Vacancies announced by <br>Kuwait Institute for Scientific Research(KISR)<br><a target="_blank" href="http://www.aarinena.org/documents/KisrV.asp"><i><font color="red">see details</i></a></div></FONT>'

singletext[5]='<div align="center"><font face=Verdana size=2 color="#315904"><b>Final summary of E-Consultation  <b><br>West Asia and North Africa(WANA)Region<br><a target="_blank" href="http://www.aarinena.org/Final_summary_econsultation.pdf"><i><font color="red">see details</i></a></div></FONT>'
singletext[5]=singletext[5]+'<br><br><br>'+'<div align="center"><font face=Verdana size=2 color="#315904"><b>WANA Regional review  <b><br><a target="_blank" href="http://www.aarinena.org/documents/meetings/F2FmeetingGCARD/WANA_Regional_review.pdf"><i><font color="red">see details</i></a></div></FONT>'










if (singletext.length>1)
i=1
else
i=0
function start(){
if (document.all){
ieslider1.style.top=sheight
iemarquee(ieslider1)
}
else if (document.layers){
document.ns4slider.document.ns4slider1.top=sheight
document.ns4slider.document.ns4slider1.visibility='show'
ns4marquee(document.ns4slider.document.ns4slider1)
}
else if (document.getElementById&&!document.all){
document.getElementById('ns6slider1').style.top=sheight
ns6marquee(document.getElementById('ns6slider1'))
}
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
iediv.style.pixelTop=0
setTimeout("iemarquee(iediv)",100)
}
if (iediv.style.pixelTop>=sheight*-1){
iediv.style.pixelTop-=sspeed
setTimeout("iemarquee(iediv)",100)
}
else{
iediv.style.pixelTop=sheight
iediv.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
if (ns4layer.top>0&&ns4layer.top<=sspeed){
ns4layer.top=0
setTimeout("ns4marquee(ns4layer)",100)
}
if (ns4layer.top>=sheight*-1){
ns4layer.top-=sspeed
setTimeout("ns4marquee(ns4layer)",100)
}
else{
ns4layer.top=sheight
ns4layer.document.write(singletext[i])
ns4layer.document.close()
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
ns6div.style.top=0
setTimeout("ns6marquee(ns6div)",100)
}
if (parseInt(ns6div.style.top)>=sheight*-1){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6marquee(ns6div)",100)
}
else{
ns6div.style.top=sheight
ns6div.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
//  End 




function initArraydate()    {
   for(j=0;j<initArraydate.arguments.length; j++) this[j] = initArraydate.arguments[j];
}

var isnMonths=new initArraydate("J a n","F e b","M a r","A p r","M a y","J u n","J u l","A u g","S e p","O c t","N o v","D e c");
var isnDays= new initArraydate("S u n d a y","M o n d a y","T u e s d a y","W e d n e s d a y","T h u r s d a y","F r i d a y","S a t u r d a y","S u n d a y");
today=new Date();
function getFullYear(d) { // d is a date object
 yr = d.getYear();
 if (yr < 1000)
  yr+=1900;
 return yr;
}
////
/////////////////////////////////////////////////insert


