/*
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
*/


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_Slide").innerHTML = 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 = false;
Next();
}
else 
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;

}
}
function OnImgLoad()
{

}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}


////configure below variables/////////////////////////////

//configure the below images and description to your own. 
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/election-scams/election-220x220-1.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td colspan=\"2\"></td></tr><tr><td class=\"shSubheadblue\" colspan=\"2\" height=\"25\">Phishing e-mails and Web sites.<br /></td></tr><tr><td><span class=\"interactive\">Of the voter registration scams reported to individual Better Business Bureaus, Cox says the majority have been conducted online, mostly via phishing e-mails.<br><br>\"The phishing e-mail usually takes one of three forms: It's either offering an opportunity to register to vote, or it's asking you to confirm your registration or noting that there's a problem with your registration,\" he says.</span></td></tr></table>");

g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/election-scams/election-220x220-2.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td colspan=\"2\"></td></tr><tr><td class=\"shSubheadblue\" colspan=\"2\" height=\"25\">Vishing phone calls.<br /></td></tr><tr><td><span class=\"interactive\">The second most common technique, Cox says, is the fraudulent phone call. Phishing scams done at least partly over the phone are also known as \"vishing\" scams. The pretext for the unsolicited call is much the same -- an offer to help you register, confirm your registration or resolve a problem with it.</span></td></tr></table>");

g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/election-scams/election-220x220-3.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td colspan=\"2\"></td></tr><tr><td class=\"shSubheadblue\" colspan=\"2\" height=\"25\">In person.<br /></td></tr><tr><td><span class=\"interactive\">Less common is a face-to-face approach, Cox says. Legitimate voter registration drives do sometimes go door-to-door to register new voters, so the best defense if you're contacted in this manner is to ask solicitors for proof of affiliation with their organization and turn in the registration form yourself.<br><br>Most, but not all, states require voter groups to register and carry ID for their group, says Rosemary Rodriguez, chair of the U.S. Election Assistance Commission. \"I think the failsafe way for voters to control their information is simply to accept the form and turn it in themselves if they have any questions,\" she says.</span></td></tr></table>");

g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/election-scams/election-220x220-4.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td colspan=\"2\"></td></tr><tr><td class=\"shSubheadblue\" colspan=\"2\" height=\"25\">Postal mail.<br /></td></tr><tr><td><span class=\"interactive\">While the approach isn't as common as vishing calls and phishing e-mails, Wood says the FTC has received least one complaint from someone approached through postal mail and asked to provide personal or financial information relating to voter registration.</span></td></tr></table>");


//extend the above list as desired
g_dwTimeOutSec=1

////End configuration/////////////////////////////

if (document.getElementById||document.all)
window.onload=Play


