// JavaScript Document

//The section below sets up the functionality of the pop-up menus
var hostName = document.location.host;
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}


function P7_hideDiv(evt) { //v1.2 by PVII
 var b,relT,mT=false; 
 if(document.layers){b=evt.target;if(b.p7aHide){
  b.visibility="hidden";}
  else{routeEvent(evt);}
 }else if(document.all&&!window.opera){b=event.srcElement;
  while(b!=null){if(b.tagName=="DIV" && b.p7ahD){mT=true;break;}b=b.parentElement;}
  if(!b.contains(event.toElement)){b.style.visibility="hidden";}
 }else if(document.getElementById){b=evt.currentTarget;relT=evt.relatedTarget;
  while(relT!=null){if(b==relT){mT=true;break;}
  relT=relT.parentNode;}if(!mT){b.style.visibility="hidden";}}
}

function P7_autoHide() { //v1.2 by PVII
 var i,g,args=P7_autoHide.arguments;
 for(i=0;i<args.length;i++){if((g=MM_findObj(args[i]))!=null){
  g.p7aHide=true;if(document.layers){
  g.captureEvents(Event.MOUSEOUT);}g.onmouseout=P7_hideDiv;g.p7ahD=true;}}
}

function P7_autoLayers() { //v1.2 by PVII
 var g,b,k,f,args=P7_autoLayers.arguments;
 var a = parseInt(args[0]);if(isNaN(a))a=0;
 if(!document.p7setc) {p7c=new Array();document.p7setc=true;
  for (var u=0;u<10;u++) {p7c[u] = new Array();}}
 for(k=0; k<p7c[a].length; k++) {
  if((g=MM_findObj(p7c[a][k]))!=null) {
   b=(document.layers)?g:g.style;b.visibility="hidden";}}
 for(k=1; k<args.length; k++) {
  if((g=MM_findObj(args[k])) != null) {
   b=(document.layers)?g:g.style;b.visibility="visible";f=false;
   for(j=0;j<p7c[a].length;j++) {
    if(args[k]==p7c[a][j]) {f=true;}}
  if(!f) {p7c[a][p7c[a].length++]=args[k];}}}
}

// TOP BANNER - photo banner plus gold and blue banners.
 document.writeln(' <div id=banner class="noprint" style="LEFT: 0px; POSITION: absolute; TOP: 0px; height:99px; width:1280px; background-image:url(images/topbanner6.jpg); z-index:1;"></div> ');

// TOP NAVIGATION - these links should be on EVERY page, regardless of department.
document.writeln(' <div id=topnav class="noprint" style="LEFT: 10px; POSITION: absolute; TOP: 5px; z-index:2;"> ');
document.writeln(' <p><a href="http://www.hendersoncountync.org"> Henderson County Home</a> | ');
document.writeln(' <a href="http://www.hendersoncountync.org/depts/gov-body.html">Board of Commissioners</a> | ');
document.writeln(' <a href="http://www.hendersoncountync.org/depts/">Departments</a> | ');
document.writeln('	<a href="http://www.hendersoncountync.org/services.html">Online Services</a> |  ');
document.writeln('  <a href="http://www.hendersoncountync.org/links/interest.html">Links</a> </p></div>');


//SIDE MENUS.
 document.writeln(' <DIV id=sidebar class="noprint" style="HEIGHT: 500px; LEFT: 0px; POSITION: absolute; TOP: 100px; WIDTH: 175px; Z-INDEX: 2;">');
 document.writeln(' <TABLE>');
 document.writeln(' <TR><TD height=150 valign=top width=175> </TD></TR></table></div>');
 /*
 document.writeln(' <TR><TD valign=top width=175><div align="left"><p class="clickabove"> ');
 document.writeln(' Click on the menus above for links to <a href="http://www.hendersoncountync.org/">Henderson County</a> government websites.</strong></p></div></TD></TR>');
*/
// BELOW, THE ADDRESS OF THE ASSESSOR'S OFFICE. 
 document.writeln(' <div id="sidebar2" class="noprint"><p class="address"><br><br>Henderson County<br> <a href="index.html" class="assessorlink">Assessor’s Office</a><br>  ');
 document.writeln(' 200 North Grove Street,<br> ');
 document.writeln(' Suite 102<br> ');
 document.writeln(' Hendersonville, NC 28792<br> '); 
 document.writeln(' Phone: (828) 697-4870<br> ');
 document.writeln(' Fax: (828) 697-4578<br><br></p> ');

// THE HENDERSON COUNTY LOGO.
 document.writeln(' <a href="http://www.hendersoncountync.org/"><img src="images/county_logo_small.jpg" alt="Henderson County Homepage" align="middle"></a> ');  
 document.writeln(' </div> ');

 //This section sets up the "triggers" or "buttons" that trigger the drop-down menus.
 
 //Button 1: Web Directory
 document.writeln(' <DIV id=menTrig1 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 128px; Z-INDEX: 5"><A  ');
 document.writeln(' href="javascript:;" onClick="P7_autoLayers(0,' + "'flym1'" + ')"  ');
 document.writeln(' onMouseover="document.services.src=' + "'images/menu1r.gif'" + '" ');
 document.writeln(' onMouseout="document.services.src=' + "'images/menu1.gif'" + '" ');
 document.writeln(' ><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu1.gif" width=175 name="services"></A></DIV> ');
  
 //Button 2: Tax Information
 document.writeln(' <DIV id=menTrig2 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 100px; WIDTH: 175px; Z-INDEX: 7"><a  ');
 document.writeln(' href="javascript:;" onClick="P7_autoLayers(0,' + "'flym2'" + ')" ');
 document.writeln(' onMouseover="document.info.src=' + "'images/menu2r.gif'" + '" ');
 document.writeln(' onMouseout="document.info.src=' + "'images/menu2.gif'" + '"><img alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu2.gif" width=175 name="info"></a></DIV> ');
 
 //button 3: appraisal/ reappraisal
 document.writeln(' <DIV id=menTrig3 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 184px; WIDTH: 175px; Z-INDEX: 8"><A  ');
 document.writeln(' href="javascript:;" onClick="P7_autoLayers(0,' + "'flym3'" + ')" ');
 document.writeln(' onMouseover="document.appraisal.src=' + "'images/menu3r.gif'" + '"');
 document.writeln(' onMouseout="document.appraisal.src=' + "'images/menu3.gif'" + '" ');
 document.writeln(' ><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu3.gif" width=175 name="appraisal"></A></DIV> ');
 
 //Button 4: Mapping
 document.writeln(' <DIV id=menTrig4 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 156px; WIDTH: 175px; Z-INDEX: 6"><A  ');
 document.writeln(' href="http://www.hendersoncountync.org/gis/" ');
 document.writeln(' onMouseover="document.mapping.src=' + "'images/menu4r.gif'" + '" ');
 document.writeln(' onMouseout="document.mapping.src=' + "'images/menu4.gif'" + '"><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu4.gif" width=175 name="mapping"></A></DIV> ');
 
 //button 5: Tax Exemptions
 document.writeln(' <DIV id=menTrig5 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 212px; WIDTH: 175px; Z-INDEX: 8"><A  ');
 document.writeln(' href="javascript:;" onClick="P7_autoLayers(0,' + "'flym5'" + ')" ');
 document.writeln(' onMouseover="document.exemptions.src=' + "'images/menu5r.gif'" + '"');
 document.writeln(' onMouseout="document.exemptions.src=' + "'images/menu5.gif'" + '" ');
 document.writeln(' ><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu5.gif" width=175 name="exemptions"></A></DIV> ');
 
 //button 6: Quick facts
 /*
 document.writeln(' <DIV id=menTrig6 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 268px; WIDTH: 175px; Z-INDEX: 8"><A  ');
 document.writeln(' href="contact_us.html" ');
 document.writeln(' onMouseover="document.divisions.src=' + "'images/menu6r.gif'" + '"');
 document.writeln(' onMouseout="document.divisions.src=' + "'images/menu6.gif'" + '" ');
 document.writeln(' ><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu6.gif" width=175 name="facts"></A></DIV> ');
 */
 
  //button 7: contact us
  /*
 document.writeln(' <DIV id=menTrig7 class="noprint"  ');
 document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 240px; WIDTH: 175px; Z-INDEX: 8"><A  ');
 document.writeln(' href="contact_us.html" ');
 document.writeln(' onMouseover="document.links.src=' + "'images/menu7r.gif'" + '"');
 document.writeln(' onMouseout="document.links.src=' + "'images/menu7.gif'" + '" ');
 document.writeln(' ><IMG alt="Click here for menu."  ');
 document.writeln(' border=0 height=28 src="images/menu7.gif" width=175 name="contact"></A></DIV> ');
*/ 
 
// ----------------BELOW ARE THE DROP-DOWN MENUS.-----------------

//1: Online Services drop-down Menu.
document.writeln('<DIV id=flym1 class="hMenu" style="LEFT: 0px; POSITION: absolute; TOP: 240; WIDTH: 175px; Z-INDEX: 13; visibility: hidden">  ');
document.writeln('  <TABLE class="hMenu" border=0 cellpadding=3 cellspacing=1 width=175>');
document.writeln('  <tr> ');
document.writeln('    <td><font color="#FFCC33">Online Services</font></td></tr> ');
document.writeln('	</table> ');
document.writeln('      <table class="hMenu" width="175" cellpadding="3" cellspacing="3"> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="http://www.hendersoncountync.org/gis/">View Maps (GIS)</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="realpropertydata.html">Search Real Property Data</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="redirect.html">Search Tax Bills</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="http://www.hendersoncountync.org/paytaxesonline.html">Pay Taxes Online</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxrates.pdf">View Tax Rates (PDF)</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="forms.html">Download Tax Forms</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="http://www.hendersoncountync.org/gis/taxdownload.html">Download Tax Data - Excel/Access/Text Files</A></td> ');
document.writeln('        </tr> ');
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="contact_us.pdf">Contact Us / Comment</A></td> ');
document.writeln('        </tr> ');
document.writeln('      </table>');
document.writeln('</DIV> ');

 
 <!-- 2: Tax Information drop-down menu-->
document.writeln('  <DIV id=flym2 class="hMenu" ');
document.writeln(' style="LEFT: 0px; POSITION: absolute; TOP: 240; WIDTH: 175px; Z-INDEX: 12; visibility: hidden">');
document.writeln('  <TABLE class="hMenu" border=0 cellpadding=3 cellspacing=1 width=175>');
document.writeln('  <tr>');
document.writeln('    <td><font color="#FFCC33">Tax Information</font>');
document.writeln('	</table>');
document.writeln('      <table class="hMenu" width="175" cellpadding="3" cellspacing="3">');
document.writeln('        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first" ');
document.writeln('              href="index.html" >Assessor Home</A></td>');
document.writeln('        </tr>');


document.writeln('        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first" ');
document.writeln('              href="2010 LISTING NOTICE.pdf" >Listing Notice</A></td>');
document.writeln('        </tr>');
document.writeln('		        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first" href="duties.html" >Assessor Duties</A></td>');
document.writeln('        </tr>');
document.writeln('		        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first" href="taxproperty.html" >Property Tax</A></td>');
document.writeln('        </tr>');


document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxpropertyex.html">Property Tax Exemption</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxpropertylaw.html">Property Tax Law</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxelderly.html">Elderly/Disabled Exemption</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxmv.html">Motor Vehicle Tax</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxmv.html">Motor Vehicle Listing</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxbizlisting.html">Business Listing Preparation</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="taxpvalue.html">Present Value Determination</A></td> ');
document.writeln('        </tr> ')
document.writeln('        <tr> ');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td> ');
document.writeln('          <td valign="baseline"><A class="first" href="FY10 Tip Sheet.pdf">Your Tax Dollars at Work</A></td> ');
document.writeln('        </tr> ')


document.writeln('	</table>');
document.writeln('</DIV> ');

// 3: appraisal/ reappraisal drop-down menu
document.writeln('  <DIV id=flym3 class="hMenu"  style="LEFT: 0px; POSITION: absolute; TOP: 240; WIDTH: 175px; Z-INDEX: 10; visibility: hidden;">  ');
document.writeln('<TABLE class="hMenu" border=0 cellpadding=3 cellspacing=1 width=175>');
document.writeln('  <tr>');
document.writeln('    <td><font color="#FFCC33">Appraisals/Reappraisals</font>');
document.writeln('	</table>');
document.writeln('      <table width="175" class="hMenu" cellpadding="3" cellspacing="3">');
document.writeln('        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><a class="first" href="http://www.hendersoncountync.org/gis/">Land Record Management</a></td>');
document.writeln('        </tr>');
document.writeln('					   <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first"  ');
document.writeln('              href="mfgappraisals.html" >Manufactured Home Appraisal</A></td>');
document.writeln('        </tr>');
document.writeln('					   <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first"  ');
document.writeln('              href="reappraisal.html" >Reappraisal Section</A></td>');
document.writeln('        </tr>');
document.writeln('	</table>');
document.writeln(' </DIV>  ');	

// tax exemptions drop-down menu
document.writeln('  <DIV id=flym5 class="hMenu"  style="LEFT: 0px; POSITION: absolute; TOP: 240; WIDTH: 175px; Z-INDEX: 10; visibility: hidden;">  ');
document.writeln('<TABLE class="hMenu" border=0 cellpadding=3 cellspacing=1 width=175>');
document.writeln('  <tr>');
document.writeln('    <td><font color="#FFCC33">Tax Exemptions</font>');
document.writeln('	</table>');
document.writeln('      <table width="175" class="hMenu" cellpadding="3" cellspacing="3">');
document.writeln('        <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><a class="first" href="Tax Relief Brochure 2009 Web.pdf">Property Tax Relief</a></td>');
document.writeln('        </tr>');
document.writeln('					   <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first"  ');
document.writeln('              href="taxpvalue.html" >Present-Use Value Assessment</A></td>');
document.writeln('        </tr>');
document.writeln('					   <tr>');
document.writeln('          <td valign="baseline"><img src="http://www.hendersoncountync.org/Assets/whitesquare.gif"></td>');
document.writeln('          <td valign="baseline"><A class="first"  ');
document.writeln('              href="taxpropertyex.html" >Property Tax Exemption</A></td>');
document.writeln('        </tr>');

document.writeln('	</table>');
document.writeln(' </DIV>  ');	

