var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = "images/portfolio/portfolio01.jpg";
Picture[2]  = "images/portfolio/portfolio02.jpg";
Picture[3]  = "images/portfolio/portfolio03.jpg";
Picture[4]  = "images/portfolio/portfolio04.jpg";
Picture[5]  = "images/portfolio/portfolio05.jpg";
Picture[6]  = "images/portfolio/portfolio06.jpg";
Picture[7]  = "images/portfolio/portfolio07.jpg";
Picture[8]  = "images/portfolio/portfolio08.jpg";
Picture[9]  = "images/portfolio/portfolio09.jpg";
Picture[10] = "images/portfolio/portfolio10.jpg";
Picture[11] = "images/portfolio/portfolio11.jpg";
Picture[12] = "images/portfolio/portfolio12.jpg";
Picture[13] = "images/portfolio/portfolio13.jpg";
Picture[14] = "images/portfolio/portfolio14.jpg";
Picture[15] = "images/portfolio/portfolio15.jpg";
Picture[16] = "images/portfolio/portfolio16.jpg";
Picture[17] = "images/portfolio/portfolio17.jpg";
Picture[18] = "images/portfolio/portfolio18.jpg";
Picture[19] = "images/portfolio/portfolio19.jpg";
Picture[20] = "images/portfolio/portfolio20.jpg";



// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Front to back, University of California, Santa Barbara Gauchos Swimming member Brett Chamberlain, University of California, Davis Aggies member Alex Arbios and Gauchos member Ethan Bradley compete in the Men&rsquo;s 1000 Yard Freestyle at the Campus Pool at the University of California, Santa Barbara on Jan. 17, 2009 in Santa Barbara, Calif.  The Gaucho men won the match, 168 to 94. ";
Caption[2]  = "Linda Gartrell, a Pre-Kindergarten teacher at Ojai Valley School in Ojai, Calif., receives a group hug from her students on Sept. 28, 2004.";
Caption[3]  = "Patty Delarosa serves up a cocktail on July 29, 2008, at Caf&eacute; Fiore in Ventura, Calif., where she is a bartender. Caf&eacute; Fiore is a martini lounge that offers daily happy hour specials made with fresh fruit and other tasty ingredients.";
Caption[4]  = "David Martinez trains an up and coming boxer at the La Habra Boxing Club on Apr. 11, 2009, in La Habra, Calif.";
Caption[5]  = "California Lutheran University Kingsmen player #10 Richard Michelin gets struck by a ball while at bat during a home game against the Westmont College Warriors of Santa Barbara, Calif., at California Lutheran University at the George &quot;Sparky&quot; Anderson Field on Jan. 20, 2009, in Thousand Oaks, Calif.  The Kingsmen defeated the Warriors 6 - 5 after a close scare in the 8th inning when Westmont scored 3 runs.";
Caption[6]  = "Loyola Marymount University Lions player Tina Razloznik serves during the first set of her match against California Polytechnic State University Mustangs player Brittany Blalock during a Women&rsquo;s Tennis match on February 14, 2009, at Cal Poly in San Luis Obispo, Calif. Blalock won the match 2 sets to 1.";
Caption[7]  = "Destany Cearly, left, and Kelly Thomson, of California State University, Fullerton, console each other after both lost the women&rsquo;s 400-meter Hurdles at the University of California, Santa Barbara Track & Field Big West Challenge Cup on Apr. 10, 2004 at the University of California, Santa Barbara, in Goleta, Calif.";
Caption[8]  = "Brooke Langston dives for a ball during a scrimmage on April 4, 2009 at the California State University Long Beach courts in Long Beach, Calif.  Langston competes on the AVP Tour and lives in Hermosa Beach, Calif.";
Caption[9]  = "AVP Volleyball Player, Jenny Krop, poses for a portrait at the Long Beach State courts in Long Beach, Calif., at dusk on Mar. 6, 2008.";
Caption[10] = "An Arizona State Sun Devil player swims for the ball during a water polo match against the UC Irvine Anteaters on Mar. 8, 2008 at the Anteater Aquatics Complex in Irvine, Calif.  The Anteaters beat the Sun Devils 10-9 in quadruple overtime.";
Caption[11] = "";
Caption[12] = "Registered Nurse and volunteer Annette Haag of Simi Valley, Calif. gets ready for a shift at the Free Clinic of Simi Valley in Simi Valley, Calif.";
Caption[13] = "Registered Nurse Annette Haag of Simi Valley, Calif. comforts Andrew Chen after giving an immunization at the Free Clinic of Simi Valley in Simi Valley, Calif.";
Caption[14] = "Cecilia Galella comforts her daughter Julia while Registered Nurse Annette Haag puts the last bandaid on Julia&rsquo;s leg.  Julia received eight shots to get her caught up with her immunizations.  Cecilia, who works two jobs, is a typical patient of the free clinic that consists mostly of lower to middle class working people who either cannot afford health insurance or cannot afford the deductables or co-pays that their insurance plans require.";
Caption[15] = "Registered Nurse Annette Haag checks the blood pressure of Roberto Reyno at the Free Clinic of Simi Valley in Simi Valley, Calif.";
Caption[16] = "Annette Haag prepares dog food for her two dogs at home in Simi Valley, Calif.  Haag lives alone after getting divorced from her husband four years ago.";
Caption[17] = "Annette Haag spends some time with one of her two dogs at her home in Simi Valley, Calif.  Haag lives alone after getting divorced from her husband four years ago.";
Caption[18] = "Annette Haag of Simi Valley, Calif., has a quiet moment during a church service at the OneSpirit church in Simi Valley, Calif.";
Caption[19] = "Annette Haag of Simi Valley listens to the lecture of Pastor Dr. Dennis Jones during a service at the OneSpirit church in Simi Valley, Calif.";
Caption[20] = "Medical Technician Lupita Gonzales, left, and Registered Nurse Annette Haag, right, prepare to give a series of immunizations to Melissa Gonzales at the Free Clinic of Simi Valley in Simi Valley, Calif.  The clinic gives immunizations to all children up to age 18 regardless of their medical insurance status.";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="home") jss = 1;
if (how=="next") jss = jss + 1;
if (how=="prev") jss = jss - 1;
if (jss > (pss)) jss = pss;
if (jss < 1) jss = 1;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}
