var imgSrc = ""
var senior = new Gallery("senior"
,"../_images/seniors/aerobics2_thumb.jpg"
,"../_images/seniors/aerobics_thumb.jpg"
,"../_images/seniors/hockey2_thumb.jpg"
,"../_images/seniors/computers2_thumb.jpg"
,"../_images/seniors/computers_thumb.jpg"
,"../_images/seniors/dancers2_thumb.jpg"
,"../_images/seniors/dancers_thumb.jpg"
,"../_images/seniors/food_thumb.jpg"
,"../_images/seniors/exercise_thumb.jpg"
,"../_images/seniors/exerciseballs_thumb.jpg"
,"../_images/seniors/exercise-men_thumb.jpg"
,"../_images/seniors/bus_thumb.jpg"
,"../_images/seniors/painter_thumb.jpg"
,"../_images/seniors/hockey1_thumb.jpg"
,"../_images/seniors/pickleball_thumb.jpg"
,"../_images/seniors/pickleballMan_thumb.jpg"
,"../_images/seniors/pickleballWoman_thumb.jpg"
,"../_images/seniors/cards2_thumb.jpg"
,"../_images/seniors/cards_thumb.jpg"
,"../_images/seniors/volleyball_thumb.jpg"
,"../_images/seniors/weights2_thumb.jpg"
,"../_images/seniors/weights_thumb.jpg"
,"../_images/seniors/yoga_thumb.jpg"
,"../_images/seniors/2women_thumb.jpg"
);

/**** Add Links to Thumbs ***/
senior.linkImg("hockey1_thumb","../_images/seniors/hockey1.jpg","1000","667")
senior.linkImg("hockey2_thumb","../_images/seniors/hockey2.jpg","1000","1500")
senior.linkImg("2women_thumb","../_images/seniors/2women.jpg","1000","1500")
senior.linkImg("aerobics2_thumb","../_images/seniors/aerobics2.jpg","1000","800")
senior.linkImg("aerobics_thumb","../_images/seniors/aerobics.jpg","1000","667")
senior.linkImg("bus_thumb","../_images/seniors/bus.jpg","1000","800")
senior.linkImg("cards2_thumb","../_images/seniors/cards2.jpg","1000","1400")
senior.linkImg("cards_thumb","../_images/seniors/cards.jpg","1000","800")
senior.linkImg("computers2_thumb","../_images/seniors/computers2.jpg","1000","800")
senior.linkImg("computers_thumb","../_images/seniors/computers.jpg","1000","667")
senior.linkImg("dancers2_thumb","../_images/seniors/dancers2.jpg","1000","800")
senior.linkImg("dancers_thumb","../_images/seniors/dancers.jpg","1000","1500")
senior.linkImg("exercise_thumb","../_images/seniors/exercise.jpg","1000","1500")
senior.linkImg("exerciseballs_thumb","../_images/seniors/exerciseballs.jpg","1000","800")
senior.linkImg("exercise-men_thumb","../_images/seniors/exercise-men.jpg","1000","667")
senior.linkImg("food_thumb","../_images/seniors/food.jpg","1000","714")
senior.linkImg("painter_thumb","../_images/seniors/painter.jpg","1000","667")
senior.linkImg("pickleball_thumb","../_images/seniors/pickleball.jpg","1000","667")
senior.linkImg("pickleballMan_thumb","../_images/seniors/pickleballman.jpg","1000","1250")
senior.linkImg("pickleballWoman_thumb","../_images/seniors/pickleballwoman.jpg","1000","1250")
senior.linkImg("volleyball_thumb","../_images/seniors/volleyball.jpg","1000","714")
senior.linkImg("weights2_thumb","../_images/seniors/weights2.jpg","1000","800")
senior.linkImg("weights_thumb","../_images/seniors/weights.jpg","1000","1250")
senior.linkImg("yoga_thumb","../_images/seniors/yoga.jpg","1000","667")

/**** Add Captions ***/
senior.addImgCaption("2women_thumb","Join the fun!")
senior.addImgCaption("hockey1_thumb","Adult Hockey League")
senior.addImgCaption("hockey2_thumb","Adult Hockey League")
senior.addImgCaption("aerobics2_thumb","Fitness classes")
senior.addImgCaption("aerobics_thumb","Fitness classes")
senior.addImgCaption("bus_thumb","Field Trips")
senior.addImgCaption("cards2_thumb","Games and activities")
senior.addImgCaption("cards_thumb","Games and activities")
senior.addImgCaption("computers2_thumb","Computer classes")
senior.addImgCaption("computers_thumb","Computer classes")
senior.addImgCaption("dancers2_thumb","Dancing")
senior.addImgCaption("dancers_thumb","Dancing")
senior.addImgCaption("exercise_thumb","Fitness classes")
senior.addImgCaption("exerciseballs_thumb","Fitness classes")
senior.addImgCaption("exercise-men_thumb","Fitness classes")
senior.addImgCaption("food_thumb","Volunteering and food!")
senior.addImgCaption("painter_thumb","Art programs")
senior.addImgCaption("pickleball_thumb","Sports")
senior.addImgCaption("pickleballMan_thumb","Sports")
senior.addImgCaption("pickleballWoman_thumb","Sports")
senior.addImgCaption("volleyball_thumb","Sports")
senior.addImgCaption("weights2_thumb","Fitness classes")
senior.addImgCaption("weights_thumb","Fitness classes")
senior.addImgCaption("yoga_thumb","Fitness classes")
/**** Add Labels ***/

var POPskin = '' +
'<html>\n' +
'<head>\n' +
'<title>**Title**</title>\n' +
'</head>\n' +
'<body style="background-color:#006633;color:#ffffff;font-family:verdana,arial,san-serif;">\n' +
'<table align="center" >\n' +
'<tr>\n' +
'<td align="center" style="border:solid;border-width:1px;border-color:#ffffff;"><img src="**ImageSource**" width="**ImageWidth**" height="**ImageHeight**"></td>\n' +
'</tr>\n' +
'<tr>\n' +
'<td align="left" style="background-color:#f0f0f0;color:#000000;font-family:verdana,arial,san-serif;font-size:10pt; font-weight:normal">**Caption**</td>\n' +
'</tr>\n' +
'<tr>\n' +
'<td align="center"><a href="javascript:this.close();" style="color:#ffffff;font-weight:bold;font-family:verdana,arial,san-serif;">close</a><br>\n' +
'<span style="font-size:8pt; color:#B9E5CE">To save this photo to your computer:<br>\n' +
'right click on the image, then select <b>save picture as</b> from the menu.</span></td>\n' +
'</tr>\n' +
'<table>\n' +
'</body>\n' +
'</html>';
senior.popSkin = POPskin;
/********** DEFINE PROPERTIES *****************************************************/

senior.addSkinProperties(skinGallery);
/* Title Controls Properties */
senior.titleText = "<DIV align=center>Lifelong Recreation</DIV>";
senior.titleImage = "";
senior.titleId = "";
senior.titleClass = "";

/* Previous Controls Properties */
senior.previousText = "< back";
senior.previousImage = "";
senior.previousClass = "nav5";
senior.previousId = "";

/* Next Controls Properties */
senior.nextText = "next >";
senior.nextImage = "";
senior.nextClass = "nav5";
senior.nextId = "";

/* Gallery Image Link Properties */
senior.imgLinkText = "view close-up";
senior.imgLinkImage = "";
senior.imgLinkClass = "nav5";
senior.imgLinkOnImage = true;

senior.imgLinkId = "viewlink";
senior.captionClass = "image"
//senior.labelClass = "";
//senior.labeld;
senior.captionId = "imgCaptionC";

