		image1 = new Array('patient_care01.jpg','patient_care01.jpg','patient_care03.jpg');
		image2 = new Array('research01.jpg','research02.jpg','research03.jpg');
		image3 = new Array('education01.jpg','education02.jpg','education03.jpg');
		var txt1, txt2, txt3, increment;
		
		//#imgs in each array
		var number = 3;
		
			
		increment = Math.floor(Math.random() * number); 
		txt1 = '<div style="float:left; width:181px; height:183px; margin-right:1px solid #ffffff;"><a href="/neurosurgery/patient/"><img src="/neurosurgery/images/' + image1[increment] + '" border="0"><br><img src="images/patientcare.jpg" alt="Patient Care" width="180" height="33" /></a></div>';
		increment = Math.floor(Math.random() * number); 
		txt2 = '<div style="float:left; width:181px; height:183px; margin-right:1px solid #ffffff;"><a href="/neurosurgery/research/"><img src="/neurosurgery/images/' + image2[increment] + '" border="0"><br><img src="images/research.jpg" alt="Research" width="180" height="33" /></a></div>';
		increment = Math.floor(Math.random() * number); 
		txt3 = '<div style="float:left; width:181px; height:183px; margin-right:1px solid #ffffff;"><a href="/neurosurgery/education/"><img src="/neurosurgery/images/' + image3[increment] + '" border="0"><br><img src="images/education.jpg" alt="Education" width="180" height="33" /></a></div>';
		document.write(txt1);
		document.write(txt2);
		document.write(txt3);
		
		
