
/***********************************************
* 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 - About K8IVC
var menu1=new Array()
menu1[0]='<a href="station.html">K8IVC Ham Shack</a>'
menu1[1]='<a href="http://www.qrz.com/callsign/k8ivc">K8IVC QRZ callsign lookup</a>'
menu1[2]='<a href="nostalgi.html">K8IVC Nostalgia</a>'
menu1[3]='<a href="k8ivcqsl.html">K8IVC QSL Card</a>'
menu1[4]='<a href="licensep.html">K8IVC License Plate</a>'
menu1[5]='<a href="aprstrak.html">K8IVC APRS Tracker Page</a>'
menu1[6]='<a href="imonecho.html">K8IVC is on EchoLink All Day Usually!</a>'
menu1[7]='<a href="geocachi.html">K8IVC is also a Geo-Cacher!</a>'
menu1[8]='<a href="mailto:k8ivc@comcast.net">Contact K8IVC by email</a>'

//Contents - News and Features
var menu2=new Array()
menu2[0]='<a href="cq160.html">CQ 160---Anybody around (or left) on 1806?</a>'
menu2[1]='<a href="erspevst.html">Ed, N8COY-s Special Event Stations</a>'
menu2[2]='<a href="port6243.html">Portable Operation up North</a>'
menu2[3]='<a href="theydont.html">No Antennas Wanted!</a>'
menu2[4]='<a href="restor.html">Old Radio Restoration by K8IVC</a>'
menu2[5]='<a href="alaskpic.html">K8IVC-s Alaska Pictures</a>'
menu2[6]='<a href="alaskpic.html">K8IVC-s Glacier Pictures</a>'
menu2[7]='<a href="volcano1.html">K8IVC-s Hawaii Volcano Pictures</a>'
menu2[8]='<a href="bridgewk.html">K8IVC walks the Mackinac Bridge</a>'
menu2[9]='<a href="2reasons.html">Two Good Reasons to Live in Michigan!</a>'
menu2[10]='<a href="airshow.html">McDill AFB Air Show Pictures</a>'

//Contents - A Michigan Connection
var menu3=new Array()
menu3[0]='<a href="michconn.html">The Michigan Connection</a>'
menu3[1]='<a href="kx8epage.html">W4DET Photo Gallary</a>'
menu3[2]='<a href="http://www.detdigital.com">W4DET Web Site</a>'
menu3[3]='<a href="w4spf.html">K4SJ photo gallary</a>'
menu3[4]='<a href="http://home.comcast.net/~dwareham02">K4SJ Web Site</a>'
menu3[5]='<a href="http://www.xytek-equip.com/k8eqc/index.html">K8EQC Web Site</a>'
menu3[6]='<a href="w8byrpag.html">Bill, W8BYR aka OA3/W8BYR</a>'

//Contents - Detroit Area Repeaters
var menu4=new Array()
menu4[0]='<a href="repeater.html">Active Detroit-Area Repeaters</a>'
menu4[1]='<a href="repeater.html#Active 2-Meter Repeaters">Active Detroit-Area 2-Meter Repeaters</a>'
menu4[2]='<a href="repeater.html#Active 440 Repeaters">Active Detroit-Area 440 Repeaters</a>'
menu4[3]='<a href="http://www.miarc.com/">Michigan Area Repeater Council</a>'
menu4[4]='<a href="station.html#monitor">Metro Detroit Scanning</a>'

//Contents - Ham Radio Clubs and Organizations
var menu5=new Array()
menu5[0]='<a href="index.html#clubs">Metro Detroit Radio Clubs</a>'
menu5[1]='<a href="http://www.qsl.net/miqrpclub/">Michigan QRP Club</a>'
menu5[2]='<a href="http://www.qsl.net/w8oak/">Oakland County ARPSC</a>'
menu5[3]='<a href="http://www.arrl.org//index.php3">ARRL Web Site</a>'
menu5[4]='<a href="http://www.arrl-mi.org/">ARRL Michigan Web Site</a>'
menu5[5]='<a href="http://www.arrl.org/hamfests.html?dosel=1&subtype=section&selsect=MI#listing">ARRL Michigan Swap/Hamfest Database</a>'
menu5[6]='<a href="http://www.amsat.org/amsat-new/index.php">AMSAT Web Site</a>'
menu5[7]='<a href="http://www.tapr.org/">TAPR Web Site</a>'
menu5[8]='<a href="#topic">More Ham Radio Clubs & Organizations .....</a>'

//Contents - QRP Info and Clubs
var menu6=new Array()
menu6[0]='<a href="http://www.qrp.pops.net/default.htm">QRP HomeBuilder Web Page</a>'
menu6[1]='<a href="http://www.qsl.net/miqrpclub/">Michigan QRP Club</a>'
menu6[2]='<a href="http://www.njqrp.org/">New Jersey QRP Club</a>'
menu6[3]='<a href="http://www.norcalqrp.org/">The NorCal QRP Club</a>'
menu6[4]='<a href="http://www.gentzow.com/fpqrp/">The Flying Pigs QRP Club</a>'
menu6[5]='<a href="http://www.amqrp.org/">The American QRP Club</a>'

//Contents - Contest Logging and Radio Control Software
var menu7=new Array()
menu7[0]='<a href="http://pages.cthome.net/n1mm/">N1MM Free Contest Logger</a>'
menu7[1]='<a href="http://hrd.ham-radio.ch/">Ham Radio Deluxe 2007</a>'

//Contents - HDTV (An Introduction)
var menu8=new Array()
menu8[0]='<a href="http://www.dtv.gov/">FCC / DTV Website</a>'
menu8[1]='<a href="http://ezinearticles.com/?HDTV:-An-Introduction&id=19272">HDTV (An Introduction)</a>'
menu8[2]='<a href="http://www.howstuffworks.com/hdtv.htm">How HDTV Works</a>'
menu8[3]='<a href="http://hometheater.about.com/cs/television/a/aahdtvfaqsa.htm">HDTV FAQ-s</a>'
menu8[4]='<a href="http://www.titantv.com">What-s On HDTV? (titantv.com)</a>'

//Contents - Radio Mods and Connections
var menu9=new Array()
menu9[0]='<a href="http://www.mods.dk/">Radio Mods</a>'
menu9[1]='<a href="http://www.qrz.com/download/main/mods.html">QRZ Radio Mods</a>'
menu9[2]='<a href="http://bama.sbc.edu/">Boat Anchor Manual Archive</a>'
menu9[3]='<a href="http://homepage.ntlworld.com/rg4wpw/date.html">Microphone Connections</a>'
menu9[4]='<a href="http://www.jimprice.com/connectors/">Computer Connections</a>'

//Contents - Scanning / Monitoring
var menu10=new Array()
menu10[0]='<a href="scaneast.html">Metro Detroit Scanning - East Side</a>'
menu10[1]='<a href="scanwest.html">Metro Detroit Scanning - West Side</a>'
menu10[2]='<a href="spectrum.html#Scanning">Oakland County Spectrum Watch</a>'
menu10[3]='<a href="http://www.cityfreq.com/">City Frequencies (frequency database)</a>'
menu10[4]='<a href="http://www.radioreference.com/">RadioReference (frequency database)</a>'

//Contents - License and Callsign Issues
var menu11=new Array()
menu11[0]='<a href="http://www.fcc.gov">FCC Web Site</a>'
menu11[1]='<a href="http://wireless2.fcc.gov/UlsApp/UlsSearch/searchLicense.jsp;JSESSIONID_ULSSEARCH=G1fQzPM2V8BiRuIg3GOCXecYMDJ3Xq61840K20wUH60k5HIBfk4r!1959032026!-347268628">FCC ULS Callsign Lookup</a>'
menu11[2]='<a href="http://www.amateur-radio.org/CallArea-8.htm">Active 8th Call-Area Callsigns</a>'

//Contents - APRS Tracking
var menu12=new Array()
menu12[0]='<a href="aprstrak.html">K8IVC APRS Tracker Page</a>'
menu12[1]='<a href="http://www.findu.com">APRS - FindU.com</a>'

//Contents - Ham Callsign Databases
var menu13=new Array()
menu13[0]='<a href="http://www.qrz.com/database.html">QRZ Callsign Database</a>'
menu13[1]='<a href="http://www.eham.net/">E-ham.net</a>'
menu13[2]='<a href="http://www.wm7d.net/">WM7D.net</a>'
menu13[3]='<a href="http://wireless2.fcc.gov/UlsApp/UlsSearch/searchLicense.jsp;JSESSIONID_ULSSEARCH=G1fQzPM2V8BiRuIg3GOCXecYMDJ3Xq61840K20wUH60k5HIBfk4r!1959032026!-347268628">FCC ULS Callsign Database</a>'
menu13[4]='<a href="http://www.rac.ca/callbook/">Canadian Callsign Database</a>' 

var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in milliseconds)
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


