// JavaScript Document

var numphotos = 67;
var low = 1;
var high = numphotos;
  function randomvalue(low, high) {
    return Math.floor(Math.random() * (1 + high - low) + low);
  }
var randnum = randomvalue(low, high);


photos = new Array(numphotos+1);
photos[	1	] ="sm-images/Bild021.jpg"	
photos[	2	] ="sm-images/Bild033.jpg"	
photos[	3	] ="sm-images/Bild103.jpg"	
photos[	4	] ="sm-images/Bild129.jpg"	
photos[	5	] ="sm-images/Bild041.jpg"	
photos[	6	] ="sm-images/Bild138.jpg"	
photos[	7	] ="sm-images/cooltulip.jpg"	
photos[	8	] ="sm-images/DCP_0068.jpg"
photos[	9	] ="sm-images/DCP_0167.jpg"	
photos[	10	] ="sm-images/DCP_0205.jpg"
photos[ 11  ] ="sm-images/DCP_0219.jpg"
photos[ 12  ] ="sm-images/DCP_0243.jpg"
photos[ 13  ] ="sm-images/DCP_0275.jpg"
photos[ 14  ] ="sm-images/DCP_0288.jpg"
photos[ 15  ] ="sm-images/DCP_0290.jpg"
photos[ 16  ] ="sm-images/DCP_0293.jpg"
photos[ 17  ] ="sm-images/DCP_0336.jpg"
photos[ 18  ] ="sm-images/DCP_0392.jpg"
photos[ 19  ] ="sm-images/DCP_0397.jpg"
photos[ 20  ] ="sm-images/DCP_0397_2.jpg"
photos[ 21  ] ="sm-images/DCP_0426.jpg"
photos[ 22  ] ="sm-images/DCP_0440.jpg"
photos[ 23  ] ="sm-images/DCP_0485.jpg"
photos[ 24  ] ="sm-images/DCP_0494-k.jpg"
photos[ 25  ] ="sm-images/DCP_0505.jpg"
photos[ 26  ] ="sm-images/DCP_0507.jpg"
photos[ 27  ] ="sm-images/DCP_0515.jpg"
photos[ 28  ] ="sm-images/DCP_0595.jpg"
photos[ 29  ] ="sm-images/DCP_0615.jpg"
photos[ 30  ] ="sm-images/DCP_0628.jpg"
photos[ 31  ] ="sm-images/DCP_0668.jpg"
photos[ 32  ] ="sm-images/DCP_0670.jpg"
photos[ 33  ] ="sm-images/DCP_0689.jpg"
photos[ 34  ] ="sm-images/DCP_0696.jpg"
photos[ 35  ] ="sm-images/DCP_0752.jpg"
photos[ 36  ] ="sm-images/DCP_0766.jpg"
photos[ 37  ] ="sm-images/DCP_0788.jpg"
photos[ 38  ] ="sm-images/DCP_0804.jpg"
photos[ 39  ] ="sm-images/DCP_0842.jpg"
photos[ 40  ] ="sm-images/DCP_0846.jpg"
photos[ 41  ] ="sm-images/DCP_0871.jpg"
photos[ 42  ] ="sm-images/DCP_0897.jpg"
photos[ 43  ] ="sm-images/DCP_0898.jpg"
photos[ 44  ] ="sm-images/DCP_0974.jpg"
photos[ 45  ] ="sm-images/DCP_1002.jpg"
photos[ 46  ] ="sm-images/DCP_1022.jpg"
photos[ 47  ] ="sm-images/DCP_1031.jpg"
photos[ 48  ] ="sm-images/DCP_1068.jpg"
photos[ 49  ] ="sm-images/DCP_1100.jpg"
photos[ 50  ] ="sm-images/DCP_1132.jpg"
photos[ 51  ] ="sm-images/DCP_1164.jpg"
photos[ 52  ] ="sm-images/DCP_1210.jpg"
photos[ 53  ] ="sm-images/DCP_1255.jpg"
photos[ 54  ] ="sm-images/DCP_1282.jpg"
photos[ 55  ] ="sm-images/DCP_1291.jpg"
photos[ 56  ] ="sm-images/DCP_1293.jpg"
photos[ 57  ] ="sm-images/DCP_1365.jpg"
photos[ 58  ] ="sm-images/DCP_1417.jpg"
photos[ 59  ] ="sm-images/DCP_1446.jpg"
photos[ 60  ] ="sm-images/DCP_1549.jpg"
photos[ 61  ] ="sm-images/DCP_1562.jpg"
photos[ 62  ] ="sm-images/DCP_1564.jpg"
photos[ 63  ] ="sm-images/DCP_1635.jpg"
photos[ 64  ] ="sm-images/DCP_1720.jpg"
photos[ 65  ] ="sm-images/DCP_2167.jpg"
photos[ 66  ] ="sm-images/Janeywindow.jpg"
photos[ 67  ] ="sm-images/Picture030.jpg"

comments = new Array(numphotos+1);
comments[	1	] ="Steam train in Germany."	
comments[	2	] ="Pigs on a Swiss farm."	
comments[	3	] ="sm-images/Bild103.jpg"	
comments[	4	] ="Alaska mountain in the clouds."	
comments[	5	] ="Swiss man making cheese the old way."	
comments[	6	] ="Hiking up Schilthorn in Gimmelwald, Switzerland."	
comments[	7	] ="Modified image of a tulip."	
comments[	8	] ="Old graineries along the Wisla River in Grudziadz, Poland."
comments[	9	] ="Keyhole in Arches, Utah."	
comments[	10	] ="Alaska Wild Rose."
comments[ 11  ] ="Alaska Wild Irises."
comments[ 12  ] ="Sheep crossing in Germany."
comments[ 13  ] ="Fixer upper in Western Washington state."
comments[ 14  ] ="View from tower in Sibiu, Romania."
comments[ 15  ] ="View from tower in Sibiu, Romania."
comments[ 16  ] ="Inside an Orthodox church in Sibiu, Romania."
comments[ 17  ] ="Water droplets on wild lupin plant."
comments[ 18  ] ="Josh after a 'refreshing' look at a waterfall."
comments[ 19  ] ="Waterfall in Alberta, Canada."
comments[ 20  ] ="Inside a Swedish 'stooga' near Jönköping, Sweden."
comments[ 21  ] ="Wet dog and boat."
comments[ 22  ] ="Views from the Glacier Hwy in Alberta, Canada."
comments[ 23  ] ="Glacier bus on Athabasca Glacier, Alberta, Canada."
comments[ 24  ] ="A field of Lupin in Holsby Brunn, near Vetlanda, Sweden."
comments[ 25  ] ="Waterfall rainbow somewhere on the drive through Alberta, Canada."
comments[ 26  ] ="Moose in tourist trap - Sweden."
comments[ 27  ] ="Kung Foo posed Praying Mantiss on sidewalk in Winston-Salem, NC."
comments[ 28  ] ="Bug's view of the Alaska Highway in Yukon, Canada."
comments[ 29  ] ="The majestic Wrangell-St. Elias mountains in Alaska."
comments[ 30  ] ="A reflecting pond somewhere on the ALCAN highway."
comments[ 31  ] ="Fall foilage - ALCAN highway."
comments[ 32  ] ="Reflecting pond somewhere on the ALCAN highway."
comments[ 33  ] ="Butterfly pickpocket."
comments[ 34  ] ="Birch from below."
comments[ 35  ] ="Courthouse in Lexington, NC."
comments[ 36  ] ="Tracker - best dog I ever knew."
comments[ 37  ] ="Mount McKinley in my rearview mirror. I swear it is much bigger in person."
comments[ 38  ] ="Flags over Gstaad, Switzerland."
comments[ 39  ] ="Man with Alp horn in Gstadd, Switzerland."
comments[ 40  ] ="Beetle on the trail of Stone Mountain, NC."
comments[ 41  ] ="Woolly worm in North Carolina."
comments[ 42  ] ="Up a tree in Winston-Salem, NC."
comments[ 43  ] ="Fachwork house in Old Salem, Winston-Salem, NC."
comments[ 44  ] ="Ocean Isle Beach, NC."
comments[ 45  ] ="Frozen lake near Glenallen, AK."
comments[ 46  ] ="'Gotta Go' porta-potty - Salisbury, NC."
comments[ 47  ] ="Clouded mountain near Glenallen, AK."
comments[ 48  ] ="Cable all suited up to go out and play - Eagle River, AK."
comments[ 49  ] ="Hanging basket in Provence, France."
comments[ 50  ] ="Peeking peacock in gardens near Heidelberg, Germany."
comments[ 51  ] ="Mail time in Anchorage, AK."
comments[ 52  ] ="Visitor in Anchorage, AK."
comments[ 53  ] ="Six foot tall fireweed in Anchorage, AK."
comments[ 54  ] ="A view of Mount McKinley over the Talkeetna River."
comments[ 55  ] ="Boys, puppy and a ball."
comments[ 56  ] ="Swinging a pinwheel from the wrong end."
comments[ 57  ] ="Flattop Mountain, Anchorage, AK."
comments[ 58  ] ="A bright mushroom on the Turnagin Arm, Alaska."
comments[ 59  ] ="Petunias in the rain, Anchorage, AK."
comments[ 60  ] ="A strange assortment of drinks in the Kandern, Germany."
comments[ 61  ] ="VW bug hubcap, Terrell, TX."
comments[ 62  ] ="Game night, Terrell, TX."
comments[ 63  ] ="On the drive to Circle, Alaska."
comments[ 64  ] ="My parents, husband and I on the Little Su River, Alaska."
comments[ 65  ] ="Self portrait with husband, brother and sister in law and niece."
comments[ 66  ] ="Girl in a window in Grudiadz, Poland."
comments[ 67  ] ="Part of a Swedish smörgåsbord."

thisphoto = randnum;
document.write("<img src="+ photos[thisphoto]  + ">" + "<br>" + comments[thisphoto]);

//  End -->

<!--

/*
Auto Refresh Page with Time script
By JavaScript Kit (javascriptkit.com)
Over 200+ free scripts here!
*/

//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
var limit="0:08"

if (document.images){
	var parselimit=limit.split(":")
	parselimit=parselimit[0]*60+parselimit[1]*1
	}
function beginrefresh(){
	if (!document.images)
	return
	if (parselimit==1)
	window.location.reload()
	else{ 
	parselimit-=1
	curmin=Math.floor(parselimit/60)
	cursec=parselimit%60
	if (curmin!=0)
	curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
	else
	curtime=cursec+" seconds left to view this photo!"
	window.status=curtime
	setTimeout("beginrefresh()",1000)
	}
	}

window.onload=beginrefresh
