var descriptiontext=[
"<ul><li>York Business Center aerial view circa 2002 prior to rehab. City of York, 2 miles, upper left.  Caterpillar closed in 1996, letting go of several thousand workers, devastating the local York economy.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Nancy Opitz</p>",
"<ul><li>York Business Center site plan circa 2008 after rehab showing tenant spaces, parking and retail.</li></ul><div class='border_dot'></div><p class='it'>Rendering Credit: Nutec Group</p>",
"<ul><li>Site view circa 2002. Site grade lowered to install 204 new trailer docks with new concrete truck courts, heavy duty levelers and reinforced exterior walls.</li></ul><p>&quot;Presented extraordinary challenges due to prior use that required many remediation techniques including the removal of 1,175 cubic yards of asbestos, ground water management to reduce outfalls by 38,000 gallons/day, and the recycling of 5,000 cubic yards of creosoted oil soaked wood floors into fuel used by the supplier, who provided 1.2 million sq of custom laser flat flooring concrete.&quot;</p><div class='border_dot'></div><p class='it'>Photo Credit: Nancy Opitz</p>",
"<ul><li>Building D demolition of former oil reclamation pits in wave rehab &quot;fast track&quot; process.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Nancy Opitz</p>",
"<ul><li>Building D circa 2002. First phase of wood block floor demolition in cement recycling effort.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Nancy Opitz</p>",
"<ul><li>Building B circa 2004. Removal of 20’ deep carbon process pit and reconfiguration of heavy crane structure to ensure uniform column spacing.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Mark Bobb</p>",
"<ul><li>Building N circa 2006. 120ksf boiler house and sewer plant replaced with permeable green space.</li></ul><p>&quot;The redeployment of approxiamtely 79,000 cubic yards of construction debris, filling equipment pits, sub-basements, creating green permeable surface and burying unsafe and unsightly open culverts.&quot;</p><div class='border_dot'></div><p class='it'>Photo Credit: Gary McMillan</p>",
"<ul><li>Building E circa 2006. Improvement of 51,000sf for LTS into H-3 chemical storage as required by code and FM Global standards.  Transformation required a dike system for spill containment, new deluge sprinkler, fire rated ceiling, T8 low heat emitting lighting, and ventilation for 8 air changes per hour.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Mark Bobb</p>",
"<ul><li>Building D circa 2003. RR Donnelley’s new floating laser flat floor, in place of wood blocks.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Nancy Opitz</p>",
"<ul><li>Building B circa 2007. New 7,000 s.f. office positioned over former chrome plating line.</li></ul><p>&quot;Reconfiguration of valuable exterior wall structures to capture more potential dock locations for future flexibility required significant structural modification, in one instance removing a 10,000sf floor and support system and resupporting the elevated electrical transformation platform located above.&quot;</p><div class='border_dot'></div><p class='it'>Photo Credit: Mark Bobb</p>",
"<ul><li>Building D circa 2003. RR Donnelley uses existing structure for sorting conveyor system.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Chris Brasler</p>",
"<ul><li>Building B circa 2007. Storage of new Harley Davidson motorcycles on new floor in facility that was originally constructed in 1952.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Greg Benson</p>",
"<ul><li>Building B circa 2008. BAE Systems US Military tank armor upgrade facility using existing structure and electrical distribution.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Mark Bobb</p>",
"<ul><li>Building D circa 2007. RR Donnelley product packaging operation with new dock building merged with original 1960s structure in foreground.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Greg Benson</p>",
"<ul><li>Building D circa 2003. The development of a 566-position truck court mixing existng maintained surfaces with new concrete and asphalt heavy duty installations.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Gary McMillan</p>",
"<ul><li>Building B circa 2007. Morex Corp. headquarters façade with 1970s siding and sawtooth dock arrangement in exterior spacerestricted and front entry landscaped exposure.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Greg Benson</p>",
"<ul><li>The reduction of electrical use by more than 4 million kilowatt hours per annum accomplished through the installation of T-5 high efficiency lighting, painting the interiors /ceilings white to increase reflectivity, reducing transformation capacity by terminating high voltage transformers, and eleminating miles of unnecessary bus duct and wire distribution.</li></ul><div class='border_dot'></div>",
"<ul><li>The contribution by the crew members of the many outstanding contractors associated with the project was the backbone to the YBC success. All involved realized how extraordinary the transformation was and Brasler Properties salutes their extraordinary efforts.</li></ul><div class='border_dot'></div><p class='it'>Photo Credit: Gary McMillan</p>",
"<ul><li>Building D circa 2007. RR Donnelley northeast corner with significant trailer activity fitting in well with the heavy duty construction.</li></ul><p>&quot;Achieves A market rates, for primarily 20' clear former heavy manufacturing space circa 1950's and 60's in York submarket attracting tenants from more traditionally popular distribution locations. Case study of how creative repositioning can create jobs for communities devastated by manufacturing job loss&quot;</p><div class='border_dot'></div><p class='it'>Photo Credit: Gary McMillan</p>",
"<ul><li>Site aerial circa 2008. Completed project looking fantastic with lots of happy tenants and employees working under the new 1.5 million square feet of roof.</li></ul><p>&quot;The result of this redevelopment has been an extraordinary ROI.  The property, which was purchased for approximately $10 million, and required over $36 million of additional capital, was sold in 2008 for over $73 million for a return on equity of 50% or an IRR of 29% over the term of just under 5.5 years.  At the time of disposition, the complex was 90% occupied.&quot;</p><div class='border_dot'></div><p class='it'>Photo Credit: Craig Peck</p>"
]

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [540, 360], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: [
		["img/properties/ybc_01.jpg", "", "", ""],
		["img/properties/ybc_02.jpg", "", "", ""],
		["img/properties/ybc_03.jpg", "", "", ""],
		["img/properties/ybc_04.jpg", "", "", ""],
		["img/properties/ybc_05.jpg", "", "", ""],
		["img/properties/ybc_06.jpg", "", "", ""],
		["img/properties/ybc_07.jpg", "", "", ""],
		["img/properties/ybc_08.jpg", "", "", ""],
		["img/properties/ybc_09.jpg", "", "", ""],
		["img/properties/ybc_10.jpg", "", "", ""],
		["img/properties/ybc_11.jpg", "", "", ""],
		["img/properties/ybc_12.jpg", "", "", ""],
		["img/properties/ybc_13.jpg", "", "", ""],
		["img/properties/ybc_14.jpg", "", "", ""],
		["img/properties/ybc_15.jpg", "", "", ""],
		["img/properties/ybc_16.jpg", "", "", ""],
		["img/properties/ybc_17.jpg", "", "", ""],
		["img/properties/ybc_18.jpg", "", "", ""],
		["img/properties/ybc_19.jpg", "", "", ""],
		["img/properties/ybc_20.jpg", "", "", ""]
	],
	autoplay: [true, 10000, 30], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false, //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
	descriptiondiv=document.getElementById("descriptiontxt")
		//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
	},
	onslide:function(curslide, i){ //event that fires after each slide is shown
	descriptiondiv.innerHTML=descriptiontext[i]
	//document.getElementById("descriptiontxt").innerHTML=descriptiontext[i]
		//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)
	}
})
