// JavaScript Document
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

var mygallery01=new fadeSlideShow({
	wrapperid: "slidr", //ID of blank DIV on page to house Slideshow
	dimensions: [900, 324], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [		
		//JK//["1", "2", "3", "4", "5", "6"]
		//JK//[1.image_src 2.a_href 3.target 4.txt_overlay 5.onclick_event 6.img_alt]
		["slidr/images/galleries/default/marco.jpg", "", "", "", "", "Marco... | Campbell's Pool & Spa"],
		["slidr/images/galleries/default/now-hiring.jpg", "employment.html", "", "", "", "Employment Opportunities"],
		["slidr/images/galleries/default/pools.jpg", "pools.html", "_self", "", "", "Custom Gunite Pools"],
		["slidr/images/galleries/spas/energysmart.jpg", "", "_blank", ""],
		["slidr/images/galleries/default/poolboy.jpg", "contactforms/poolboy.php", "_self", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'rounded-white', headingText: 'Request More Info About our PoolBoy&#8482; Pool &amp; Spa Maintenance' })", "Pool Boy Pool Maintenance"],
		["slidr/images/galleries/default/polo.jpg", "", "", "", "", "...Polo | Campbell's Pool & Spa"],
		["slidr/images/galleries/spas/ace_button.jpg", "http://vimeo.com/moogaloop.swf?clip_id=12591377&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1", "_blank", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'drop-shadow', width: 400, objectWidth: 400, objectHeight: 265, headingText: 'Ace&#8482; Salt Water Sanitizing System' })", "Ace&#8482; Salt Water Sanitizing System"],
		["slidr/images/galleries/spas/hotspot.jpg", "", "_blank", ""],
		["slidr/images/galleries/default/primogrills.jpg", "primogrills.html", "_self", "", "", "Primo Grills"],
		["slidr/images/galleries/default/leakdetection.jpg", "contactforms/leakdetection.php", "_self", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'rounded-white', headingText: 'Request More Information On Our Leak Detection' })", "We Do Leak Detection"],
		["slidr/images/galleries/default/moodroom.jpg", "contactforms/moodroom.php", "_self", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'rounded-white', headingText: 'Schedule a Test Soak in The MOOD ROOM' })", "Schedule A Test Soak in our Hot Spring Spa Mood Room"],
		["slidr/images/galleries/default/etb.jpg", "", "", "", "", "Campbell's Pool & Spa | East Tennessee's Best for 8 Straight Years"],
		["slidr/images/galleries/default/perfectwater.jpg", "watercare.html", "_self", "", "", "BioGuard Pool and Spa Chemical Maintenance"],		
		["slidr/images/galleries/spas/limelight.jpg", "", "_blank", ""],
		["slidr/images/galleries/default/abovegroundpools.jpg", "pools.html", "_self", "", "", "Above Ground Pools by Campbell's Pool & Spa"],
		["slidr/images/galleries/default/poolschool.jpg", "contactforms/poolschool.php", "_self", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'rounded-white', headingText: 'Sign Up For Pool School Today!' })", "Scheduling Pool School Now | Learn How To Take Care of Your Pool or Spa Year Round"],
		["slidr/images/galleries/spas/solana.jpg", "", "_blank", ""],
		["slidr/images/galleries/default/vgb.jpg", "vgb.php", "_self", "", "", "Virginia Graeme Baker Act"]		
		
		
		//["slidr/images/galleries/default/freewatertesting.jpg", "", "_self", "", "", "Always Free Water Testing"],
		//["slidr/images/galleries/default/poolopenings.jpg", "contactforms/poolopenings.php", "_self", "", "return hs.htmlExpand(this, { objectType: 'iframe', outlineType: 'rounded-white', headingText: 'Scheduling Pool Openings and Backyard Consultations' })", "Scheduling Pool Openings"],			
	],
	displaymode: {type:'auto', pause:6000, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	descreveal: "always",//"ondemand" hides on mouse out and reveals on mouse over. "always" is always up
	togglerid: "slidrnav"//+imagearray[5]
})
