var images = new Array
var comments = new Array

images[1] = "http://www.elboroom.com/webcams/"
comments[1] = "Elbo Room, Fort Lauderdale Beach"
images[2] = "http://www.nps.gov/yell/oldfaithfulcam.htm"
comments[2] = "Old Faithful, Yellowstone National Park"
images[3] = "http://www.pikespeakcam.com/"
comments[3] = "Pike's Peak, Colorado"
images[4] = "http://www.sundiegolive.com/"
comments[4] = "San Diego, California"
images[5] = "http://www.earthcam.com/usa/newyork/timessquare/"
comments[5] = "Times Square, New York City"
images[6] = "http://www.vps.it/cupolalive/"
comments[6] = "Forence, Italy"
images[7] = "http://www.keywestlivecam.com/HTML/main_frameset.htm"
comments[7] = "Key West Live Cam"
images[8] = "http://www.electricearl.com/"
comments[8] = "Los Angeles, California"
images[9] = "http://www.sun-sentinel.com/news/sfl-webcam3.htmlstory"
comments[9] = "Fort Lauderdale, Florida"
images[10] = "http://www.abcparislive.com/eiffel_tower_webcams.htm"
comments[10] = "Eiffel Tower, Paris"
images[11] = "http://www.parispourvous.net/index.php?wpe=a33"
comments[11] = "Bridges over the Seine, Paris"
images[12] = "http://www.parispourvous.net/index.php?wpe=a34"
comments[12] = "Rue de Rivoli, Paris"

// Get the number of webcams in the array links[].
var maxcams = images.length;

function showCam(selIndex){
	var thiscam = selIndex + 1;
	var thiscomment = wc.options[thiscam];
	var image = images[thiscam];
	var comment = comments[thiscam];

	var href = '<br><center><A HREF="' + image + '"><IMG SRC="' + image + '"border="0"></a>'
	href += '<br><p><b><font face="Verdana" size="3">' + comment + '</font></b></center>'
	href += '<p><center><font face="Verdana" size="2">(Click Refresh after a minute or two. The scene may change)</center>'

	var href = '<br><br><center><b><font size="5">Click here for LIVE views of</b><br><br><A HREF="' + image + '">' + comment + '</a></font>';
//alert (href);
	document.write(href);
}

//<p><b><font size="5">Click here for LIVE views of </font></b></p>


var page = ''
page += '<center>'
page += '<p>'
//page += '<br><select size="1" name="wc">';
page += '<select size="1" name="wc">';
for (var i=1; i<maxcams; i++){
	page += '<option value="' + images[i] + '">' + comments[i]
}
page += '</select>';
page += '<br>';
page += '<input type="button" value="View LIVE Webcams ! !" ONCLICK="showCam(wc.selectedIndex)">';
page += '<p></center>';
document.write(page)

