// 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 add 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.shareasale.com/r.cfm?b=191127&u=285454&m=23980&urllink=&afftrack=";
	links[1] = "http://www.shareasale.com/r.cfm?b=178157&u=285454&m=21881&urllink=&afftrack=";
	
	// images
	imgs[0] = "http://www.shareasale.com/image/NHN_1-300x250.jpg";
	imgs[1] = "http://www.shareasale.com/image/Square-SuccesfulSelfImprovement.png";
	
	// alternative texts
	alt_text[0] = "National Homecare Network";
	alt_text[1] = "Alpha Brainwaves";
	
	// extras
	extra_text[0] = "";
	extra_text[1] = "";

	var rand = Math.floor(Math.random() * links.length); // let's generate random number for the array
	
	// 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 add 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.shareasale.com/r.cfm?b=61733&u=285454&m=10300&urllink=&afftrack=";
	links[1] = "http://www.shareasale.com/r.cfm?b=185875&u=285454&m=19479&urllink=&afftrack=";
	
	// images
	imgs[0] = "http://www.shareasale.com/image/banner1113.jpg";
	imgs[1] = "http://www.shareasale.com/image/300x250_hr_chopra.gif";
	
	// alternative texts
	alt_text[0] = "Walking-Canes.net - Variety, Style, Function";
	alt_text[1] = "Guided Meditation Products";
	
	// extras
	extra_text[0] = "";
	extra_text[1] = "";

	var rand = Math.floor(Math.random() * links.length); // let's generate random number for the array
	
	// 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 add 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.gopjn.com/t/4-24682-39256-38644";
	links[1] = "http://www.gopjn.com/t/4-4834-39256-4160";
	
	// images
	imgs[0] = "http://www.gopjn.com/b/4-24682-39256-38644";
	imgs[1] = "http://www.gopjn.com/b/4-4834-39256-4160";
	
	// alternative texts
	alt_text[0] = "Visit WristbandsWtihAMessage.com Today!";
	alt_text[1] = "Shop IceWraps.net";
	
	// extras
	extra_text[0] = "";
	extra_text[1] = "";

	var rand = Math.floor(Math.random() * links.length); // let's generate random number for the array
	
	// 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]);
}