// Kleenspace Dropdown - modified by Jason Goude, 5/24/01
// http://sundaeconnection.keenspace.com
// Keenspace dropdown originally by Steve Tonks
// Additional code by Brian West
// This code is freely distributable but is prohibited form being resold for profit

// The following variables setup the dropdown caption, logo, and signup page

	var caption="Kleenspace"
	var signup="sparechange.keenspace.com/kleenspace.html"
	var logo="sparechange.keenspace.com/images/klsp.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://sundaeconnection.keenspace.com","Sundae Connection")
	comic1 = new Array("http://hwg.keenspace.com","Heroes with Glasses")
	comic2 = new Array("http://kankong.keenspace.com","Crudely Drawn Adv.")
	comic3 = new Array("http://breakpointcity.keenspace.com","Breakpoint City")
	comic4 = new Array("http://dukvschiken.keenspace.com","Duk Vs. Chiken")
	comic5 = new Array("http://losers.keenspace.com","The Losers")
	comic6 = new Array("http://tandt.keenspace.com","Tracy and Tristan")
	comic7 = new Array("http://slapdash.keenspace.com","Slapdash")
	comic8 = new Array("http://pandala.keenspace.com","Pandala")
	comic9 = new Array("http://sparechange.keenspace.com","Spare Change")
	comic10 = new Array("http://banthebasics.keenspace.com","Ban the Basics")
	comic11 = new Array("http://kissingkerie.keenspace.com","Kissing Kerie")
	comic12 = new Array("http://fergoandenrique.keenspace.com/","Fergo and Enrique")
	comic13 = new Array("http://krisx.keenspace.com/","Insanity For The Poor")
	comic14 = new Array("http://chalkdust.keenspace.com/","Chalk Dust")
	comic15 = new Array("http://pineys.keenspace.com/","Pineys")
	comic16 = new Array("http://drawingablank.keenspace.com/","Drawing a Blank")
	comic17 = new Array("http://moeandron.keenspace.com/","Adv. of Moe and Ron")
	comic18 = new Array("http://lit.keenspace.com/","Lost in Translation")
	comic19 = new Array("http://inniesandoutties.keenspace.com/","Innies and Outties")	
	comic20 = new Array("http://fallenangel.keenspace.com/","Fallen Angel")
	comic21 = new Array("http://thisislife.keenspace.com/","This I.S. Life")
	comic22 = new Array("http://shadedsprites.keenspace.com/","Shaded Sprites")
	comic23 = new Array("http://texandjenny.keenspace.com/","Tex and Jenny")
	comic24 = new Array("http://thatguy.keenspace.com/","Thatguy")
	comic25 = new Array("http://questofthesilly.keenspace.com/","Quest of The Silly")
        comic26 = new Array("http://shinegotower.keenspace.com/","Shine Get Dumplings Go-Go Tower!")
	comic27 = new Array("http://parzival.keenspace.com/","Parzival")
	comic28 = new Array("http://zph719s.keenspace.com/","Flatwood")
	comic29 = new Array("http://schoolspirit.keenspace.com/","School spirit")
        comic30 = new Array("http://decypher.keenspace.com/","Decypher")
	comic31 = new Array("http://thezoo.keenspace.com/","Zoology")
	comic32 = new Array("http://fizzle.comicgenesis.com/ ","Fizzle")
	comic33 = new Array("http://chalkdustcomic.keenspace.com/","Chalkdust")




// This should be the number of comics on your list.
comictotal=34


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;
}

document.write('<FORM><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD ALIGN="CENTER"><FORM>');
document.writeln('<A HREF="http://',signup,'"><IMG SRC="http://',logo,'" border=0 alt="Kleenspace"></a>');
document.writeln('<TR><TD ALIGN="center"><SELECT NAME="selectName" onChange="goto_URL(this.form.selectName)">');
document.writeln('<OPTION VALUE="" SELECTED>99.44% kleen comics<\/OPTION>');

for (var i=0; i<(comictotal); i++)
{
	showcomic=eval("comic"+randarray[i])
	document.writeln('<OPTION VALUE="',showcomic[0],'">',showcomic[1],'<\/OPTION>');
}


document.writeln('<\/SELECT><\/TD><\/TR><\/FORM><\/TABLE>')