

// Global Variable
var SpotLightTxtIS = new Array()
var SpotLightWinIS = new Array()
var SpotLightTxtWinsIS = new Array()
var WinTitleIS;
var TipTitleIS;
var WinsTipTitleIS;
var ImageMarkerIS = 0;
var NumberCountIS;

// Image Slide Show Array Start
// Place Images Here
SpotLightWinIS[0] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
SpotLightWinIS[1] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
SpotLightWinIS[2] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
SpotLightWinIS[3] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
SpotLightWinIS[4] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
SpotLightWinIS[5] = "<strong>Kudos</strong> to our weekly prize winners! Click next to view these useful tips";
// Image Slide Show Array Ends

// Text Slide Show Array Start
// Place Text Here 
SpotLightTxtIS[1] = "Keep a picture of the goal you are saving towards. Whether it be a summer getaway, a vehicle, or a wedding, seeing a picture of your goal every day will encourage you to keep saving and curb spending!";
SpotLightTxtIS[2] = "No more impulse buying - I think about the purchase for 24 hours and if I decide against buying it I put the purchase price in my piggy bank. Every few months I have hundreds of dollars to put in the bank.";
SpotLightTxtIS[0] = "Check out your local colleges and trade schools. Sudents need the practice and you can get great discounts on services and products such as facials, massages, haircuts, baked goods and gourmet meals.";
SpotLightTxtIS[3] = "Save what you saved. When you save money on groceries or other purchases decide to put away half of that savings into a vacation fund. You won't notice it missing and it adds up fast.";
SpotLightTxtIS[4] = "Sign up for email alerts from your favorite stores, restaurants and brands. I get dollars off and bogo coupons, samples, coupons for 25% off not offered to general public and alerts when sales are coming.";
SpotLightTxtIS[5] = "Instead of traveling out of town and spending money on transportation and hotels, my family enjoys staycations, enjoying discovering everything our city has to offer.";
// Text Slide Show Array Ends

// Winner Slide Show Array Start
// Place Text Here 
SpotLightTxtWinsIS[1] = "<strong>Inner Saver Secret Week 1: L. Fraser</strong>";
SpotLightTxtWinsIS[2] = "<strong>Inner Saver Secret Week 2: G. Newell</strong>";
SpotLightTxtWinsIS[0] = "<strong>Congratulations to H. Sally!</strong> She is the Grand Prize Winner of $1,000 in the Inner Saver Secrets contest.";
SpotLightTxtWinsIS[3] = "<strong>Inner Saver Secret Week 4: W. Conner</strong>";
SpotLightTxtWinsIS[4] = "<strong>Inner Saver Secret Week 5: M. Dolph</strong>";
SpotLightTxtWinsIS[5] = "<strong>Inner Saver Secret Week 6: D. Lyn</strong>";
// Winner Slide Show Array Ends



function loadinnersaver(){
document.getElementById("count_image_number").innerHTML = 1;
document.getElementById("count_image_max").innerHTML = SpotLightWinIS.length;
document.getElementById("title_rightnav").innerHTML = SpotLightTxtIS[0];
document.getElementById("wins_rightnav").innerHTML = SpotLightTxtWinsIS[0];
document.getElementById("winner_rightnav").innerHTML = SpotLightWinIS[0];

}



// Next Image and Text Start
function NextIS() {
	TipTitleIS = document.getElementById("title_rightnav");
	WinsTipTitleIS = document.getElementById("wins_rightnav");
	WinTitleIS = document.getElementById("winner_rightnav");
	NumberCountIS = document.getElementById("count_image_number");

	if (ImageMarkerIS+1 < SpotLightWinIS.length) ImageMarkerIS++;
	else ImageMarkerIS=0;
	
	TipTitleIS.innerHTML = SpotLightTxtIS[ImageMarkerIS];
	WinsTipTitleIS.innerHTML = SpotLightTxtWinsIS[ImageMarkerIS];
	WinTitleIS.innerHTML = SpotLightWinIS[ImageMarkerIS];
	NumberCountIS.innerHTML = ImageMarkerIS + 1;

}	

// Next Image and Text End

// Previous Image and Text Start
function PreviousIS() {
	TipTitleIS = document.getElementById("title_rightnav");
	WinsTipTitleIS = document.getElementById("wins_rightnav");
	WinTitleIS = document.getElementById("winner_rightnav");
	NumberCountIS = document.getElementById("count_image_number");
	
	if (ImageMarkerIS == 0) ImageMarkerIS = SpotLightWinIS.length-1;
	else ImageMarkerIS = ImageMarkerIS-1;
	
	TipTitleIS.innerHTML = SpotLightTxtIS[ImageMarkerIS];
	WinsTipTitleIS.innerHTML = SpotLightTxtWinsIS[ImageMarkerIS];
	WinTitleIS.innerHTML = SpotLightWinIS[ImageMarkerIS];
	NumberCountIS.innerHTML = ImageMarkerIS + 1;
}
// Previous Image and Text End


