
var variablenews=new Array()

variablenews[0]=['Environmentalists: Repeal La. law against TED enforcement', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120928', '<i>Daily Comet</i>', '"Louisiana needs to show respect for the Endangered Species Act and sea turtle protections that Congress put in place," Carole Allen, Gulf director of SeaTurtles.org, said in a news release Monday. "The image of Louisiana as well as its marine ...']
variablenews[1]=['Loggerhead research shows turtles congregate in same Gulf spots', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120926', '<i>Sarasota Herald-Tribune</i>', 'By Kate Spinner SARASOTA - New research shows that loggerhead sea turtles from different nesting beaches gather to eat in some of the same places, a finding that could lead to better protections for turtle habitat at sea.']
variablenews[2]=['Satellite tracking reveals sea turtle feeding hotspots', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120923', '<i>Science Codex</i>', 'Satellite tracking of threatened loggerhead sea turtles has revealed two previously unknown feeding \'hotspots\' in the Gulf of Mexico that are providing important habitat for at least three separate populations of the turtles, according to a study ...']
variablenews[3]=['Louisiana is Killing Sea Turtles', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120922', '<i>Fly Rod & Reel Magazine (blog)</i>', 'Baton Rouge - Twenty-six conservation organizations representing more than 14 million members have joined forces to demand that Louisiana Governor Bobby Jindal repeal a 25-year-old law that dooms sea turtles in his state\'s waters.']
variablenews[4]=['Promoters hope to return offshore powerboat racing to Jupiter area', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120917', '<i>Palm Beach Post</i>', 'Manatees and sea turtles must be protected. "We need our permits by the end of April to make this happen," said Scafidi, 47, a Jupiter resident who races powerboats.']
variablenews[5]=['New Magnetic Soap Could Clean Oil Spills With No Suds Left Behind', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120838', '<i>Popular Science</i>', 'Oil Spill Cleanup Sea turtle experts clean a small Kemp\'s ridley turtle with a toothbrush in June 2010, during the Deepwater Horizon oil spill.']
variablenews[6]=['Manatee and sea turtles sick from red tide', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120836', '<i>Local 10</i>', '-A manatee, believed to be affected by red tide, was rescued Tuesday from Bonita Springs and is now being treated at the Miami Seaquarium.']
variablenews[7]=['Wildlife Is on the Losing End of Our Addiction', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120830', '<i>Huffington Post (blog)</i>', 'The tragic BP Horizon disaster killed humans and wildlife, such as the Kemp\'s ridley sea turtle -- nominated by Sea Turtle Restoration Project. The Kemp\'s ridley is the most endangered sea turtle and only breeds in Gulf waters.']
variablenews[8]=['Marco Island Beach Advisory Committee: Beach laser grading, south beach ...', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120814', '<i>Marconews</i>', 'After the permitting process, grading would begin but not during sea turtle nesting season. Grading would restore a positive grade to the beach.']
variablenews[9]=['Gulf World saves turtle pair', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120783', '<i>Walton Sun</i>', 'Two dinner plate-sized sea turtles, who were swept up and injured during sand dredging for the recent beach renourishment project, have been saved.']
variablenews[10]=['Meet the UAE\'s green heroes', 'http://www.seaturtle.org/cgi-bin/news/jump.cgi?ID=120764', '<i>gulfnews.com</i>', 'Al Suweidi says the EMEG recorded more than 322 nests of critically endangered hawksbill turtle and two nests of green turtle on the beaches of the Sir Bu Nair island in 2010. In 2011, though no green turtle nests were spotted, the group found 376 ...']


//configure the below 3 variables to set the dimension/background color of the slideshow

if (newswidth==undefined || newswidth<380) var newswidth=380;
if (newsbgcolor==undefined) var newsbgcolor='#FFC';
if (newscolor==undefined) var newscolor='#000';
if (newsborder==undefined) var newsborder='#090';
if (newsfont==undefined) var newsfont=12;
if (newsdelay==undefined || newsdelay<5000) var newsdelay=5000;
var contentwidth=newswidth-95;
var newsfont2=newsfont-2;
var newslineheight=newsfont+5;
var headline = 'Latest News';
var id = 'o';

////Do not edit pass this line////////////////

if (document.domain.search("seaturtle.org") || document.domain.search("gturtle"))
	var domain = '';
else
	var domain = 'Sea Turtle ';

if (!headline) headline = 'Headlines';

document.write('<div style="width:'+newswidth+'px;height:'+newslineheight+'px;border: 1px solid '+newsborder+';background-color:'+newsbgcolor+';overflow:hidden;line-height:'+newslineheight+'px;text-align:left;"><a href="http://www.seaturtle.org/news/" style="width:85px;color:'+newscolor+';font-family:helvetica;font-size:'+newsfont+'px;padding-left:5px;padding-right:5px;border-right: 2px solid '+newsborder+';">'+domain+headline+'</a><span style="margin-left:5px;font-family:helvetica;font-size:'+newsfont2+'px;" id="news'+id+'"></span></div>');

var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

var currentnews=0

function rotateimages2(){
newscontainer=''
if (variablenews[currentnews][1]!="")
	newscontainer+='<a href="'+variablenews[currentnews][1]+'" title="'+variablenews[currentnews][3]+'" target="new">'+variablenews[currentnews][0]+'</a>'
newscontainer+=''
if (variablenews[currentnews][2]!="<i></i>")
  newscontainer+=' - '+variablenews[currentnews][2]

crossrotateobjo.innerHTML=newscontainer
if (currentnews==variablenews.length-1) currentnews=0
	else currentnews++
	setTimeout("rotateimages2()",newsdelay)
}

//if (ie||dom)
//document.write('<div id="newsdom" style="position:relative;width:'+newswidth+';height:'+newsheight+'; background-color:'+newsbgcolor+'"></div>')

function start_slider2(){
crossrotateobjo=document.getElementById('news'+id)
if (document.layers)
	crossrotateobjo.visibility="show"
	rotateimages2()
}

if (ie||dom)
	start_slider2()
else
	window.onload=start_slider2

