//lines starting with two slashes are comments/instructions
//Keenspace dropdown developed by Pillywiggins modified slightly for the dropdown directory by Phact0rri
// Web Site: http://togizoushi.keenspace.com/
//This code is freely distributable but is prohibited from being resold for profit
//DO NOT CHANGE LINES UNLESS INSTRUCTED

// Add your comics here, formatted like this:
// comic# = new Array("url","name of comic")

comic0 = new Array("http://lifeofthekalahari.comicgenesis.com","Life of the Kalahari")


// This should be the number of comics on your list.

comictotal = 1

function goto_URL(object)
{
window.location.href =
object.options[object.selectedIndex].value;

// Sets the homepage, banner and header

document.writeln('<FORM><TABLE BORDER="0" CELLSPACING="0"
CELLPADDING="0"><TR><TD align="center"><FORM><A HREF="lifeofthekalahari.comicgenesis.com/dropdown.js"><IMG SRC="http://i31.photobucket.com/albums/c399/fizzlecomic/komedy_1.jpg" border=0>');
document.writeln('<TR><TD align="center"><SELECT NAME="selectName"
onChange="goto_URL(this.form.selectName)">');

document.write('<OPTION VALUE="">Web comics with a laugh<\/OPTION>');
document.write('<OPTION VALUE="">-----<\/OPTION>');
 

// 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); i++)
      {
      r=Math.floor(Math.random()*(comictotal))
      temp = randarray[r]
      randarray[r] = randarray[i]
      randarray[i] = temp;
      }


for (var i=0; i<(1); i++)
{
showcomic=eval("comic"+randarray[i])
document.writeln('<OPTION
VALUE="',showcomic[0],'">',showcomic[1],'<\/OPTION>');
}

// Adds link to the Dropdown Directory

document.write('<OPTION VALUE="">-----<\/OPTION>');
document.write('<OPTION
VALUE="http://decypher.keenspace.com/keendrop/directory.htm">Dropdown Directory
3.0<\/OPTION>');

document.writeln('<\/SELECT><\/TD><\/TR><\/TD><\/TR><\/FORM><\/TABLE>');
 