// The following variables setup the dropdown caption, logo, and signup page

	var caption="Nintendo"
	var signup="saywhatpb.keenspace.com/dropdown.html"
	var logo="saywhatpb.keenspace.com/images/Ninkeendo.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://irlcomic.cjb.net","In Real Life -- IRL")
	comic1 = new Array("http://spriteinc.keenspace.com/","Sprite Inc.")
	comic2 = new Array("http://waterguy.keenspace.com/zombies.html","Zombies Ate My Neighbors")
	comic3 = new Array("http://kotoc.keenspace.com/","Knights of the Old Coding")
	comic4 = new Array("http://randomsanity.keenspace.com/","Random Sanity")
	comic5 = new Array("http://lufiaandthespritecomicofdoom.keenspace.com/","Lufia the Comic")
	comic6 = new Array("http://captainsnes.keenspace.com/","Captain SNES")
	comic7 = new Array("http://loag.keenspace.com/","Life of a Goomba")
	comic8 = new Array("http://rivercityhigh.keenspace.com/","River City High")
	comic9 = new Array("http://pokemonx.keenspace.com/","Pokémon-X")
	comic10 = new Array("http://mmexe.keenspace.com","Megaman EXE-CESS")
	comic11 = new Array("http://megacrap.keenspace.com/","Mega-Crap!")
	comic12 = new Array("http://partygoers.keenspace.com/","Party Goers")


// This should be the number of comics on your list.
comictotal=13


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>');
