/*********************************************** * 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]='Gallatin County Republican Central Committee' menu1[1]='Gallatin County Republican Women' menu1[2]='Big Sky Pachyderm Club' menu1[3]='MSU Campus Republicans' menu1[4]='Gallatin Valley Young Republicans' //Contents for menu 2, and so on var menu2=new Array() menu2[0]='State Legislative Officials' menu2[1]='House District 67 - John Sinrud' menu2[2]='House District 68 - Scott Sales' menu2[3]='House District 69 - Jack Wells' menu2[4]='House District 70 - Roger Koopman' menu2[5]='Senate District 34 - Joe Balyeat' menu2[6]='Senate District 35 - Gary Perry' menu2[7]='
Gallatin County Government Officials' menu2[8]='Clerk and Recorder - Charlotte Mills' menu2[9]='Clerk of District Court - Jennifer Brandon' menu2[10]='County Attorney - Marty Lambert' menu2[11]='County Commission - Steve White' menu2[12]='County Commissioner - Bill Murdoch' menu2[13]='County Commissioner - Joe Skinner' menu2[14]='County Coroner - Duncan MacNab' menu2[15]='County Treasurer - Kim Buchanan' menu2[16]='Supintendent of Schools - Mary Ellen Fitzgerald' //Contents for menu 1 var menu3=new Array() menu3[17]='GOP.com' menu3[18]='MTGOP.org' menu3[19]='GOPUSA.com' menu3[20]='Select your President -your views and values' menu3[21]='Tamara Hall' menu3[22]='Local Republican Issues Forum' menu3[23]='2007 Legislative Session' menu3[24]='badbills.com' menu3[25]='Montanans for Tax Reform' menu3[26]='Give it back (www.GiveItBack.com)' menu3[27]='MSU College Republicans' menu3[28]='Political Humor' menu3[29]='Katie Browns Blog' menu3[30]='Other Links' menu3[31]='Tim Fox' var menu4=new Array() menu4[0]='State Legislative Candidates' menu4[1]='Montana House District 63 - Tom Burnett' menu4[2]='Montana House District 64 - Ken Champion' menu4[3]='Montana House District 65 - Nicholas Mahan' menu4[4]='Montana House District 66 - John Milanovich' menu4[5]='Montana House District 67 - Gordon Vance' menu4[6]='Montana House District 68 - Scott Sales' menu4[7]='Montana House District 69 - Ted Washburn' menu4[8]='Montana House District 70 - Michael More' menu4[9]='Montana Senate District 33 - Nick Landeros' menu4[10]='Montana Senate District 34 - Joe Balyeat' menu4[11]='
Gallatin County Government Candidates' menu4[12]='
Statewide Office Candidates' menu4[13]='Attorney General - Tim Fox' menu4[14]='Governor/Lt Gov of Montana - Roy Brown & Steve Daines' menu4[15]='Montana State Auditor - Duane Grimes' menu4[16]='Montana Superintendent of Public Instruction - Elaine Sollie Herman' menu4[17]='Public Service Commission #3 - Alan Olson' menu4[18]='Secretary of State - Brad Johnson' menu4[19]='
National Candidates' menu4[20]='US House of Representatives - Denny Rehberg' menu4[21]='US Senate - Bob Kelleher' var menuwidth='250px' //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('') 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)