//Image Rotation, a animated gif alternative by YNot Web
//Must have <body onLoad="rotate_images();">  and  <div id="rotate"></div> where you want the images
<!--
function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}

function rotate_images()
{
	var i;
	var interval=3000; <!-- time in milliseconds between image change (1000 is 1 second) -->
	var img = new Array();
	<!-- Put the html/links/images that you want to rotate here -->
	img[0]='<a href="docs/How2HireGD.pdf" target=_blank><img src="images/hired.gif" border=0 width=129 height=164 alt="Never Hired a Graphic Designer"></a>';
	img[1]='<a href="docs/How2HireGD.pdf" target=_blank><img src="images/download.gif" border=0 width=129 height=164 alt="Download helpful tips now"></a>';
	var number_images = 2; <!-- number of images, starting with 0 (0,1,2 is 3 images) -->
	var i=rand_number(number_images); 
	rotate.innerHTML=img[i];
	setTimeout("rotate_images()",interval);
}
//-->


