<!--
// please keep this text when you copy the source code
// made by Ragecreations version 0.1

//Get Date
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900;

//Get Time
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes()
var timeValue = "" + ((hours >12) ? hours -12 :hours)
if (timeValue == "0") timeValue = 12;
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += (hours >= 12) ? " pm" : " am"

// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 2000;

// Set the duration of crossfade (in seconds)
//var CrossFadeDuration = 2;
var CrossFadeDuration = 200;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]   = 'images/spacer.gif';
Picture[2]   = 'images/spacer.gif';
Picture[3]   = 'images/spacer.gif';
Picture[4]   = 'images/spacer.gif';
Picture[5]   = 'images/spacer.gif';
Picture[6]   = 'images/spacer.gif';
Picture[7]   = 'images/spacer.gif';
Picture[8]   = 'images/spacer.gif';
Picture[9]   = 'images/spacer.gif';
Picture[10]   = 'images/spacer.gif';
Picture[11]   = 'images/spacer.gif';
Picture[12]   = 'images/spacer.gif';

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1] = "<strong>Fact:</strong> Since 1973, 123 people in 25 states have been released from death row with evidence of their innocence.";
Caption[2] = "<strong>Fact:</strong> Since 1989, 184 people have been exonerated by post-conviction DNA testing.";
Caption[3] = "<strong>Fact:</strong> A 2005 study of all exonerations - DNA and non-DNA, death row and non-death row - has found that more than 350 people have been wrongfully convicted and subsequently exonerated in the US since 1989.  <a href=\"http://www.law.umich.edu/NewsAndInfo/exonerations-in-US.pdf\" target=\"_blank\">Click here<\/a> to read the report.";
Caption[4] = "<strong>Fact:</strong> 200 people have now been exonerated by post-conviction DNA testing.";
Caption[5] = "<strong>Fact:</strong> The first DNA exoneration took place in 1989. Exonerations have been won in 31 states; in 2006, there were 18 exonerations.";
Caption[6] = "<strong>Fact:</strong> 14 DNA exonerees were at one time sentenced to death or served time on death row.";
Caption[7] = "<strong>Fact:</strong> The average length of time served by those exonerated by DNA testing is 12 years.";
Caption[8] = "<strong>Fact:</strong> The true suspects and/or perpetrators have been identified in more than a third of the DNA exoneration cases.";
Caption[9] = "<strong>Fact:</strong> Since 1989, there have been tens of thousands of cases where prime suspects were arrested or indicted – until DNA testing (prior to trial) proved that they were wrongly accused.";
Caption[10] = "<strong>Fact:</strong> In more than 25% of cases in a National Institute of Justice study, suspects were excluded once DNA testing was conducted during the criminal investigation (the study, conducted in 1995, included 10,060 cases where testing was performed by FBI labs).";
Caption[11] = "<strong>Fact:</strong> 21 states, the federal government and the District of Columbia have passed laws to compensate people who have been exonerated. Awards under these statutes vary greatly.";
Caption[12] = "<strong>Fact:</strong> Of the 198 exonerees there are: 119 African Americans, 54 Caucasians, 19 Latinos, 1 Asian American, 5 exonerees whose race is unknown.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1; 
if (how=="E") jss = 11;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}

function slide(number){
		if (number=="1")  {jss=8; automatecontrol();clearInterval(autoctl);} // jss should equal to last number of slide
		if (number=="2")  {jss=1; automatecontrol();clearInterval(autoctl);}
		if (number=="3")  {jss=2; automatecontrol();clearInterval(autoctl);}
		if (number=="4")  {jss=3; automatecontrol();clearInterval(autoctl);}
		if (number=="5")  {jss=4; automatecontrol();clearInterval(autoctl);}
		if (number=="6")  {jss=5; automatecontrol();clearInterval(autoctl);}
		if (number=="7")  {jss=6; automatecontrol();clearInterval(autoctl);}
		if (number=="8")  {jss=7; automatecontrol();clearInterval(autoctl);}		
}

function startauto(){
	control('F');
	autoctl=setInterval('automatecontrol()',6000);
}
function automatecontrol(){
	control('F');
}

function backone(){ // go back one slide
	control('B');
}

function backhome(){ // go to first slide
	control('H');
}

function end(){ // go to last slide
	control('E');
}

function autoctlstop(){
	clearInterval(autoctl);
}

//-->

