Attitude Foods
Thank you for ordering from Attitude Foods. If there is a problem with your order we will contact you shortly.
If you would like to order another item from Attitude Foods Please click Here. You will not have to re-choose a prepare date as we will know that your orders are linked together.
.
* --------------------------------------------------
*/
var urlArray = new Array(3); //for URL's, increase size as necessary
var banArray = new Array(3); //for banners, increase size as necessary
var counter = 1;
var url = "http://javascript.internet.com"; //initial URL
//add your necessary URL's
urlArray[0] = "http://javascript.internet.com";
urlArray[1] = "http://www.semlist.com";
urlArray[2] = "http://www.esecurityplanet.com";
if(document.images) //pre-load all banner images
{
for(i = 0; i < 3; i++)
{
banArray[i] = new Image(468, 60);
banArray[i].src = "banners/banner" + (i+1) + ".jpg";
}
}
function changeBanner() //banner changer function
{
if(counter > 2)
counter = 0;
document.banner.src = banArray[counter].src; //sets a new banner
url = urlArray[counter]; //sets a new URL to the banner
counter++; //increase the counter for the next banner
}
//calls the changeBanner() function every 3 seconds
//change the timer as necessary (minutes * 60000) or (seconds * 1000)
var timer = window.setInterval("changeBanner()", 3000);
//-->