if (document.images) {

// main photos
// these should correspond with the titles below, in case you need to use a title that is partially masked out (e.g. smart cows)
		photoList = new Array();
		var i = 0;
		
		photoList[i++] = '<img src="/images/main_photo_butterfly.jpg" alt="Enterprise-Wide Recruitment Process Outsourcing" name="main_photo" width="562" height="284" border="0" lowsrc="/images/spacer.gif">';
		photoList[i++] = '<img src="/images/main_photo_cheetah.jpg" alt="Enterprise-Wide Recruitment Process Outsourcing" name="main_photo" width="562" height="284" border="0" lowsrc="/images/spacer.gif">';
                photoList[i++] = '<img src="/images/main_photo_horse.jpg" alt="Enterprise-Wide Recruitment Process Outsourcing" name="main_photo" width="562" height="284" border="0" lowsrc="/images/spacer.gif">';
		
// ALL NEW STUFF BELOW HERE, NOTHING CHANGED ABOVE

// get and set the cookie value

		var rand=0,cookieName="rotater="; 
	
		if ((position=document.cookie.indexOf(cookieName))!=-1) { 
			rand=document.cookie.substring(position+cookieName.length,position+cookieName.length+photoList.length.toString().length); 
		}
		
		document.cookie=cookieName+(parseInt(rand)+1)*!(rand==photoList.length-1);
				
		
}