// JavaScript Document

function bannerRotator1()
{
	var img_width = 300; // fixed width for the images
	var img_height = 250; // fixed height for the images
	
	var limit = 0;
	
	/**
		All the arrays should be linked to their respective
		numbers for the ad to be displayed in sync.
	**/
	
	var links = new Array(); // all links should be kept here
	var imgs = new Array(); // all imgs should be kept here
	var alt_text = new Array(); // all alt text should be kept here
	var extra_text = new Array(); // if you want to put something else at the end of the script, put it here
	
	// links
	links[0] = "http://click.linksynergy.com/fs-bin/click?id=UovKwVqLFPM&offerid=127265.10001035&subid=0&type=4";
	links[1] = "http://www.pjatr.com/t/4-24990-39256-6939";
	links[2] = "http://click.linksynergy.com/fs-bin/click?id=UovKwVqLFPM&offerid=127265.10001089&subid=0&type=4";
	
	// images
	imgs[0] = "http://ad.linksynergy.com/fs-bin/show?id=UovKwVqLFPM&bids=127265.10001035&subid=0&type=4&gridnum=13";
	imgs[1] = "http://www.pjatr.com/b/4-24990-39256-6939";
	imgs[2] = "http://ad.linksynergy.com/fs-bin/show?id=UovKwVqLFPM&bids=127265.10001089&subid=0&type=4&gridnum=13";
	
	// alternative texts
	alt_text[0] = "Gaiam.com, Inc - Eco-Chic Apparel";
	alt_text[1] = "Guaranteed lowest prices!";
	alt_text[2] = "Yoga Gear under $30!";
	
	// extras
	extra_text[0] = "";
	extra_text[1] = "";
	extra_text[2] = "";
	
	/**
		Let's generate a random number for the
		array with a limit of the number of links
	**/
	var rand = Math.floor(Math.random() * links.length);
	
	// display the advertisement
	document.write('<a href="' + links[rand] + '" target="_blank" title="' + alt_text[rand] + '"><img src="' + imgs[rand] + '" alt="' + alt_text[rand] + '" width="' + img_width + '" height="' + img_height + '" /></a>' + extra_text[rand]);
}

function bannerRotator2()
{
	var img_width = 300; // fixed width for the images
	var img_height = 250; // fixed height for the images
	
	var limit = 0;
	
	/**
		All the arrays should be linked to their respective
		numbers for the ad to be displayed in sync.
	**/
	
	var links = new Array(); // all links should be kept here
	var imgs = new Array(); // all imgs should be kept here
	var alt_text = new Array(); // all alt text should be kept here
	var extra_text = new Array(); // if you want to put something else at the end of the script, put it here
	
	// links
	links[0] = "http://www.pjatr.com/t/4-24991-39256-6939";
	links[1] = "http://click.linksynergy.com/fs-bin/click?id=UovKwVqLFPM&offerid=127265.10001081&subid=0&type=4";
	links[2] = "http://www.pntrs.com/t/4-20640-39256-34346";
	
	// images
	imgs[0] = "http://www.pjatr.com/b/4-24991-39256-6939";
	imgs[1] = "http://ad.linksynergy.com/fs-bin/show?id=UovKwVqLFPM&bids=127265.10001081&subid=0&type=4&gridnum=13";
	imgs[2] = "http://www.pntrs.com/b/4-20640-39256-34346";
	
	// alternative texts
	alt_text[0] = "High quality yoga accessories! Unbeatable Prices";
	alt_text[1] = "Gaiam.com, Inc - Organic Bedding";
	alt_text[2] = "Visit the Nature Conservancy Marketplace for eco-friendly gifts, gear, and apparel.";
	
	// extras
	extra_text[0] = "";
	extra_text[1] = "";
	extra_text[2] = "";
	
	/**
		Let's generate a random number for the
		array with a limit of the number of links
	**/
	var rand = Math.floor(Math.random() * links.length);
	
	// display the advertisement
	document.write('<a href="' + links[rand] + '" target="_blank" title="' + alt_text[rand] + '"><img src="' + imgs[rand] + '" alt="' + alt_text[rand] + '" width="' + img_width + '" height="' + img_height + '" /></a>' + extra_text[rand]);
}

function bannerRotator3()
{
	var img_width = 300; // fixed width for the images
	var img_height = 250; // fixed height for the images
	
	var limit = 0;
	
	/**
		All the arrays should be linked to their respective
		numbers for the ad to be displayed in sync.
	**/
	
	var links = new Array(); // all links should be kept here
	var imgs = new Array(); // all imgs should be kept here
	var alt_text = new Array(); // all alt text should be kept here
	var extra_text = new Array(); // if you want to put something else at the end of the script, put it here
	
	// links
	links[0] = "http://click.linksynergy.com/fs-bin/click?id=UovKwVqLFPM&offerid=17019.10002023&type=4&subid=0";
	links[1] = "http://click.linksynergy.com/fs-bin/click?id=UovKwVqLFPM&offerid=181982.10000038&subid=0&type=4";
	
	// images
	imgs[0] = "http://affiliates.barenecessities.com/ai/300_250_bareweb_images/300x250_realdeal.gif";
	imgs[1] = "http://ad.linksynergy.com/fs-bin/show?id=UovKwVqLFPM&bids=181982.10000038&subid=0&type=4&gridnum=13";
	
	// alternative texts
	alt_text[0] = "Bare Necessities";
	alt_text[1] = "Gaiam Yoga Club";
	
	// extras
	extra_text[0] = "<img border=\"0\" width=\"1\" height=\"1\" src=\"http://ad.linksynergy.com/fs-bin/show?id=UovKwVqLFPM&bids=17019.10002023&type=4&subid=0\">";
	extra_text[1] = "";
	
	/**
		Let's generate a random number for the
		array with a limit of the number of links
	**/
	var rand = Math.floor(Math.random() * links.length);
	
	// display the advertisement
	document.write('<a href="' + links[rand] + '" target="_blank" title="' + alt_text[rand] + '"><img src="' + imgs[rand] + '" alt="' + alt_text[rand] + '" width="' + img_width + '" height="' + img_height + '" /></a>' + extra_text[rand]);
}
