var oImgs = new Array();
var oCaps = new Array();
var resetIds = ["g1","g2","g3","g4","g5","g6","g7"];
oImgs[0] = "i/gallery/1.jpg";
oImgs[1] = "i/gallery/2.jpg";
oImgs[2] = "i/gallery/3.jpg";
oImgs[3] = "i/gallery/4.jpg";
oImgs[4] = "i/gallery/5.jpg";
oImgs[5] = "i/gallery/6.jpg";
oImgs[6] = "i/gallery/7.jpg";
oImgs[7] = "i/gallery/8.jpg";
oImgs[8] = "i/gallery/9.jpg";
oCaps[0] = "STAR is available in a full range of Pore Sizes (20 to 90 micron). SEM of 50, 55, and 60-micron PMMA spheres shown.";
oCaps[1] = "PMMA spheres of controlled sized are packed and processed to form wafer.";
oCaps[2] = "Cross-section of porous STAR material templated from wafer shows precise pore network of interconnected spherical voids.";
oCaps[3] = "STAR biocompatible polymer scaffold attached to medical device surface.";
oCaps[4] = "Staining for keratinocytes at skin-biomaterial interface of silicone STAR material with 60-micron pores after 6 days in organ culture.<br />Photo courtesy of Dr. Olerud, University of Washington";
oCaps[5] = "Foreign Body Response (FBR) capsule thickness after 8 week silicone implant in mice. Non-porous silicone shown on left compared to 24-micron pore silicone STAR on right.";
oCaps[6] = "STARpearls showing tissue ingrowth into pores and larger vessels between pearls.";
oCaps[7] = "Ingrowth of capillaries into STARcuff in pig skin.";
oCaps[8] = "SEM image of crystalline pattern on STAR material surface.";
function loadImage(nextImg,newClass)
{
	for(i=0; i<7; i++)
	{
		document.getElementById(resetIds[i]).className = "";
	}
	document.getElementById("caption").innerHTML = oCaps[nextImg];
	document.getElementById("gallery").src = oImgs[nextImg];
	document.getElementById(newClass).className = "gallerys";
	//alert(document.getElementById("gallery").src);
}