{
function selectPic(sPic)
	{
	document.images['comic'].src = "comics/" + sPic
	}

var vPic = new Array();
var vCaption = new Array();
vPic[0] = "nonseq.gif";
vCaption[0] = "What Others Think Of You";
vPic[1] = "grimm.gif";
vCaption[1] = "Don't Ask--Don't Tell";
vPic[2] = "nonseq1.gif";
vCaption[2] = "In Enron's Wake";
vPic[3] = "nonseq2.gif";
vCaption[3] = "Times Are Tough All Over";
vPic[4] = "happy.gif";
vCaption[4] = "Assumptions";
vPic[5] = "grimm1.gif";
vCaption[5] = "Super Problems";
vPic[6] = "nonseq3.gif";
vCaption[6] = "Survivor--The New Reality";
vPic[7] = "nacho1.gif";
vCaption[7] = "Timing Is Everything";
vPic[8] = "grimm2.gif";
vCaption[8] = "The Myth Explained";
vPic[9] = "nonseq4.gif";
vCaption[9] = "Armchair Analysts";
vPic[10] = "nonseq5.gif";
vCaption[10] = "Search Engine Blues";
vPic[11] = "nonseq6.gif";
vCaption[11] = "Jurassic Tech Support";
vPic[12] = "grimm3.gif";
vCaption[12] = "Changing Priorities";
vPic[13] = "nonseq7.gif";
vCaption[13] = "1001 Good Uses For Lawyers--#1";
vPic[14] = "grimm4.gif";
vCaption[14] = "Monastery Service Calls";
vPic[15] = "nonseq8.gif";
vCaption[15] = "Poll-Watchers";
vPic[16] = "nonseq9.gif";
vCaption[16] = "You Get What You Pay For";
vPic[17] = "dilbert1.gif";
vCaption[17] = "Management By Walking Around";
vPic[18] = "grimm5.gif";
vCaption[18] = "Fad Diets";
vPic[19] = "dilbert2.gif";
vCaption[19] = "Give Customers What They Want";
vPic[20] = "mf1.gif";
vCaption[20] = "Atkins B.C.";
vPic[21] = "nonseq10.gif";
vCaption[21] = "Benefits of Self-Employment";
vPic[22] = "mf2.gif";
vCaption[22] = "The Spamazoic Era";
vPic[23] = "fuzzy1.gif";
vCaption[23] = "Googleopoloy";
vPic[24] = "foxtrot1.gif";
vCaption[24] = "Conspiracy Theory";
vPic[25] = "nonseq11.gif";
vCaption[25] = "Tourist Traps";
vPic[26] = "nonseq12.gif";
vCaption[26] = "On the Road...by Jack Frost";
vPic[27] = "dilbert3.gif";
vCaption[27] = "Information Prevention Service";

var iChoice = Math.floor(Math.random()*vPic.length);
var iPic = 0;
document.write("<div>");
document.write("<table border='0' cellpadding='10' cellspacing='0' width='90%'>");
document.write("<tr>")
document.write("<td width='100%' class = 'whitespace'>");

document.write("<select size='1' name='cboPics' onchange='selectPic(this.value);'");
    for (iX = vPic.length;iPic < iX;iPic++)
        {
	if (vPic[iChoice]==vPic[iPic])
		{
		            document.write("<option selected value='" + vPic[iPic] + "'>" + vCaption[iPic] + "</option>");
		}
	else
		{
		            document.write("<option value='" + vPic[iPic] + "'>" +vCaption[iPic] + "</option>");
		}      
      }
document.write("</select>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='100%'>");
document.write("<div><img class = 'comic' name='comic' border = '0' src = 'comics/" + vPic[iChoice] + "'></div>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");
}