var descriptiontext=[

"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",
"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",
"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",
"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",
"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",
"<h3><img src='img/header_pbc.jpg' /></h3><ul><li>208,500 square feet available</li><li>65 loading docks Cross docked</li><li>34' clear with ESFR Sprinkler</li><li>Located at the RT 222 and RT 61 Interchange</li><li>Best Location in Reading, Berks County, PA</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a></p>",

"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",
"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",
"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",
"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",
"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",
"<h3><img src='img/header_rt61.jpg' /></h3><ul><li>145,000sf available divisible to 30,000sf</li><li>16 loading docks</li><li>375,000 sq. ft. located within ¼ mile of Rt. 222</li><li>Excellent access to I-76, I-176 and I-78</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Steve Willems<br />Exclusive Agent,<br />NAI Keystone</p><p>Phone: 610-370-8506<br /><a href='mailto:swillems@naikeystone.com'>swillems@naikeystone.com</a><br>Or<br>Owner Bob Brasler - 215-848-4468</p>",

"<h3><img src='img/header_glcc.jpg' /></h3><ul><li>300,000sf available divisible</li><li>24' clear</li><li>Immediate Occupancy</li><li>Rail siding and doors</li></ul><div class='border_dot'></div><p><strong>Contact:</strong><br />Stephen Mitnick<br />Magellan Realty Partners, LLC</p><p>Phone: 610-668-1601</p><br /><p><img src='img/Magellan-Realty-Partners.jpg' /></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/pbc01.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/pbc02a.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/pbc02b.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/pbc03.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/pbc04.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/pbc05.jpg", "http://www.premiumbusinesscenter.com/", "_new", "click image to visit: http://www.premiumbusinesscenter.com/"],
		["img/properties/rt61_01.jpg", "", "", ""],
		["img/properties/rt61_02.jpg", "", "", ""],
		["img/properties/rt61_03.jpg", "", "", ""],
		["img/properties/rt61_04.jpg", "", "", ""],
		["img/properties/rt61_05.jpg", "", "", ""],
		["img/properties/rt61_06.jpg", "", "", ""],
		["img/properties/glcc_01.jpg", "", "", ""]
	],
	autoplay: [true, 5000, 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)
	}
})
