
<!-- Paste this code into an external JavaScript file named: banner.js.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Lee Underwood :: http://javascript.internet.com/ */

var bannerImg = new Array();
  // Enter the names of the images below
  bannerImg[0]="http://www.glutenfreehelp.info/wp-content/pictures/banana-choc-chip-muffins.jpg";
  bannerImg[1]="http://www.glutenfreehelp.info/wp-content/pictures/blueberrypie.jpg";
  bannerImg[2]="http://www.glutenfreehelp.info/wp-content/pictures/browny-muffins.jpg";
  bannerImg[3]="http://www.glutenfreehelp.info/wp-content/pictures/chicken-dish-dried-cherries.jpg";
  bannerImg[4]="http://www.glutenfreehelp.info/wp-content/pictures/chocolate-dream-pie.jpg";
  bannerImg[5]="http://www.glutenfreehelp.info/wp-content/pictures/coconutmacaroons.jpg";
  bannerImg[6]="http://www.glutenfreehelp.info/wp-content/pictures/corncakes.jpg";
  bannerImg[7]="http://www.glutenfreehelp.info/wp-content/pictures/crostini.jpg";
  bannerImg[8]="http://www.glutenfreehelp.info/wp-content/pictures/flourless-brownies.jpg";
  bannerImg[9]="http://www.glutenfreehelp.info/wp-content/pictures/funsicles.jpg";
  bannerImg[10]="http://www.glutenfreehelp.info/wp-content/pictures/gazpacho.jpg";
  bannerImg[11]="http://www.glutenfreehelp.info/wp-content/pictures/gf-flourless-choc.jpg";
  bannerImg[12]="http://www.glutenfreehelp.info/wp-content/pictures/gf-tamale.jpg";
  bannerImg[13]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-chocolate-chip.jpg";
  bannerImg[14]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-crepes.jpg";
  bannerImg[15]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-desert.jpg";
  bannerImg[16]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-flour-mix.jpg";
  bannerImg[17]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-flour-subs.jpg";
  bannerImg[18]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-meal.jpg";
  bannerImg[19]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-mexican-beans.jpg";
  bannerImg[20]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-muffins.jpg";
  bannerImg[21]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-pancakes.jpg";
  bannerImg[22]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-turkey-meatballs.jpg";
  bannerImg[23]="http://www.glutenfreehelp.info/wp-content/pictures/gluten-free-waffles.jpg";
  bannerImg[24]="http://www.glutenfreehelp.info/wp-content/pictures/grahamcrackers.jpg";
  bannerImg[25]="http://www.glutenfreehelp.info/wp-content/pictures/minipoptartsy.jpg";
  bannerImg[26]="http://www.glutenfreehelp.info/wp-content/pictures/new-ones-044.jpg";
  bannerImg[27]="http://www.glutenfreehelp.info/wp-content/pictures/pamelas-muffins.jpg";
  bannerImg[28]="http://www.glutenfreehelp.info/wp-content/pictures/peachpie.jpg";
  bannerImg[29]="http://www.glutenfreehelp.info/wp-content/pictures/persimmons.jpg";
  bannerImg[30]="http://www.glutenfreehelp.info/wp-content/pictures/pizza.jpg";
  bannerImg[31]="http://www.glutenfreehelp.info/wp-content/pictures/quinoacarrotcake.jpg";
  bannerImg[32]="http://www.glutenfreehelp.info/wp-content/pictures/salami-pizza.jpg";
  bannerImg[33]="http://www.glutenfreehelp.info/wp-content/pictures/shredded-beef-or-chicken.jpg";
  bannerImg[34]="http://www.glutenfreehelp.info/wp-content/pictures/small-fruit-tray.jpg";
  bannerImg[35]="http://www.glutenfreehelp.info/wp-content/pictures/vegetables.jpg";
  bannerImg[36]="http://www.glutenfreehelp.info/wp-content/pictures/wafflecone.jpg";
  bannerImg[37]="http://www.glutenfreehelp.info/wp-content/pictures/walnut-energy.jpg";
  bannerImg[38]="http://www.glutenfreehelp.info/wp-content/pictures/whitefishcakes.jpg";
  bannerImg[39]="http://www.glutenfreehelp.info/wp-content/pictures/zucchini-noodles.jpg";
  bannerImg[40]="http://www.glutenfreehelp.info/wp-content/pictures/browniesenergybar.jpg";
  bannerImg[41]="http://www.glutenfreehelp.info/wp-content/pictures/chocolate-mint.jpg";
  bannerImg[42]="http://www.glutenfreehelp.info/wp-content/pictures/vegetablelatke.jpg";

var newBanner = 0;
var totalBan = bannerImg.length;

function cycleBan() {
  newBanner++;
  if (newBanner == totalBan) {
    newBanner = 0;
  }
  document.banner.src=bannerImg[newBanner];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan()", 2*1000);
}
window.onload=cycleBan;
