﻿/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a class="dropdown" href="july_2009_archives.php">Current News</a>'
menu1[1]='<a class="dropdown" href="june_2009_archives.php">June 2009</a>'
menu1[2]='<a class="dropdown" href="may_2009_archives.php">May 2009</a>'
menu1[3]='<a class="dropdown" href="april_2009_archives.php">April 2009</a>'
menu1[4]='<a class="dropdown" href="february_2009_archives.php">February 2009</a>'
menu1[5]='<a class="dropdown" href="january_2009_archives.php">January 2009</a>'
menu1[6]='<a class="dropdown" href="november_2008_archives.php">November 2008</a>'
menu1[7]='<a class="dropdown" href="october_2008_archives.php">October 2008</a>'
menu1[8]='<a class="dropdown" href="september_2008_archives.php">September 2008</a>'
menu1[9]='<a class="dropdown" href="august_2008_archives.php">August 2008</a>'
menu1[10]='<a class="dropdown" href="july_2008_archives.php">July 2008</a>'
menu1[11]='<a class="dropdown" href="june_2008_archives.php">June 2008</a>'
menu1[12]='<a class="dropdown" href="may_2008_archives.php">May 2008</a>'
menu1[13]='<a class="dropdown" href="april_2008_archives.php">April 2008</a>'
menu1[14]='<a class="dropdown" href="march_2008_archives.php">March 2008</a>'
menu1[15]='<a class="dropdown" href="february_2008_archives.php">February 2008</a>'
menu1[16]='<a class="dropdown" href="january_2008_archives.php">January 2008</a>'
menu1[17]='<a class="dropdown" href="december_2007_archives.php">December 2007</a>'
menu1[18]='<a class="dropdown" href="november_2007_archives.php">November 2007</a>'
menu1[19]='<a class="dropdown" href="october_2007_archives.php">October 2007</a>'
menu1[20]='<a class="dropdown" href="september_2007_archives.php">September 2007</a>'
menu1[21]='<a class="dropdown" href="august_2007_archives.php">August 2007</a>'
menu1[22]='<a class="dropdown" href="july_2007_archives.php">July 2007</a>'
menu1[23]='<a class="dropdown" href="june_2007_archives.php">Archives - June 2007</a>'
menu1[24]='<a class="dropdown" href="may_2007_archives.php">Archives - May 2007</a>'
menu1[25]='<a class="dropdown" href="march_2007_archives.php">Archives - March 2007</a>'
menu1[26]='<a class="dropdown" href="february_2007_archives.php">Archives - February 2007</a>'
menu1[27]='<a class="dropdown" href="january_2007_archives.php">Archives - January 2007</a>'
menu1[28]='<a class="dropdown" href="december_2006_archives.php">Archives - December 2006</a>'
menu1[29]='<a class="dropdown" href="november_2006_archives.php">Archives - November 2006</a>'
menu1[30]='<a class="dropdown" href="october_2006_archives.php">Archives - October 2006</a>'
menu1[31]='<a class="dropdown" href="september_2006_archives.php">Archives - September 2006</a>'
menu1[32]='<a class="dropdown" href="august_2006_archives.php">Archives - August 2006</a>'
menu1[33]='<a class="dropdown" href="july_2006_archives.php">Archives - July 2006</a>'
menu1[34]='<a class="dropdown" href="june_2006_archives.php">Archives - June 2006</a>'
menu1[35]='<a class="dropdown" href="april_2006_archives.php">Archives - April 2006</a>'
menu1[36]='<a class="dropdown" href="march_2006_archives.php">Archives - March 2006</a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a class="dropdown" href="adventure_thriller.php">Adventure/Thriller</a>'
menu2[1]='<a class="dropdown" href="all_ages.php">All Ages</a>'
menu2[2]='<a class="dropdown" href="fantasy.php">Fantasy</a>'
menu2[3]='<a class="dropdown" href="historical_fiction.php">Historical Fiction</a>'
menu2[4]='<a class="dropdown" href="horror.php">Horror</a>'
menu2[5]='<a class="dropdown" href="humor.php">Humor</a>'
menu2[6]='<a class="dropdown" href="science_fiction.php">Science Fiction</a>'
menu2[7]='<a class="dropdown" href="games.php">Games</a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a class="dropdown" href="artesia.php">Artesia</a>'
menu3[1]='<a class="dropdown" href="awakening.php">Awakening</a>'
menu3[2]='<a class="dropdown" href="the_black_knight.php">The Black Knight</a>'
menu3[3]='<a class="dropdown" href="saint_marcel.php">The Bond of Saint Marcel</a>'
menu3[4]='<a class="dropdown" href="cursed_pirate_girl.php">Cursed Pirate Girl</a>'
menu3[5]='<a class="dropdown" href="the_devils_panties.php">The Devil&#x2019;s Panties</a>'
menu3[6]='<a class="dropdown" href="the_engineer.php">The Engineer</a>'
menu3[7]='<a class="dropdown" href="the_god_machine.php">The God Machine</a>'
menu3[8]='<a class="dropdown" href="the_grave_doug_freshley.php">The Grave Doug Freshley</a>'
menu3[9]='<a class="dropdown" href="gunnerkrigg_court.php">Gunnerkrigg Court</a>'
menu3[10]='<a class="dropdown" href="hybrid_bastards.php">Hybrid Bastards</a>'
menu3[11]='<a class="dropdown" href="inannas_tears.php">Inanna&#x2019;s Tears</a>'
menu3[12]='<a class="dropdown" href="the_killer.php">The Killer</a>'
menu3[13]='<a class="dropdown" href="killing_pickman.php">Killing Pickman</a>'
menu3[14]='<a class="dropdown" href="lone_and_level_sands.php">Lone & Level Sands</a>'
menu3[15]='<a class="dropdown" href="the_long_count.php">The Long Count</a>'
menu3[16]='<a class="dropdown" href="miranda_mercury.php">The Many Adventures of Miranda Mercury</a>'
menu3[17]='<a class="dropdown" href="misericordia.php">Misericordia</a>'
menu3[18]='<a class="dropdown" href="mouse_guard.php">Mouse Guard</a>'
menu3[19]='<a class="dropdown" href="mouse_guard_rpg.php">Mouse Guard RPG</a>'
menu3[20]='<a class="dropdown" href="okko.php">Okko</a>'
menu3[21]='<a class="dropdown" href="primordia.php">Primordia</a>'
menu3[22]='<a class="dropdown" href="revere.php">Revere</a>'
menu3[23]='<a class="dropdown" href="robotika.php">Robotika</a>'
menu3[24]='<a class="dropdown" href="runners.php">Runners</a>'
menu3[25]='<a class="dropdown" href="scars.php">Scars</a>'
menu3[26]='<a class="dropdown" href="the_secret_history.php">The Secret History</a>'
menu3[27]='<a class="dropdown" href="the_sisterhood.php">The Sisterhood</a>'
menu3[28]='<a class="dropdown" href="some_new_kind_of_slaughter.php">Some New Kind of Slaughter</a>'
menu3[29]='<a class="dropdown" href="starkweather.php">Starkweather</a>'
menu3[30]='<a class="dropdown" href="titanium_rain.php">Titanium Rain</a>'
menu3[31]='<a class="dropdown" href="trial_by_fire.php">Trial By Fire</a>'

//Contents for menu 4
var menu4=new Array()
menu4[0]='<a class="dropdown" href="coming_soon.php">Wellington Alyes</a>'
menu4[1]='<a class="dropdown" href="jason_becker.php">Jason Becker</a>'
menu4[2]='<a class="dropdown" href="jason_blair.php">Jason L Blair</a>'
menu4[3]='<a class="dropdown" href="coming_soon.php">Grant Bond</a>'
menu4[4]='<a class="dropdown" href="coming_soon.php">Rebekah Brem</a>'
menu4[5]='<a class="dropdown" href="coming_soon.php">Leanne Buckley</a>'
menu4[6]='<a class="dropdown" href="coming_soon.php">Aaron Campbell</a>'
menu4[7]='<a class="dropdown" href="chandra.php">Chandra</a>'
menu4[8]='<a class="dropdown" href="brian_churilla.php">Brian Churilla</a>'
menu4[9]='<a class="dropdown" href="alex_eckman_lawn.php">Alex Eckman-Lawn</a>'
menu4[10]='<a class="dropdown" href="lee_ferguson.php">Lee Ferguson</a>'
menu4[11]='<a class="dropdown" href="josh_finney.php">Josh Finney</a>'
menu4[12]='<a class="dropdown" href="john_fultz.php">John R. Fultz</a>'
menu4[13]='<a class="dropdown" href="kate_glasheen.php">Kate Glasheen</a>'
menu4[14]='<a class="dropdown" href="coming_soon.php">Christopher Golden</a>'
menu4[15]='<a class="dropdown" href="coming_soon.php">Christian Gossett</a>'
menu4[16]='<a class="dropdown" href="josh_hechinger.php">Josh Hechinger</a>'
menu4[17]='<a class="dropdown" href="coming_soon.php">Hub</a>'
menu4[18]='<a class="dropdown" href="coming_soon.php">Luc Jacamon</a>'
menu4[19]='<a class="dropdown" href="coming_soon.php">Ed Lavallee</a>'
menu4[20]='<a class="dropdown" href="dave_lewis.php">A. David Lewis</a>'
menu4[21]='<a class="dropdown" href="mpmann.php">mpMann</a>'
menu4[22]='<a class="dropdown" href="coming_soon.php">Matz</a>'
menu4[23]='<a class="dropdown" href="coming_soon.php">Patrick McEvoy</a>'
menu4[24]='<a class="dropdown" href="coming_soon.php">Jean-Pierre Pécau</a>'
menu4[25]='<a class="dropdown" href="david_petersen.php">David Petersen</a>'
menu4[26]='<a class="dropdown" href="tom_pinchuk.php">Tom Pinchuk</a>'
menu4[27]='<a class="dropdown" href="jennifer_quintenz.php">Jennifer Quintenz</a>'
menu4[28]='<a class="dropdown" href="coming_soon.php">Robert Randle</a>'
menu4[29]='<a class="dropdown" href="jon_rea.php">Jon Rea</a>'
menu4[30]='<a class="dropdown" href="kat_rocha.php">Kat Rocha</a>'
menu4[31]='<a class="dropdown" href="coming_soon.php">David Rodriguez</a>'
menu4[32]='<a class="dropdown" href="alex_sheikman.php">Alex Sheikman</a>'
menu4[33]='<a class="dropdown" href="jeremy_shepherd.php">Jeremy Shepherd</a>'
menu4[34]='<a class="dropdown" href="coming_soon.php">Mark Smylie</a>'
menu4[35]='<a class="dropdown" href="coming_soon.php">Tom Sniegoski</a>'
menu4[36]='<a class="dropdown" href="coming_soon.php">Durwin Talon</a>'
menu4[37]='<a class="dropdown" href="nick_tapalansky.php">Nick Tapalansky</a>'
menu4[38]='<a class="dropdown" href="coming_soon.php">Danielle Sylvie Taylor</a>'
menu4[39]='<a class="dropdown" href="brandon_thomas.php">Brandon Thomas</a>'
menu4[40]='<a class="dropdown" href="coming_soon.php">Guin Thompson</a>'
menu4[41]='<a class="dropdown" href="juda_tverski.php">Juda Tverski</a>'
menu4[42]='<a class="dropdown" href="rob_vollmar.php">Rob Vollmar</a>'
menu4[43]='<a class="dropdown" href="roel_wielinga.php">Roel Wielinga</a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a class="dropdown" href="2009_pr_archives.php">Current Press Releases</a>'
menu5[1]='<a class="dropdown" href="2008_pr_archives.php">Archives - 2008</a>'
menu5[2]='<a class="dropdown" href="2007_pr_archives.php">Archives - 2007</a>'
menu5[3]='<a class="dropdown" href="2006_pr_archives.php">Archives - 2006</a>'
menu5[4]='<a class="dropdown" href="2005_pr_archives.php">Archives - 2005</a>'
menu5[5]='<a class="dropdown" href="2004_pr_archives.php">Archives - 2004</a>'
menu5[6]='<a class="dropdown" href="2003_pr_archives.php">Archives - 2003</a>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<a class="dropdown" href="http://www.artesiaonline.com">Artesia Online</a>'
menu6[1]='<a class="dropdown" href="http://www.theknownworld.com">The Known World</a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='white' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu