// The following variables setup the dropdown caption, logo, and signup page

	var caption="Keen School"
	var signup="forums.keenspace.com/viewtopic.php?topic=17879&forum=152&66"
	var logo="gear.keenspace.com/images/scripts/keenschool.gif"

// Add your comics here, use this as a guide:
//	comicX=new Array("url","name of comic")
//    Replace X with the next number
//    Replace url with the address of the comic
//    Replace the name with the name of the comic

	comic0 = new Array("http://minorreality.keenspace.com","Minor Reality")
	comic1 = new Array("http://sundaeconnection.keenspace.com/","Sundae Connection")
	comic2 = new Array("http://wingit.keenspace.com/","Wing It")
	comic3 = new Array("http://kiwi.keenspace.com/","Not Gonna Take It")
	comic4 = new Array("http://elves.keenspace.com/","There Be Elves")
	comic5 = new Array("http://corruption.keenspace.com/","The Corruption of Ted")
	comic6 = new Array("http://chibialex.keenspace.com/","Chibi Alex")
	comic7 = new Array("http://phredt.keenspace.com","Repeat as Necessary")
	comic8 = new Array("http://banthebasics.keenspace.com","Ban the Basics")
	comic9 = new Array("http://ballofyarn.keenspace.com/","Ball of Yarn")
	comic10 = new Array("http://pencilcomic.keenspace.com/","Pencil")
	comic11 = new Array("http://peachcoloredsky.keenspace.com/","Peach Colored Sky")
	comic12 = new Array("http://stairwell.keenspace.com/","The Stairwell")
	comic13 = new Array("http://betweenthelines.keenspace.com/","Legacy of the Messiah")
	comic14 = new Array("http://turbulent-times.keenspace.com","Turbulent Times")
	comic15 = new Array("http://sar.keenspace.com/","Square and Rhomboid")
	comic16 = new Array("http://grh.keenspace.com","GraveRiver High")
	comic17 = new Array("http://Lemun-Drops.keenspace.com","Lemun Drops")
	comic18 = new Array("http://venusenvy.keenspace.com/","Venus Envy")
	comic19 = new Array("http://annie.keenspace.com/","Annie the Hardcore Gamer")
	comic20 = new Array("http://kyleandomar.keenspace.com","Kyle and Omar")
	comic21 = new Array("http://rivercityhigh.keenspace.com","River City High")
	comic22 = new Array("http://bestyears.keenspace.com","Best Years")
	comic23 = new Array("http://mintgum.keenspace.com","Mint Gum")
	comic24 = new Array("http://stupidcomics.keenspace.com","Stupid Comics")
	comic25 = new Array("http://msmatchers.keenspace.com","MsMatchers")
	comic26 = new Array("http://underground.keenspace.com","The Underground")
	comic27 = new Array("http://helen.keenspace.com","Helen of Troy\, CA")
	comic28 = new Array("http://goodcheese.keenspace.com","Goodcheese")
	comic29 = new Array("http://otakuchan.keenspace.com","Otaku-chan\'s World")
	comic30 = new Array("http://dayo.keenspace.com","Mangaka Da Yo\!")
	comic31 = new Array("http://girlstreet.keenspace.com","Girl Street")
	comic32 = new Array("http://raye.keenspace.com","The Couve")
	comic33 = new Array("http://fiveminute.keenspace.com","Five-Minute Comic")
	comic34 = new Array("http://vix.keenspace.com","Pest Problem")


// This should be the number of comics on your list.
comictotal=35


function goto_URL(object)
{
	window.location.href=object.options[object.selectedIndex].value;
}

// Create an array equal to the number of comics
var randarray=new Array()
for (i=0; i<comictotal; i++)
{
	randarray[i]=i
}

// Randomize the array
var i,r,tmp;
for (i=0; i<(comictotal-1); i++)
{
	r=Math.round(Math.random(comictotal-i))+i
	temp = randarray[r]
	randarray[r] = randarray[i]
	randarray[i] = temp;
}

//There's no need for the table when it's already imbedded in another. JF, 3FEB2001.
//document.write('<FORM><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR ALIGN=TOP><TD ALIGN="CENTER"><FORM>');
document.write('<FORM><CENTER><A HREF="http://',signup,'"><IMG SRC="http://',logo,'" border=0></a><BR>');
//document.write('<TR><TD ALIGN="center"><SELECT NAME="selectName" onChange="goto_URL(this.form.selectName)">');
document.write('<SELECT NAME="selectName" onChange="goto_URL(this.form.selectName)">');
document.write('<OPTION VALUE="" SELECTED>Select a ',caption,' strip!<\/OPTION>');

for (var i=0; i<(comictotal); i++)
{
	showcomic=eval("comic"+randarray[i])
	document.write('<OPTION VALUE="',showcomic[0],'">',showcomic[1],'<\/OPTION>');
}


document.write('<\/SELECT><\/CENTER><\/FORM>')
