incr = 0;
onetime = false;
	var sText = new Array();	
	sText[0] = "<center><p class='salesbluemsg'>&nbsp; where am I?";
	sText[1] = "<IMG width='100%'  ALT='Old Actonians Football Club' BORDER='0' SRC='../../image/football/afacupfinal/attack_is_on.jpg'>";
	sText[2] = "<IMG width='100%'  ALT='Old Actonians Cricket Club' BORDER='0' SRC='../../image/clubs/cricket/flyinghigh_09_v2.jpg'>";
	sText[3] = "<IMG ALT='Old Actonians Rugby Club' BORDER='0' SRC='../../image/Rugby/rugbythrowin.jpg'>";
	sText[4] = "<IMG ALT='Old Actonians Squash Club' BORDER='0' SRC='../../image/Squash/squashattack.jpg'>";
	sText[5] = "<IMG width='100%' ALT='Win Trophies with Old Actonians Sports Club' BORDER='0' SRC='../../image/clubs/football/saltrophiesgalore_v2.jpg'>";
	sText[6] = "<IMG width='100%' ALT='Old Actonians Badminton Club' BORDER='0' SRC='../../image/clubs/social/allsports/badminton_1703.jpg'>";
	sText[7] = "<IMG width='100%' ALT='Old Actonians Netball Club' BORDER='0' SRC='../../image/clubs/social/allsports/netball2.jpg'>";
	sText[8] = "<IMG width='100%' ALT='Old Actonians Tennis Club' BORDER='0' SRC='../../image/clubs/social/allsports/tennis2.jpg'>";



	bShow  = false ;		


	

function changeimage()
{	
	if ((incr == 0) && (bShow == false))	
	{
		incr = 1;
	}
	
	if (document.layers != undefined)
	{	
		var docOut = document.layers["NS4"].document;
		docOut.open();
		docOut.write(sText[incr]);
		document.layers["NS4"].pageX=(document.images.blankAnchor.x+4);
		document.layers["NS4"].pageY=(document.images.blankAnchor.y+3);		
		docOut.close();		
	}
	else if(document.getElementById != undefined)
	{
		document.getElementById("ALL").innerHTML = sText[incr];
	}
	else 
	{	
		document.all.All.innerHTML = sText[incr];
	}
	//get the focus on the search input tag as the above code stops accessing this field
	if (onetime == false)
	{
		document.forms[0].elements["SearchString"].focus();
		onetime = true; //set focus just once otherwise the browser runing this keeps
					//getting focus from other browsers!
	}
	window.setTimeout("changeimage();", 3500);

	incr++;
	if (incr==sText.length)
	{
		incr=0;
	}
}
