captions = new Array("","<br><br><b>The kids are alright!</b><br>You must be 16 years or younger to submit a video or image.", "<br><b>Hi Mom!</b> <br>Parental permission is a must.&nbsp; All videos and pictures must be approved by  your parents, so be ready to send us an email address for a parent or legal guardian of each kid in a video or photo. Only 5 kids or less in each video or photo, please.", "<br><br><b>Spread the love!</b> <br>Avoid violence or hateful speech.", "<br><br><b>Time is money!</b><br> All videos must be two minutes or  shorter.", "<br><b>Good things come in  small packages!</b> <br>Videos should be under 100MB. Images should be smaller than 200K and should no greater than 300 pixels wide or 232 pixels tall.", "<br><br><b>Be original! </b><br>Make sure you submit your OWN  work, not somebody else's.", "<br><br><b>Use your tools!</b><br> See below for important tips on how  to make a buzz-worthy work of art.", "<br><b>Be a good sport!</b><br> We can't post everyone's  submission, unfortunately. Check out the rules and come back often to see if you made the cut!", "<br><b>And...<br><br>Protect your secret identity! </b><br>Don't show or say any personally identifiable information in your submission. No full  names, street signs, email addresses, school names, etc. ", "<b>That’s it!</b><br>Now use your tools to get started!");

lessons = new Array();
lessons[0] = new Image();
lessons[0].src = "images/Next.gif";
lessons[1] = new Image();
lessons[1].src = "images/Next.gif";
lessons[2] = new Image();
lessons[2].src = "images/Previous_Next.gif";
lessons[3] = new Image();
lessons[3].src = "images/Previous.gif";

curr = 1;

function bNext() {
	if (curr >= captions.length - 1 ) curr = 0;
	if (curr >= captions.length - 2 ) document.fd.src = lessons[3].src;
	else{document.fd.src = lessons[2].src;}
	++curr;
	document.getElementById("toutText").innerHTML = captions[curr];
	

}

function bPrevious() {
	if (curr <= 1) curr = captions.length;
	if (curr <= 2 ) document.fd.src = lessons[1].src;
	else{document.fd.src = lessons[2].src;}
	
	--curr;
	document.getElementById("toutText").innerHTML = captions[curr];

}
