// The following variables setup the dropdown caption, logo, and signup page

	var caption="Choose a Color Comic!"
	var signup="www.keenspace.com/forums/Forum158/HTML/000169.html"
	var logo="whenindoubt.keenspace.com/color/color.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://capn.keenspace.com","Cap'n")
	comic1 = new Array("http://kippa.keenspace.com","Kippa")
	comic2 = new Array("http://parallelwood.keenspace.com","Parallel Wood")
	comic3 = new Array("http://pluginboy.keenspace.com","Plugin Boy")
	comic4 = new Array("http://whenindoubt.keenspace.com","When in Doubt")
	comic5 = new Array("http://slapout.keenspace.com","Slapout")
	comic6 = new Array("http://pantheon.keenspace.com","The Pantheon")
	comic7 = new Array("http://burgundycomics.keenspace.com","Burgundy Comics Inc")
	comic8 = new Array("http://dtl.keenspace.com","0000 Agent")
	comic9 = new Array("http://graylash.keenspace.com","Greylash")
      comic10 = new Array("http://trialsandtrivializations.keenspace.com","Trials and Trivializations")
      comic11 = new Array("http://zeera.keenspace.com","Zeera the Space Pirate")
      comic12 = new Array("http://paladin.keenspace.com","Paladins' Haven")

 


// 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>',caption,'<\/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>')
