// scripts for scaning pictures
var picNums = new Array();
var picCaps = new Array();
var i=0;
picNums[i] = 1087; picCaps[i] = 'The Clarksville Welcome Center. Closed.'; i++;
picNums[i] = 1089; picCaps[i] = 'The Missouri River as seen from Victor\'s Point near Louisiana, MO'; i++;
picNums[i] = 1095; picCaps[i] = 'Karen, the fire bringer'; i++;
picNums[i] = 1098; picCaps[i] = 'Dan and Karen pose by the fire'; i++;
picNums[i] = 1101; picCaps[i] = 'Morning mists rise from the Missouri'; i++;
picNums[i] = 1104; picCaps[i] = 'Peaceful dawn campsite'; i++;
picNums[i] = 1106; picCaps[i] = 'Atop the picnic table, a companion basks in the rising sun as I set up my laptop'; i++;
picNums[i] = 1107; picCaps[i] = 'Silly man, with laptop and cell phone. Getting away from it all, indeed!'; i++;
picNums[i] = 1110; picCaps[i] = 'A misty meadow the morning after WTC day'; i++;
picNums[i] = 1113; picCaps[i] = 'Karen picks wild plums behind a rest area off of I-80 in Iowa'; i++;
picNums[i] = 1114; picCaps[i] = 'The first of several shots of the Old Dutch Mill in Elk Horn, IA'; i++;
picNums[i] = 1115; picCaps[i] = 'Inside of the Old Dutch Mill in Elk Horn, IA. Looking up at the peak of the turret.'; i++;
picNums[i] = 1121; picCaps[i] = 'Looking along the sail of the mill'; i++;
picNums[i] = 1122; picCaps[i] = 'Note the crab apples in season, the flags at half mast, and the fine weather we had to start out our trip'; i++;
picNums[i] = 1125; picCaps[i] = 'Standing in the rain, overlooking the loess hills of western Iowa, Karen pauses to identify the 3 states visible'; i++;
picNums[i] = 1141; picCaps[i] = 'The cattle on the left give scale to the huge longhorn sculpture visible from I-90 in eastern South Dakota'; i++;
picNums[i] = 1142; picCaps[i] = 'The welcome sign for the sculpture garden containing the previous bull'; i++;
picNums[i] = 1143; picCaps[i] = 'Mitchell, SD, home of the Corn Palace. All the decorations on the exterior are composed of ears of corn.'; i++;
picNums[i] = 1144; picCaps[i] = 'The 2002 decorative panels are under construction'; i++;
picNums[i] = 1146; picCaps[i] = 'Parking lot sculpture at the Cabela\'s in Mitchell, SD'; i++;
picNums[i] = 1150; picCaps[i] = 'Overwhelmed travellers at the coffee shop in Cabela\'s'; i++;
picNums[i] = 1151; picCaps[i] = 'Cabela\'s again. Karen posing at the central display'; i++;
picNums[i] = 1155; picCaps[i] = 'The plastic bison by the road, seen in the morning rain at Al\'s Oasis by the Missouri river (which is called Lake Francis Case here abouts). Note the scale of the semi'; i++;
picNums[i] = 1156; picCaps[i] = 'The sign says &quot;Beware Of Poisonous Snakes&quot; on this walkway to a scenic overlook over Lake Francis Case'; i++;
picNums[i] = 1157; picCaps[i] = 'Karen mines the soggy parking lot for pretty stones by the closed-for-the-season ghost town near Okaton, SD'; i++;
picNums[i] = 1160; picCaps[i] = 'Train tracks peek through the grasses in the foreground, with the rotting train station (right) and ghost town (left)'; i++;
picNums[i] = 1165; picCaps[i] = 'Taking doggy for a walk. Sculpture by the owner of an 1880\'s reconstructed village. Tourist bait, and movie set.'; i++;
picNums[i] = 1167; picCaps[i] = 'Taking doggy for a walk, closer view'; i++;
picNums[i] = 1170; picCaps[i] = 'A man outstanding in the field. <br>Big plains and prairies, here in South Dakota, land of the Little House series'; i++;
picNums[i] = 1172; picCaps[i] = 'Wall, SD. Home of fabled Wall Drugs'; i++;
picNums[i] = 1173; picCaps[i] = 'Ever wonder why the Jackalope is extinct? This wall in Wall Drug may hold a clue.'; i++;
picNums[i] = 1184; picCaps[i] = 'The Badlands in South Dakota are really this colorful'; i++;
picNums[i] = 1185; picCaps[i] = 'Note the little, grassy mesas among the apparently forbidding erosion in the Badlands'; i++;
picNums[i] = 1188; picCaps[i] = 'Yes, Dan will walk a narrow path with steep drops on either side for a photo op'; i++;
picNums[i] = 1193; picCaps[i] = 'Karen poses on the edge, with the Badlands behind her'; i++;
picNums[i] = 1198; picCaps[i] = 'These cows on a Badlands mesa started running away once I pointed my camera'; i++;
picNums[i] = 1200; picCaps[i] = 'Hilltops lost in clouds as we take a break by Bridal Veil Falls in the Black Hills of South Dakota'; i++;
picNums[i] = 1203; picCaps[i] = 'Roughlock falls harbor ferns and other rainforest-like flora'; i++;
picNums[i] = 1204; picCaps[i] = 'Duh'; i++;
picNums[i] = 1205; picCaps[i] = 'Although we got about 40 mpg, the vehicle on the right ran on compressed air for many decades down in the mines in Lead, SD'; i++;
picNums[i] = 1206; picCaps[i] = 'Looking down the main street of Lead, SD, you can make out the mine head (elevator shaft) like a hazy chimney on the ridge in the distance'; i++;
picNums[i] = 1207; picCaps[i] = 'Low clouds, or high hills, make the ground wet, but those working 8400\' below don\'t really notice'; i++;
picNums[i] = 1210; picCaps[i] = 'Our first view of Black Hills sculpture projects, just North of the town of Custer'; i++;
picNums[i] = 1216; picCaps[i] = 'While daddy checks licenses (next picture) junior takes refreshments'; i++;
picNums[i] = 1217; picCaps[i] = '&quot;License and registration, please&quot;'; i++;
picNums[i] = 1221; picCaps[i] = 'Northbound on the Iron Mountain Highway is the best approach to Mount Rushmore'; i++;
picNums[i] = 1227; picCaps[i] = 'Notice that Abe and Teddy seem to have something going on'; i++;
picNums[i] = 1229; picCaps[i] = 'Another shot of the four famous faces'; i++;
picNums[i] = 1236; picCaps[i] = 'This may take a while to load, but the level of detail lets you see the veins of quartz and silver ores which blemish the complexions of these guys, especially Lincoln.<br>Note the trees, and the row of pigeons perched beneath Jefferson\'s chin'; i++;
picNums[i] = 1239; picCaps[i] = 'Although everyone takes this shot, I liked it'; i++;
picNums[i] = 1248; picCaps[i] = 'Faces over the aisle of flags. There were little shrines beneath the New York and Pennsylvania flags'; i++;
picNums[i] = 1253; picCaps[i] = 'A prayer meeting at the Rushmore ampitheatere for the WTC event'; i++;
picNums[i] = 1258; picCaps[i] = 'Anyone not seen the movie &quot;Michael&quot;?'; i++;
picNums[i] = 1261; picCaps[i] = 'I was taking a short-cut to the car, and stumbled onto their retreat'; i++;
picNums[i] = 1264; picCaps[i] = 'Leaving Rushmore. Note the textural difference between the weathered rock, and the relatively fresh carving'; i++;
picNums[i] = 1267; picCaps[i] = 'A needle on the Needles Highway'; i++;
picNums[i] = 1272; picCaps[i] = 'Same needle (on right) seen from a goodly climb above the overlook'; i++;
picNums[i] = 1274; picCaps[i] = 'Me, up from where I\'d taken the previous picture'; i++;
picNums[i] = 1275; picCaps[i] = 'Another shot of rocks from the Needles Highway'; i++;
picNums[i] = 1278; picCaps[i] = 'Karen cavorting in the Black Hills'; i++;
picNums[i] = 1279; picCaps[i] = 'Another shot of rocks from the Needles Highway'; i++;
picNums[i] = 1280; picCaps[i] = 'Oh, deer'; i++;
picNums[i] = 1281; picCaps[i] = 'And we visited the Crazy Horse Indian museum'; i++;
picNums[i] = 1284; picCaps[i] = 'Here\'s the working model shown against the mountain which already shows 50 years of progress'; i++;
picNums[i] = 1287; picCaps[i] = 'Down in the Mammoth pit near Hot Springs, SD'; i++;
picNums[i] = 1290; picCaps[i] = 'Up at the gift store of the Mammoth site'; i++;
picNums[i] = 1294; picCaps[i] = 'Vermin, or too cute to kill? The prairie dog question goes unanswered'; i++;
picNums[i] = 1297; picCaps[i] = 'Near the top of a fire tower, high on a hill in the Black Hills'; i++;
picNums[i] = 1300; picCaps[i] = 'Lawn need mowing?'; i++;
picNums[i] = 1305; picCaps[i] = '&quot;Strictly enforced&quot;'; i++;
picNums[i] = 1311; picCaps[i] = '&quot;What?&quot;'; i++;
picNums[i] = 1314; picCaps[i] = '&quot;This land is our land&quot;'; i++;
picNums[i] = 1317; picCaps[i] = 'Enough, already?'; i++;
picNums[i] = 1319; picCaps[i] = 'Bison cresting a hill'; i++;
picNums[i] = 1323; picCaps[i] = 'Another traffic stop'; i++;
picNums[i] = 1325; picCaps[i] = 'More than enough, already'; i++;
picNums[i] = 1330; picCaps[i] = 'Antelope play'; i++;
picNums[i] = 1336; picCaps[i] = 'Devil\'s Tower Light'; i++;
picNums[i] = 1338; picCaps[i] = 'Devil\'s Tower Dark'; i++;
picNums[i] = 1339; picCaps[i] = 'Devil\'s Tower Detail'; i++;
picNums[i] = 1341; picCaps[i] = 'A hawk between Dan\'s new hat and the top'; i++;
picNums[i] = 1346; picCaps[i] = 'First view of mountains, the Big Horns'; i++;
picNums[i] = 1347; picCaps[i] = 'Buffalo, WY: The Mansion House Inn Lobby. See Karen in our room to the right.'; i++;
picNums[i] = 1348; picCaps[i] = 'Buffalo, WY: Dan in the Mansion House Inn stairwell'; i++;
picNums[i] = 1352; picCaps[i] = 'Buffalo, WY: The Mansion House Inn '; i++;
picNums[i] = 1354; picCaps[i] = 'Buffalo, WY: The Mansion House Inn Breakfast room. Note the curved radiator and ceilings'; i++;
picNums[i] = 1357; picCaps[i] = 'First sight of snow on mountains'; i++;
picNums[i] = 1358; picCaps[i] = 'About 10,000\' up on sharp edged, vocanic rocks'; i++;
picNums[i] = 1360; picCaps[i] = 'A pass up on the rock pile'; i++;
picNums[i] = 1364; picCaps[i] = 'Looking back down to the car at Powder River Pass'; i++;
picNums[i] = 1365; picCaps[i] = 'Karen likes to play the slots'; i++;
picNums[i] = 1368; picCaps[i] = 'Thermopolis hot spring. The hill reads:<br>&quot;orld\'s Largest Mineral Hot Spring&quot;'; i++;
picNums[i] = 1369; picCaps[i] = 'See the old bridge beyond the sulphurous terraces'; i++;
picNums[i] = 1370; picCaps[i] = 'See the terraces from the old bridge'; i++;
picNums[i] = 1373; picCaps[i] = 'Downtown Thermopolis, t-rex, murals, and mesa backdrop'; i++;
picNums[i] = 1374; picCaps[i] = 'The Wyoming Dinosaur Museum'; i++;
picNums[i] = 1375; picCaps[i] = 'Karen moves rightward to avoid being mistaken for an appetizer'; i++;
picNums[i] = 1376; picCaps[i] = 'The free hot spring pool in Thermopolis'; i++;
picNums[i] = 1377; picCaps[i] = '&quot;Holy City&quot; breccia erosion formation. Very old rocks. Windy day.'; i++;
picNums[i] = 1386; picCaps[i] = 'Inside our Yellowstone Lake cabin'; i++;
picNums[i] = 1387; picCaps[i] = 'Outside our Yellowstone Lake shabby cabin'; i++;
picNums[i] = 1388; picCaps[i] = 'Entering the West Thumb Geyser Basin in the morning'; i++;
picNums[i] = 1390; picCaps[i] = 'West Thumb geysers are big, but mellow.'; i++;
picNums[i] = 1392; picCaps[i] = '&quot;Paint pots&quot;, colorful algae, and yellowstone lake just beyond'; i++;
picNums[i] = 1396; picCaps[i] = 'Deep geyser pools full of clear, hot mineral water'; i++;
//picNums[i] = 1399; picCaps[i] = 'left'; i++;
//picNums[i] = 1400; picCaps[i] = 'center'; i++;
//picNums[i] = 1401; picCaps[i] = 'right'; i++;
picNums[i] = 1403; picCaps[i] = 'Obligatory snapshot of Old Faithful'; i++;
picNums[i] = 1405; picCaps[i] = 'A view inside Old Faithful Inn, the world\'s largest log cabin'; i++;
picNums[i] = 1408; picCaps[i] = 'The Old Faithful Inn behind a bubbling geyser spout'; i++;
picNums[i] = 1409; picCaps[i] = 'Some of the geysers around the Old Faithful area'; i++;
picNums[i] = 1410; picCaps[i] = 'More detail in the Old Faithful Inn'; i++;
picNums[i] = 1411; picCaps[i] = 'Elk by the water. Note the recovering forest, which burned off in the late 1980\'s'; i++;
picNums[i] = 1415; picCaps[i] = 'One Elk'; i++;
picNums[i] = 1416; picCaps[i] = 'Two elk (female across the water)'; i++;
picNums[i] = 1419; picCaps[i] = 'Bison in the fast lane'; i++;
picNums[i] = 1421; picCaps[i] = 'Many geysers in the Midway Geyser Basin. Bison on the right.'; i++;
picNums[i] = 1422; picCaps[i] = 'Hot water meets cool as the sun melts the frost'; i++;
picNums[i] = 1423; picCaps[i] = 'Karen on the boardwalk, feeling the spray, smelling the sulphur, hearing the hiss and burble.'; i++;
picNums[i] = 1424; picCaps[i] = 'Bison ignore the &quot;Keep Off&quot; signs'; i++;
picNums[i] = 1425; picCaps[i] = 'Cascades from the Grand Prismatic Spring (note the trees?)'; i++;
picNums[i] = 1426; picCaps[i] = 'Geyser, dead trees, mountains, sky, river, bison. What else could you want?'; i++;
picNums[i] = 1428; picCaps[i] = 'Hot stream showing colors of algae at different depths/temperatures'; i++;
picNums[i] = 1433; picCaps[i] = 'One of two closely timed shots of a geyser'; i++;
picNums[i] = 1434; picCaps[i] = '2nd of two closely timed shots of a geyser'; i++;
picNums[i] = 1436; picCaps[i] = 'Essay in textures. Note the rays of light in the steam (most visible between the fence rails)'; i++;
picNums[i] = 1438; picCaps[i] = 'Texture of bacterial mats seen closely through the thin film of water'; i++;
picNums[i] = 1439; picCaps[i] = 'Texture of bacterial mats seen closely through the thin film of water'; i++;
picNums[i] = 1443; picCaps[i] = 'Fishpot geyser, still separate from the icy stream'; i++;
picNums[i] = 1446; picCaps[i] = 'Texture of bacterial mats seen closely through the thin film of water'; i++;
picNums[i] = 1448; picCaps[i] = 'Another view of the Fishpot geyser'; i++;
picNums[i] = 1447; picCaps[i] = 'Oh, deer'; i++;
picNums[i] = 1454; picCaps[i] = 'Old Faithful from the Inn. That\'s Karen on the lower left'; i++;
picNums[i] = 1461; picCaps[i] = 'Yellowstone Canyon, the lower falls from Artist\'s point'; i++;
picNums[i] = 1462; picCaps[i] = 'Yellowstone Canyon, the lower falls from Artist\'s point'; i++;
picNums[i] = 1464; picCaps[i] = 'Karen and the upper falls at Yellowstone Canyon'; i++;
picNums[i] = 1466; picCaps[i] = 'Down the Uncle Tom\'s trail, rainbow cast by the lower falls, note Karen in the dark down the steep steps'; i++;
picNums[i] = 1468; picCaps[i] = 'Yellowstone Canyon lower falls from the Uncle Tom Trail stairway (pant pant)'; i++;
picNums[i] = 1473; picCaps[i] = 'Dan climbed the rocks to take a shot of Karen at the upper falls'; i++;
picNums[i] = 1475; picCaps[i] = 'Last views of geysers in the (?) basin'; i++;
picNums[i] = 1476; picCaps[i] = 'Last views of geysers in the (?) basin'; i++;
picNums[i] = 1481; picCaps[i] = 'The original entry gate dedicated by Teddy R.'; i++;
picNums[i] = 1486; picCaps[i] = 'Elk at rest'; i++;
picNums[i] = 1487; picCaps[i] = 'Minor steam at Monmmoth Spring'; i++;
picNums[i] = 1488; picCaps[i] = 'Karen in the steam from Canary Spring'; i++;
picNums[i] = 1492; picCaps[i] = 'A calcite growth downstream from Canary Spring'; i++;
picNums[i] = 1493; picCaps[i] = 'Dried out Mammoth Springs'; i++;
picNums[i] = 1494; picCaps[i] = 'A more hopeful view of Mammoth Spring'; i++;
picNums[i] = 1496; picCaps[i] = 'Dried up terraces'; i++;
picNums[i] = 1498; picCaps[i] = 'Just a cool view'; i++;
picNums[i] = 1499; picCaps[i] = 'Another snapshot of a view I liked'; i++;
picNums[i] = 1501; picCaps[i] = 'Moose'; i++;
picNums[i] = 1502; picCaps[i] = 'Moose'; i++;
picNums[i] = 1503; picCaps[i] = 'Moose Hunter'; i++;
picNums[i] = 1510; picCaps[i] = 'The quaking aspens are turning autumnal'; i++;
picNums[i] = 1511; picCaps[i] = 'Karen says: The park is so-o big'; i++;
picNums[i] = 1513; picCaps[i] = 'View from Dead Indian Pass on the Chief Joseph Highway'; i++;
picNums[i] = 1514; picCaps[i] = 'More of Chief Joseph Highway'; i++;
picNums[i] = 1519; picCaps[i] = 'One of many (not included) shots I took of these hills'; i++;
picNums[i] = 1521; picCaps[i] = 'Welcome to Saratoga, WY free hot springs'; i++;
picNums[i] = 1522; picCaps[i] = 'Park benches are kept warm all year round'; i++;
picNums[i] = 1523; picCaps[i] = 'My Bill the Cat impression'; i++;
picNums[i] = 1525; picCaps[i] = 'Pudgy man in hot water with the wife (not shown)'; i++;
picNums[i] = 1527; picCaps[i] = 'Wildlife by the hot springs'; i++;
picNums[i] = 1528; picCaps[i] = 'Karen floats in the river, balanced between icy river water, and the flow from the hot springs via the pipe'; i++;
picNums[i] = 1532; picCaps[i] = 'Karen keeping cool, er warm, er cool. Depends on the currents'; i++;
picNums[i] = 1535; picCaps[i] = 'Karen enjoys the Hobo Springs.<br><a href="DCP_1535.gif">See the animation</a>'; i++;
picNums[i] = 1536; picCaps[i] = 'Karen enjoys the Hobo Spring.<br><a href="DCP_1535.gif">See the animation</a>'; i++;
picNums[i] = 1539; picCaps[i] = 'Hawk above the Snowy Range mountain pass in Medicine Bow Nat\'l Forest'; i++;
picNums[i] = 1542; picCaps[i] = 'Lookout at Snowy Range pass (elev 10,847)'; i++;
picNums[i] = 1545; picCaps[i] = 'Dinosaur Museum in the Geology Dept. of UW Laramie'; i++;
picNums[i] = 1546; picCaps[i] = 'Karen with a Stegosaurus'; i++;
picNums[i] = 1547; picCaps[i] = 'More dinos in Laramie'; i++;
picNums[i] = 1549; picCaps[i] = 'Lincoln memorial at a mountain pass rest area on I-80 east of Laramie'; i++;
picNums[i] = 1554; picCaps[i] = 'Karen leaned out the window to snap the Rocky Mountains as I followed Max home'; i++;
picNums[i] = 1560; picCaps[i] = 'Max\'s house'; i++;
picNums[i] = 1561; picCaps[i] = 'Fall Rivers Pass Visitor\'s Center in the Rockies'; i++;
picNums[i] = 1562; picCaps[i] = 'Karen got higher than Mount Hood'; i++;
picNums[i] = 1563; picCaps[i] = 'A view down the Tundra Trail'; i++;
picNums[i] = 1565; picCaps[i] = 'More mountains'; i++;
picNums[i] = 1567; picCaps[i] = 'As Michelangelo\'s Adam reached to god, so reaches a chipmunk to Karen'; i++;
picNums[i] = 1576; picCaps[i] = 'Down in the valley, so low. We hung our heads over ...'; i++;
picNums[i] = 1579; picCaps[i] = 'Another stripey mountain'; i++;
picNums[i] = 1580; picCaps[i] = 'Aspen, mountains'; i++;
picNums[i] = 1582; picCaps[i] = 'Aspens, mountains'; i++;
picNums[i] = 1584; picCaps[i] = 'Catholic church off of CO 72'; i++;
picNums[i] = 1588; picCaps[i] = 'Last stop in Denver. Last picture.'; i++;

var pixwin; // global, static

function drawPixPage(Index){
  pixwin = window.open("",'pixwin','scrollbars,resizable,status,toolbar');
  with (pixwin.document){
    open();
    writeln('<html><head>');
    writeln('<style>p {align:center; text-align:center;}');
    writeln('p.cap {margin-left:20%; margin-right:20%; }</style>');
    writeln('</head>');

    writeln('<body background="stones.jpg">');
    writeln('<p>');
    if (Index > 0){
      writeln('<a href="javascript:opener.drawPixPage(',Index-1,')"><img src="thumbs/DCP_',picNums[Index-1],'.jpg" height="40" align="center" /> Previous Picture</a> --');
    }
    writeln('<a href="javascript:opener.readAboutIt(',Index,');">Back to Journal at this picture</a>');
    if (Index < picNums.length - 1){
      writeln(' -- <a href="javascript:opener.drawPixPage(',Index+1,')">Next Picture <img src="thumbs/DCP_',picNums[Index+1],'.jpg" height="40" align="center" /></a>');
    }
    writeln('</p>');

    writeln('<p class="cap"><table border="0"><tr><td width="30" valign="top">',picNums[Index],': </td><td><b>',picCaps[Index],'</b></td></tr></table></p>');

    writeln('<p><img src="DCP_',picNums[Index],'.JPG" /></p>');

    if (Index < picNums.length - 1){//preload following picture in hidden area
      writeln(' <div style="display:none;"><img src="DCP_',picNums[Index+1],'.JPG" /></div>');
    }
    writeln('</body></html>');
    close();
  } // endwith
  pixwin.focus();
}//drawPage

function readAboutIt(Index){// activated from the journal page (opener. from pixwin)
  window.location = "journal.htm#p" + picNums[Index];
  pixwin.blur();//uses global var
  window.focus();
}//readAboutIt

function indexOfPicNum(PicNum){
  for (var i=0; i<picNums.length; i++){
    if (PicNum == picNums[i]){
        return i;
    }
  }//endfor
}//indexOfPicNum()

function thumbCode(Index){ // handles either index or picNum argument
  if (Index > 1000){
    Index = indexOfPicNum(Index);
  }
  document.write('<a href="javascript:drawPixPage(',Index,')" name="p',picNums[Index],'"><img src="thumbs/DCP_',picNums[Index],'.jpg"  border="2" height="80" ');
  if (picCaps[Index].indexOf('"')<0){ // alt text iff no double quotes
    document.write('alt="',picCaps[Index],'"');
  }
  document.writeln(' /></a> \n');
} //thumbCode

function closer(){
  if (pixwin) {
    pixwin.close();
  }
}//closer();


