// JavaScript Document
var key = new Array(
	'<a href="email_marketing.html" title="Marketing">Marketing</a>',
	'<a href="web_development.html" title="Web Development">Web Development</a>',
	'<a href="Ecommerce.html" title="E-commerce">E-commerce</a>',
	'<a href="website_design.html" title="Web Design">Web Design</a>'	 // Leave the last quote without a comma at the end
	);

var key2 = new Array(	
	'<a href="E-Commerce_Expert.html" title="E-Commerce Expert">E-Commerce Expert</a>',
	'<a href="E-commerce_support.html" title="E-commerce support">E-commerce support</a>',
	'<a href="E-commerce_Maintenance.html" title="E-commerce Maintenance">E-commerce Maintenance</a>'	 // Leave the last quote without a comma at the end
	);
var key3 = new Array(
	'<a href="Website_Maintenance.html" title="Website Maintenance">Website Maintenance</a>',
	'<a href="website_design.html" title="Web Design">Web Design</a>',
	'<a href="dedicated_seat_outsourcing.html" title="Back office support">Back office support</a>'// Leave the last quote without a comma at the end
	);
var key4 = new Array(
	'<a href="web_development.html" title="Web Development">Web Development</a>',
	'<a href="email_marketing.html" title="Marketing">Marketing</a>',
	'<a href="Website_Maintenance.html" title="Website Maintenance">Website Maintenance</a>'	 // Leave the last quote without a comma at the end
	);
var key5 = new Array(
	'<a href="Ecommerce.html" title="E-commerce">E-commerce</a>',
	'<a href="our_projects.html" title="Graphic Design">Graphic Design</a>',
	'<a href="website_design.html" title="Web Design">Web Design</a>'// Leave the last quote without a comma at the end
	);

function rotatequote()
{
	thequote = key.shift(); //Pull the top one
	key.push(thequote); //And add it back to the end
	
	thequote2 = key2.shift(); //Pull the top one
	key2.push(thequote2); //And add it back to the end
	
	thequote3 = key3.shift(); //Pull the top one
	key3.push(thequote3); //And add it back to the end
	
	thequote4 = key4.shift(); //Pull the top one
	key4.push(thequote4); //And add it back to the end
	
	thequote5 = key5.shift(); //Pull the top one
	key5.push(thequote5); //And add it back to the end
	
	document.getElementById('keybox').innerHTML = thequote;
	document.getElementById('keybox2').innerHTML = thequote2;
	document.getElementById('keybox3').innerHTML = thequote3;
	document.getElementById('keybox4').innerHTML = thequote4;
	document.getElementById('keybox5').innerHTML = thequote5;
	// This rotates the quote every 10 seconds.
	// Replace 10000 with (the number of seconds you want) * 1000
	t=setTimeout("rotatequote()",5000);
}

// Start the first rotation.

