            /* Random image each time page is loaded
             * written by Tim Buck
             * 5/11/2010
             */
				  // CONFIG: Set ic to number of available images
				  var ic = 27;
                  var alttext = "";
                  var i = Math.floor(ic*Math.random() + 1);
                  // Image alt/title tag
                  switch (i) {
                    case 1:
                      iwidth = 300;
                      iheight = 200;
                      caption = "The Old School Gallery near Ramah and El Morro serves as an arts and community center for many residents in rural Western New Mexico.";
                      href = "photo_gallery.shtml?SWF=acoma/soundslider&width=890&height=728";
                      i = 1;
                      break;
                    case 2:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Dewey Cave, Interim Executive Director for the Mid-Region Council of Governments, gives a speech at the opening of the Kewa Rail Runner Station.";
                      href = "photo_gallery.shtml?SWF=kewa/soundslider&width=890&height=728";
                      i = 2;
                      break;
                    case 3:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Construction workers pour and smooth concrete for a pier at the I-40 Paseo del Volcan stimulus project.";
                      href = "photo_gallery.shtml?SWF=paseo_del_volcan/soundslider&width=890&height=728";
                      i = 3;
                      break;
                    case 4:
                      iwidth = 300;
                      iheight = 196;
                      caption = "Volunteers sort potatoes at the Roadrunner Food Bank in Albuquerque.";
                      href = "photo_gallery.shtml?SWF=roadrunner/soundslider&width=890&height=728";
                      i = 4;
                      break;
                    case 5:
                      iwidth = 300;
                      iheight = 222;
                      caption = "A carpenter at work framing new apartments for senior citizens in Albuquerque's Sawmill neighborhood.";
                      href = "photo_gallery.shtml?SWF=sawmill/soundslider&width=890&height=728";
                      i = 5;
                      break;
                    case 6:
                      iwidth = 300;


                      iheight = 209;
                      caption = "A construction crew assembling the 2 million gallon water tank at the new Southeast Albuquerque water project.";
                      href = "photo_gallery.shtml?SWF=water_tower/soundslider&width=890&height=728";
                      i = 6;
                      break;
                    case 7:
                      iwidth = 300;
                      iheight = 209;
                      caption = "Recovery Act dollars refurbish New Mexico airports.";
                      href = "photo_gallery.shtml?SWF=airports/soundslider&width=890&height=728";
                      i = 7;
                      break;					  
                    case 8:
                      iwidth = 300;
                      iheight = 214;
                      caption = "Project manager Joe Strobbe of Flintco (left) and Acoma Governor Chandler Sanchez in front of the new Acoma Community Center.";
                      href = "photo_gallery.shtml?SWF=acoma/soundslider&width=890&height=728";
                      i = 8;
                      break;
                    case 9:
                      iwidth = 300;
                      iheight = 221;
                      caption = "Students Mauri Ellingson and Aiessa Wages inspect a new plant while watering in the greenhouse at San Juan College's Outdoor Learning Center.";
                      href = "photo_gallery.shtml?SWF=outdoor_learning/soundslider&width=890&height=728";
                      i = 9;
                      break;
                    case 10:
                      iwidth = 300;
                      iheight = 213;
                      caption = "Kindergartners at Whittier Elementary School in Albuquerque check out their lunch offering in the cafeteria.";
                      href = "photo_gallery.shtml?SWF=whittier/soundslider&width=890&height=728";
                      i = 10;
                      break;
                    case 11:
                      iwidth = 300;
                      iheight = 214;
                      caption = "Mellarissa Wilson runs through the play area at the Mosaic family infant toddler program in Grants.";
                      href = "photo_gallery.shtml?SWF=family_infant/soundslider&width=890&height=728";
                      i = 11;
                      break;
                    case 12:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Beulah Prugle of Deming thanks volunteer Priscilla Parra after she delivered a meal on behalf of the Deming Senior Center.";
                      href = "photo_gallery.shtml?SWF=senior_center/soundslider&width=890&height=728";
                      i = 12;
                      break;
                    case 13:
                      iwidth = 300;
                      iheight = 199;
                      caption = "Alex Estrada quizzes classmates in a summer math class for 5th-graders at Central Elementary School in Lordsburg.";
                      href = "photo_gallery.shtml?SWF=lordsburg/soundslider&width=890&height=728";
                      i = 13;
                      break;
                    case 14:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Vince Barela, foreman with Maddox Plumbing, installs gas meters at Falcon Ridge Apartments, which will provide affordable housing for up to 72 families.";
                      href = "photo_gallery.shtml?SWF=falcon_ridge/soundslider&width=890&height=728";
                      i = 14;
                      break;
                    case 15:
                      iwidth = 300;
                      iheight = 200;
                      caption = "At the Mountainair Senior Center in Torrance County, friends chat while working on a quilt.";
                      href = "photo_gallery.shtml?SWF=torrance_senior/soundslider&width=890&height=728";
                      i = 15;
                      break;
                    case 16:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Juan Mata hands out paychecks to employees at the end of the week at the Carnuel Water Systems Improvement Project.";
                      href = "photo_gallery.shtml?SWF=carnuel/soundslider&width=890&height=728";
                      i = 16;
                      break;
                    case 17:
                      iwidth = 300;
                      iheight = 200;
                      caption = "A chainsaw operator pushes down a tree in the Valles Caldera in Northern New Mexico, as part of a tree-thinning project to promote healthy forests and reduce the risk of wildfire.";
                      href = "photo_gallery.shtml?SWF=santa_clara/soundslider&width=890&height=728";
                      i = 17;
                      break;
                    case 18:
                      iwidth = 300;
                      iheight = 200;
                      caption = "A crew of researchers from New Mexico Tech sets up for another day of testing at a 1,100-foot deep geothermal well near the campus.";
                      href = "photo_gallery.shtml?SWF=geothermal/soundslider&width=890&height=728";
                      i = 18;
                      break;
                    case 19:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Southern New Mexico's brilliant sun powers a new hot water solar system at Silver City High School.";
                      href = "photo_gallery.shtml?SWF=silver_city_schools/soundslider&width=890&height=728";
                      i = 19;
                      break;
                    case 20:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Sunflowers grow alongside a saltwater evaporation pond at the Waste Isolation Pilot Plant in Eddy County.";
                      href = "photo_gallery.shtml?SWF=wipp/soundslider&width=890&height=728";
                      i = 20;
                      break;
                    case 21:
                      iwidth = 300;
                      iheight = 200;
                      caption = "An F-22 lands nearby as construction crews work building new runways at Holloman Air Force Base in Otero County.";
                      href = "photo_gallery.shtml?SWF=holloman_afb/soundslider&width=890&height=728";
                      i = 21;
                      break;
                    case 22:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Lovington Schools math intervention specialist Maggie Clayton 'high-fives' a student for correct chalk measurements on the sidewalk which helped solve a math problem.";
                      href = "photo_gallery.shtml?SWF=lovington_schools/soundslider&width=890&height=728";
                      i = 22;
                      break;
                    case 23:
                      iwidth = 300;
                      iheight = 200;
                      caption = "Construction of a new wastewater treatment plant for the City of Ruidoso Downs and Village of Ruidoso has been a community priority for many years.";
                      href = "photo_gallery.shtml?SWF=ruidoso_wastewater/soundslider&width=890&height=728";
                      i = 23;
                      break;
                    case 24:
                      iwidth = 300;
                      iheight = 217;
                      caption = "Connie Otero, left, discusses her resume with Carmen Flores, a job coach at Goodwill Industries of New Mexico.";
                      href = "photo_gallery.shtml?SWF=goodwill/soundslider&width=890&height=728";
                      i = 24;
                      break;
                    case 25:
                      iwidth = 300;
                      iheight = 200;
                      caption = "New Santa Fe Police Department recruits finish a morning run before a day of more training and classroom work.";
                      href = "photo_gallery.shtml?SWF=sf_police/soundslider&width=890&height=728";
                      i = 25;
                      break;
                    case 26:
                      iwidth = 300;
                      iheight = 200;
                      caption = "AppleTree Educational Center is just one of the many accredited preschools statewide to benefit from Recovery Act funds.";
                      href = "photo_gallery.shtml?SWF=appletree/soundslider&width=890&height=728";
                      i = 26;
                      break;
                    case 27:
                      iwidth = 300;
                      iheight = 200;
                      caption = "David Bates, owner of EcoSphere, interviews a job candidate at his Taos office. The candidate, Sean Murray, was later offered a job with the company.";
                      href = "photo_gallery.shtml?SWF=weatherization/soundslider&width=890&height=728";
                      i = 27;
                      break;
                  }
                  printf("<a href=\"%s\"><img src=\"/images/thumbnails/img_%02d.jpg\" ", href, i);
                  printf("width=\"%d\" height=\"%d\" alt=\"%s\" title=\"%s\"></a>\n", iwidth, iheight, caption, caption);

