// Keenspace dropdown originally by Steve Tonks
// Additional code by Brian West
// This code is freely distributable but is prohibited from being resold for profit
// Additonal code by din
// Added a image rotation thing which will also allow images and urls to rotate that will
// not show in the dropdown.
// The following variables setup the dropdown caption, logo, and signup page

var caption="Epic"
var signup="http://forums.keenspace.com/"
var logo="nemo.keenspace.com/epic/epic.jpg"

// 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

site0 = new Array("http://elizabethamerz.homestead.com ","Alternate Realities","none")
site1 = new Array("http://warrior.babeekayla.com ","Warrior of the Old Code","http://fantasyherald.com/fh/img/00-warriorbanner.gif")
site2 = new Array("http://returntoeden.comicgenesis.com ","Return to Eden","http://fantasyherald.com/fh/img/00-returntoeden-fantasyherald.jpg")
site3 = new Array("http://www.btinternet.com/~hierath/links.htm ","The New Kingdom Homepage","http://fantasyherald.com/fh/img/00-joeybuttonmedium.JPG")
site4 = new Array("http://nahast.comicgenesis.com ","Nahast: Lands of Strife","http://fantasyherald.com/fh/img/00-nahast-bn-120x60a.gif")
site5 = new Array("http://motdw.keenspace.com ","Misadventures of the Drow Wizard","none")

site6 = new Array("http://zhaven.bravepages.com/index.html ","Zuckermaus\' Haven","none")
site7 = new Array("http://www.scifimatter.com ","scifimatter.com","none")
site8 = new Array("http://www.worldofdragonsbreath.com/firebrand/ ","FIREBRAND","http://fantasyherald.com/fh/img/00-firebrand120x60.jpg")

site9 = new Array("http://www.aetheriavisio.com/index.php?newlang=English&idservice=75 ","Unchained","http://fantasyherald.com/fh/img/00-Unchained120V4.jpg")

site10 = new Array("http://www.judesplace.com/links.htm ","Jude's Place","http://fantasyherald.com/fh/img/00-judesbanner.jpg")

site11 = new Array("http://www.jacmus-prime.com/modules.php?name=Web_Links&l_op=viewlink&cid=19 ","Jacmus Prime","none")

site12 = new Array("http://www.intothewest.org ","Into the West: LOTR Fellowship of Utah","http://fantasyherald.com/fh/img/00-itwlogo.jpg")

site13 = new Array("http://necromancers.thibros.com ","Necromancers of Gareth","http://fantasyherald.com/fh/img/00-NoGfantasyherald.gif")

site14 = new Array("http://www.darkendreams.com ","Memories of Atlantis","http://fantasyherald.com/fh/img/00-darkendreamsbutton1.jpg")

site15 = new Array("http://9realms.co.uk ","Annals of the Nine Realms","http://fantasyherald.com/fh/img/00-9realms_button2.jpg")

site16 = new Array("http://faerietalesonline.blogspot.com/ ","FaerieTales: an online serial novel","http://fantasyherald.com/fh/img/FTbutton1copy.jpg")

site17 = new Array("http://myrmidon-online.blogspot.com/ ","Myrmidon: a sci-fi fantasy web novel","http://fantasyherald.com/fh/img/120x60buttonb.jpg")

site18 = new Array("http://www.avatarart.com/BannerExchanges/ ","AvatarArt Custom RPG Character Portraits","http://fantasyherald.com/fh/img/avatar120x60.jpg")
 // This should be the number of items on your list.
sitetotal=19



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<sitetotal; i++)
{
randarray[i]=i
}

// Randomize the array
var i,r,tmp;
for (i=0; i<(sitetotal-1); i++)
{
r=Math.round(Math.random(sitetotal-i))+i
temp = randarray[r]
randarray[r] = randarray[i]
randarray[i] = temp;
}

showsite=eval("site"+randarray[i])

if (showsite[2] == 'none') 
{
showsite[2] = 'fh_01.gif';
}

document.writeln('<a href="',showsite[0],'" target="_TOP"><img src="',showsite[2],'" height="60" width="120" border="0" alt="',showsite[1],'"><\/a>');
//document.writeln('<FORM style="padding:0px; margin:0px;"><SELECT style="font-family:verdana;font-size:x-small" NAME="selectName" onChange="goto_URL(this.form.selectName)">');
//document.writeln('<OPTION VALUE="" SELECTED>fantasy-SF<\/OPTION>');


