var credit=[
"&copy; Buster Simpson, <em>Water Molecule &amp; Bio Boulevard</em>, 2011, Brightwater Treatment Plant, painted steel, concrete, King County Public Art Collection, Photo courtesy of the artist",
"&copy; Katy Stone, <em>willowcloudwavescape</em>, 2009, Oil on aluminum, lighting, King County Public Art Collection, Photo by Lara Swimmer",
"&copy; Douglas Cooper, <em>From These Hills From These Waters</em>, 2005, Detail, Charcoal and graphite on paper and wood panel, King County Public Art Collection, Photo courtesy of the artist",
"&copy; Robert Morris, <em>Johnson Pit #30</em>, 1979, Earth, grass, King County Public Art Collection, Photo by Spike Mafford",
"&copy; Richard Barnes, <em>Diorama With Yaks</em>, Color photograph, King County Public Art Collection at Harborview Medical Center",
"&copy; Christian Moeller, <em>Newsreaders</em>, 2006, Snap-on plastic discs, King County Public Art Collection, Photo by YaM Studio",
"&copy; Steve Brown, Joe Gobin and Andy Wilbur, <em>Welcoming Figure</em>, 1998, Cast bronze, King County Public Art Collection, Photo by Joe Manfredini",
]

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [700, 460], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		//tool tip
		
["collection/images/brightwater/brightwater_004_profile.jpg", "collection/profile.aspx?projectid=6&cat1=Collection&cat2=Built&cat3=Wastewater&cat3b=25", "", "<p>Buster Simpson<br /><em>Water Molecule &amp; Bio Boulevard</em>, detail, 2011</p><p><a href='collection/profile.aspx?projectid=6&cat1=Collection&cat2=Built&cat3=Wastewater&cat3b=25'>Brightwater Treatment Plant</a>, with seventeen integrated public artworks commissioned by 4Culture, opens<br />September 24.</p>"],
		
["collection/images/kc_correctional/stone/stone_001_profile.jpg", "collection/profile.aspx?projectid=78&cat1=Collection&cat2=Built&cat3=Plaza&cat3b=20", "", "<p>Katy Stone<br /><em>willowcloudwavescape</em></p><p>A mosaic plaza by Martha Schwartz and interior artwork by Katy Stone and Drew Daly humanize the <a href='collection/profile.aspx?projectid=78&cat1=Collection&cat2=Built&cat3=Plaza&cat3b=20'>King County Correctional Facility</a>.</p>"],

["collection/images/kc_mlk_courthouse/cooper/cooper_004_profile.jpg", "collection/profile.aspx?projectid=26&cat1=Collection&cat2=Built&cat3=Courthouse&cat3b=3", "", "<p>Douglas Cooper<br /><em>From These Hills From These Waters</em></p><p>Integrated artworks by Linda Beaumont and Douglas Cooper revive the original <a href='collection/profile.aspx?projectid=26&cat1=Collection&cat2=Built&cat3=Courthouse&cat3b=3'>King County Courthouse</a> lobby's historic style and express a renewed grandness of purpose.</p>"],

["collection/images/johnson_pit/morris/morris_001_profile.jpg", "collection/profile.aspx?projectid=36&cat1=Collection&cat2=Built&cat3=Earthwork&cat3b=4", "", "<p>Robert Morris<br /><em>Johnson Pit #30</em></p><p>Robert Morris' <em>Johnson Pit #30</em> remains one of King County's most important works.</p>"],

["collection/images/harborview_maleng/barnes/barnes_001_profile.jpg", "collection/profile.aspx?projectid=56&cat1=Collection&cat2=Built&cat3=Healthcare&cat3b=10", "", "<p>Richard Barnes<br /><em>Diorama With Yaks</em> a photograph by Richard Barnes, is part of the portable Landscape collection at <a href='collection/profile.aspx?projectid=56&cat1=Collection&cat2=Built&cat3=Healthcare&cat3b=10'>Harborview Medical Center</a>.</p>"],
	
["collection/images/atlantic_central/moeller/moeller_001_profile.jpg", "collection/profile.aspx?projectid=1&cat1=Collection&cat2=Project&cat3=A-J&cat3b=", "", "<p>Christian Moeller<br /><em>Newsreaders</em></p><p>Christian Moeller&rsquo;s bit-map fence is located at Metro Transit&rsquo;s <a href='collection/profile.aspx?projectid=1&cat1=Collection&cat2=Project&cat3=A-J&cat3b='>Atlantic Central Base</a>, along with artwork by Julie Berger and Susan Zoccola.</p>"],

["collection/images/richmond_beach/brown/brown_001_profile.jpg", "profile.aspx?projectid=35&cat1=Collection&cat2=Project&cat3=K-R&cat3b=", "", "<p>Steve Brown, Joe Gobin and Andy Wilbur<br /><em>Welcoming Figure</em></p><p>4Culture worked with the tribal Advisory board to locate the artwork of artists Steve Brown, Joe Gobin and Andy Wilbur. <a href='profile.aspx?projectid=35&cat1=Collection&cat2=Project&cat3=K-R&cat3b='><em>Welcoming Figure</em></a> honors First People of Puget Sound and is sited on a traditional gathering site for the Salish people.</p>"]

		
	],
	autoplay: [true, 6000, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: true, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	oninit:function(){ //event that fires when gallery has initialized/ ready to run
	creditdiv=document.getElementById("credit")
		//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
	},
	onslide:function(curslide, i){ //event that fires after each slide is shown
	document.getElementById("credit").innerHTML=credit[i]
//event that fires after each slide is shown
		//Keyword "this": references current gallery instance
		//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
		//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
	}
})
