/* Sequence order is based on the Array order further down page.
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt). Keep this notice intact.
Visit http://www.dynamicdrive.com for script*/


foster = 'St Petersburg Mayor Bill Foster (center) meets with (left to right) Florida PBA lobbyist Gary Bradford, PBA Executive Director David Murrell and State Law Enforcement Officers Chapter President Matt Tyre at the Capitol.'
putnam = 'Florida PBA proudly endorses Congressman Adam Putnam for Commissioner of Agriculture.'
rollcall = '<br> <a href="http://www.flpba.org/pdf/rollcall/RollCall2010-06/rollcall.php"> Enjoy reading the current issue of <i>Roll Call.</a></i>'
crist = 'Florida PBA proudly endorses Governor Charlie Crist for US Senate. Governor Crist is a long time friend of law enforcement, correctional, and correctional probation officers.'
sink = 'Florida PBA proudly endorses CFO Alex Sink for Governor.'
aronberg = 'Florida PBA proudly endorses Senator Dave Aronberg for Attorney General in the Democratic Primary.'
ausley = 'Florida PBA proudly endorses Representative Loranne Ausley for Chief Financial Officer.'
kottkamp = "Florida PBA proudly endorses Lt. Governor Jeff Kottkamp for Attorney General in the Republican Primary."




//DDay = '<p align="center" ><font size="5" face="Arial">Threats to our Pensions update</font><font align="center" color="#FF0000" face="Arial Black" size = "5"><b> </b></font></p>Messsage from Florida PBA President John Rivera,<br>and response from Speaker of the House, Larry Cretul<br><a  href="/dday.php" >Click here to view</a>'
//Pres = 'State Law Enforcement Officers, Correctional Officers and Correctional Probation Officers Joint Resolution <br> <a target="_blank" href="http://www.flpba.org/pdf/FLPBA/Resolution.pdf"> Download Joint Resolution Here </a> '//<br> <br> <b><font  color="#800000">  Now we need your help to drive this point home to the Senate and House floor.</b> </font><br><a target="_blank" href="http://www.flpba.org/pdf/FLPBA/LegislativeConnection.pdf">Click here for the Legislative Connection list of both the Florida House and Florida Senate (pdf file) </a><br><br> 
//memorial = 'On March 9, 2009 the Florida PBA Law Enforcement Memorial was dedicated at the Capitol. '
//baker = "Florida PBA lobby team poses with Senator Carey Baker (third from left) outside the Senate Criminal Justice Committee after passage of SB 612."
//domino = "Representative Carl Domino (on right) converses with PBA lobbyist Gary Bradford and Florida PBA Treasurer Ernie George across from the Capitol."
//mcneil = "DOC Secretary Walt McNeil (right) meets with Florida Correctional Probation Officers Chapter President Mark Alfieri outside the Senate Office Building."
//Warning = '<p align="center" style="margin-left: 2px; margin-right: 2px"><b><font size = "4" color = red>FLPBA President John Rivera <br>warns public to defend themselves.</p></font></b><p align="left" style="margin-left: 2px; margin-right: 2px">Florida Police Benevolent Association held a news conference in Tallahassee on Thursday, April 23, 2009 warning the public that the current budget proposal will jeopardize public safety. <br><br> <a href="http://www.flpba.org/video/2009-04-24WCTV_-ArmYourselves.wmv">Click here to watch the clip from WCTV Tallahassee. </a>(requires Windows Media Player)</p>'
//Julie = '<p>The Florida PBA congratulates Col. Julie Jones on her appointment as the Executive Director for the Division of Highway Safety and Motor Vehicles.</p>'
//boardmeet = 'Senator Mike Fasano and his Legislative Aide Greg Giordano receive the 2009 Senator of the Year and  Legislative Assistant of the Year Awards on October 10th. Left to right: FPBA Treasurer Ernie George, Deputy Executive Director Matt Puckett, Executive Director David Murrell, President John Rivera, Senator Fasano, Mr. Giordano, Secretary Mike Clifton, VP for Services Mike McHale and Senior VP Dick Brickman. <a href="boardmeet/meeting.php">(More photos)</a>'
//SWprotest = '<b><span style="font-size: 12.0pt; font-family: Arial,sans-serif; color: red">Southwest Florida PBA protests outside city hall </span></b> <br><br> "The men and women who are providing the level of public safety need your help. We need the public to help. Its our 911 call to the public to get the support which is necessary to put our police department back to the level that we feel is a safe level to provide this service," Southwest Florida PBA President Mick McHale. <br><br> <a target="_blank" href="/news/news.php?article=97"> Click here for more on the story </a> '
//<br> <br> <b><font  color="#800000">  Now we need your help to drive this point home to the Senate and House floor.</b> </font><br><a target="_blank" href="http://www.flpba.org/pdf/FLPBA/LegislativeConnection.pdf">Click here for the Legislative Connection list of both the Florida House and Florida Senate (pdf file) </a><br><br> 


g_fPlayMode = 0;
g_iimg = -1;
g_imax = 0;
g_ImageTable = new Array();

function ChangeImage(fFwd)
{
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
}

function getobject(obj){
if (document.getElementById)
return document.getElementById(obj)
else if (document.all)
return document.all[obj]
}

function Update(){
getobject("_Ath_Slide").src = g_ImageTable[g_iimg][0];
getobject("_Ath_FileName").innerHTML = g_ImageTable[g_iimg][1];
getobject("_Ath_Img_X").innerHTML = g_iimg + 1;
getobject("_Ath_Img_N").innerHTML = g_imax;
}


function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = true;
Next();
}
else 
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;

}
}
function OnImgLoad()
{
if (g_fPlayMode)
window.setTimeout("Tick()", g_dwTimeOutSec*1500);
}
function Tick() 
{
if (g_fPlayMode)
Next();
}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}


////configure below variables/////////////////////////////OfficerDownMemorialInvitation1.jpg

////////!!!!!!!!!!! THE BELOW IS THE SLIDE SEQUENCE ORDER !!!!!!!!!!!!!!/////////////MemorialOfcDwn.jpg
//////////////////// The first is slide 1 not what the name is (ie Third)

//configure the below images and description to your own. 

g_ImageTable[g_imax++] = new Array ("pics/crist_endor.jpg", crist);
g_ImageTable[g_imax++] = new Array ("pics/slide/AlexSink.jpg", sink);
g_ImageTable[g_imax++] = new Array ("pics/slide/DaveAronberg.jpg", aronberg);
g_ImageTable[g_imax++] = new Array ("pics/slide/LoranneAusley.jpg", ausley);
g_ImageTable[g_imax++] = new Array ("pics/slide/JeffKottkamp.jpg", kottkamp);
g_ImageTable[g_imax++] = new Array ("pics/slide/AdamPutnam.jpg", putnam);
g_ImageTable[g_imax++] = new Array ("pics/slide/Foster.jpg", foster);
g_ImageTable[g_imax++] = new Array ("pdf/rollcall/RollCall2010-02/MASTHEAD%20Feb%202010.jpg", rollcall);




//extend the above list as desired
g_dwTimeOutSec=6

////End configuration/////////////////////////////

if (document.getElementById||document.all)
window.onload=Play