// JavaScript Document/************************************************ Pop-it menu- ÃƒÂƒÃ‚Â‚ÃƒÂ‚Ã‚Â© Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit http://www.dynamicdrive.com/ for full source code***********************************************/var defaultMenuWidth="180px" //set default menu width.var linkset=new Array()//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUTlinkset[0]='<a href="/?q=node/4">Our History</a>'linkset[0]+='<a href="/?q=node/5">Demographics</a>'linkset[1]='<a href="/?q=node/17">County Mayor</a>'linkset[1]+='<a href="/?q=node/18">Board of Commissioners</a>'linkset[1]+='<a href="/?q=node/19">Director of Local Finance</a>'linkset[1]+='<a href="/?q=node/20">County Clerk</a>'linkset[1]+='<a href="/?q=node/21">Trustee</a>'linkset[1]+='<a href="/?q=node/22">Assessor of Property</a>'linkset[1]+='<a href="/?q=node/24">Register of Deeds</a>'linkset[1]+='<a href="/?q=node/83">Election Commission</a>'linkset[1]+='<a href="/?q=node/23">Superintendent of Roads</a>'linkset[1]+='<a href="/?q=node/25">County Facilities</a>'linkset[2]='<a href="/?q=node/27">Sheriff</a>'linkset[2]+='<a href="/?q=node/28">Sessions Court</a>'linkset[2]+='<a href="/?q=node/29">Circuit Court Clerk</a>'linkset[2]+='<a href="/?q=node/30">Clerk & Master</a>'linkset[2]+='<a href="/?q=node/31">District Attorney</a>'linkset[3]='<a href="/?q=node/5">Workforce</a>'linkset[3]+='<a href="http://www.scottcountychamber.com" target="new">Chamber of Commerce</a>'linkset[3]+='<a href="/?q=node/33">Infrastructure</a>'linkset[3]+='<a href="/?q=node/34">Facilities</a>'linkset[3]+='<a href="/?q=node/35">Existing Industry</a>'linkset[3]+='<a href="/?q=node/36">Tax Incentives</a>'linkset[4]='<a href="/?q=node/52">Board of Education</a>'linkset[4]+='<a href="/?q=node/53">Scott County Schools</a>'linkset[4]+='<a href="/?q=node/54">Oneida School District</a>'linkset[4]+='<a href="/?q=node/55">Higher Education</a>'linkset[5]='<a href="/?q=node/43">Churches</a>'linkset[5]+='<a href="/?q=node/44">Dining</a>'linkset[5]+='<a href="/?q=node/45">Recreation</a>'linkset[5]+='<a href="/?q=node/46">Libraries</a>'linkset[5]+='<a href="/?q=node/13">Lodging</a>'linkset[5]+='<a href="/?q=node/47">News Media</a>'linkset[5]+='<a href="/?q=node/48">Financial Services</a>'linkset[5]+='<a href="/?q=node/49">Veterans Services</a>'linkset[5]+='<a href="/?q=node/50">Human Services</a>'

linkset[6]='<a href="/?q=node/87">Voter registration info</a>'linkset[6]+='<a href="/?q=node/88">Restoration of voting rights</a>'linkset[6]+='<a href="/?q=node/89">What to expect at the polls</a>'linkset[6]+='<a href="/?q=node/90">Early voting/Election day precincts</a>'linkset[6]+='<a href="/?q=node/91">Where do I vote?</a>'linkset[6]+='<a href="/?q=node/92">Voting by mail</a>'linkset[6]+='<a href="/?q=node/93">Military & overseas voters</a>'linkset[6]+='<a href="/?q=node/94">Sample voter registration card</a>'linkset[6]+='<a href="/?q=node/95">Election calendars</a>'linkset[6]+='<a href="/?q=node/96">Primary vs. general elections</a>'linkset[6]+='<a href="/?q=node/97">Sample ballots</a>'linkset[6]+='<a href="/?q=node/98">Early voting dates</a>'linkset[6]+='<a href="/?q=node/99">Voting machine demonstration</a>'

linkset[7]='<a href="/?q=node/100">Retirement benefits affected</a>'linkset[7]+='<a href="/?q=node/101">Nominating petitions</a>'linkset[7]+='<a href="/?q=node/102">Qualifications for offices</a>'linkset[7]+='<a href="/?q=node/103">Duties of elected officials</a>'linkset[7]+='<a href="/?q=node/104">Campaign finance disclosures</a>'linkset[7]+='<a href="/?q=node/90">Precinct maps</a>'linkset[7]+='<a href="/?q=node/105">Poll watchers</a>'linkset[7]+='<a href="/?q=node/106">Precinct campaign boundaries</a>'
linkset[7]+='<a href="/?q=node/107">Voter registration lists</a>'

linkset[8]='<a href="/?q=node/108">Elected officials</a>'linkset[8]+='<a href="/?q=node/109">Registered voter statistics</a>'linkset[8]+='<a href="/?q=node/110">Election night returns</a>'linkset[8]+='<a href="/?q=node/111">Election results archive</a>'linkset[8]+='<a href="/?q=node/112">Voter registration drives</a>'linkset[8]+='<a href="/?q=node/113">Election petition list</a>'
////No need to edit beyond herevar ie5=document.all && !window.operavar ns6=document.getElementByIdif (ie5||ns6)document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')function iecompattest(){return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body}function showmenu(e, which, optWidth){if (!document.all&&!document.getElementById)returnclearhidemenu()menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")menuobj.innerHTML=whichmenuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidthmenuobj.contentwidth=menuobj.offsetWidthmenuobj.contentheight=menuobj.offsetHeighteventX=ie5? event.clientX : e.clientXeventY=ie5? event.clientY : e.clientY//Find out how close the mouse is to the corner of the windowvar rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventXvar bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY//if the horizontal distance isn't enough to accomodate the width of the context menuif (rightedge<menuobj.contentwidth)//move the horizontal position of the menu to the left by it's widthmenuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"else//position the horizontal position of the menu where the mouse was clickedmenuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"//same concept with the vertical positionif (bottomedge<menuobj.contentheight)menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"elsemenuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"menuobj.style.visibility="visible"return false}function contains_ns6(a, b) {//Determines if 1 element in contained in another- by Brainjar.comwhile (b.parentNode)if ((b = b.parentNode) == a)return true;return false;}function hidemenu(){if (window.menuobj)menuobj.style.visibility="hidden"}function dynamichide(e){if (ie5&&!menuobj.contains(e.toElement))hidemenu()else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))hidemenu()}function delayhidemenu(){delayhide=setTimeout("hidemenu()",500)}function clearhidemenu(){if (window.delayhide)clearTimeout(delayhide)}if (ie5||ns6)document.onclick=hidemenu