var maxz=17; // the number of images to be rotated
var thisIme=1; // initially image 1
var ime=new MakeImeArray(maxz); // create an array of images

function MakeImeArray(n)
	{
	this.length=n;
	for (var i=1; i<=n;i++)
		{
		this[i]="";
		}
	return this;
	}
	
// images to be rotated below
		
ime[1]='<img src="http://www.theredcard.ie/img/hd_seanog.jpg" width="150" height="96" alt="" border="0"><p>&quot;People who have moved to Ireland, they are part of Ireland&quot;</p><b>Sean &Oacute;g O&rsquo;hAilp&iacute;n</b>';

ime[2]='<img src="http://www.theredcard.ie/img/hd_ashcole.jpg" width="150" height="98" alt="" border="0"><p>&quot;When I got racism as a kid, talking about it helped. My family educated me, my mum and my teachers helped me and taught me how to deal with it. People need to get educated, so you need to talk to people if if happens to you&quot;</p><b>Ashley Cole</b>';

ime[3]='<img src="http://www.theredcard.ie/img/hd_zayed.jpg" width="150" height="98" alt="" border="0"><p>&quot;People have shouted abuse at me because of my dad&rsquo;s religion. He is Muslim. I try not to let it get to me, but it does sometimes&quot;</p><b>Eamon Zayed</b>';

ime[4]='<img src="http://www.theredcard.ie/img/hd_kenny.jpg" width="150" height="98" alt="" border="0"><p>&quot;I think in Ireland we&rsquo;d like to consider ourselves a nation that doesn&rsquo;t hold too many prejudices, and racism isn&rsquo;t a problem. But I don&rsquo;t think that&rsquo;s the case, there is an underlying problem in Ireland as there is over in England, and as there is in most countries in the World&quot;</p><b>Kenny Cunningham</b>';

ime[5]='<img src="http://www.theredcard.ie/img/hd_acole.jpg" width="150" height="98" alt="" border="0"><p>&quot;There&rsquo;s no place for racism at school, football or anywhere in society. It&rsquo;s up to all us to work together to stamp out racism&quot;</p><b>Andy Cole';

ime[6]='<img src="http://www.theredcard.ie/img/hd_clinton.jpg" width="150" height="98" alt="" border="0"><p>&quot;If it was a young kid playing in a team, tell the manager or tell someone, so they can sort it out and put a stop to it. As a young kid, don&rsquo;t bottle it up, if you&rsquo;re getting it at school you tell your teacher, tell your mum&quot;</p><b>Clinton Morrison</b>';

ime[7]='<img src="http://www.theredcard.ie/img/hd_kilbane.jpg" width="150" height="97" alt="" border="0"><p>&quot;I have been abused because I am Irish and because of my religion&quot;</p><b>Kevin Kilbane</b>';

ime[8]='<img src="http://www.theredcard.ie/img/hd_jcole.jpg" width="150" height="98" alt="" border="0"><p>&quot;It&rsquo;s good that there are programmes like this that encourage people to kick racism out of sport and life in general. It&rsquo;s a problem in society, but I think 99% of people are not racist, and are trying to eradicate it&quot;</p><b>Joe Cole</b>';

ime[9]='<img src="http://www.theredcard.ie/img/hd_fleming.jpg" width="150" height="98" alt="" border="0"><p>&quot;I think it&rsquo;s definitely improved but it&rsquo;s still not out of the game, you still hear it nearly every week, the chants, at some game or another, or some player getting abused whether its a French guy or a black guy or a Chinese guy, it&rsquo;s definitely not out of the game&quot;</p><b>Curtis Flemming</b>';

ime[10]='<img src="http://www.theredcard.ie/img/hd_larsson.jpg" width="150" height="98" alt="" border="0"><p>&quot;You have to look beyond race because as a human being you have to experience the person from the inside first&quot;</p><b>Henrik Larsson</b>';

ime[11]='<img src="http://www.theredcard.ie/img/hd_rio.jpg" width="150" height="98" alt="" border="0"><p>&quot;If you come out with racist comments, then I believe you shouldn&rsquo;t be allowed to come to a football match. Don&rsquo;t be so narrow minded, you&rsquo;re bigger than that&quot;</p><b>Rio Ferdinand</b>';

ime[12]='<img src="http://www.theredcard.ie/img/hd_heary.jpg" width="150" height="98" alt=""><p>&quot;I am delighted to be a supporter of Show Racism the Red Card. Sport has a role in bringing people together and breaking down barriers. If players take a lead then hopefully others will follow&quot;</p><b>Owen Heary - Shelbourne FC</b>';

ime[13]='<img src="http://www.theredcard.ie/img/hd_casey.jpg" width="150" height="98" alt=""><p>&quot;Some of the foreign kids playing the game at my club are very good. I have no doubt that one or two will be household names in the future.&quot;</p><b>Paul Casey - Dublin SFC</b>';

ime[14]='<img src="http://www.theredcard.ie/img/hd_mortimer.jpg" width="150" height="98" alt=""><p>&quot;If you experience racism, don&rsquo;t bottle it up. Go to someone you trust and tell them.&quot;</p><b>Conor Mortimer - Mayo SFC</b>';

ime[15]='<img src="http://www.theredcard.ie/img/hd_emma.jpg" width="150" height="98" alt=""><p>&quot;Football is a multicultural game and so it should be - supporters should appreciate that.&quot;</p><b>Emma Byrne - Arsenal</b>';

ime[16]='<img src="http://www.theredcard.ie/img/hd_gartland.jpg" width="150" height="98" alt=""><p>&quot;That&rsquo;s what you want.  You want to play with people who have played at different levels of the game in different countries.&quot;</p><b>Graham Gartland</b>';

ime[17]='<img src="http://www.theredcard.ie/img/hd_ciara.jpg" width="150" height="98" alt=""><p>&quot;You should treat people the way you would want to be treated yourself.&quot;</p><b>Ciara Grant - Rep. of Ireland</b>';

// the random number function returns a number 1 to max
function rand(n)
	{
	rnum=Math.floor(n*Math.random())+1
	return rnum;
	}
		

// the function that is called from the body script
function setIme()
	{
	thisIme=rand(maxz);
	}		


	
