﻿// JScript File
    

    function zn_SelectMapTaxlot(maplot)
    {
        //alert("Setting taxlot:" + maplot);
        //document.getElementById('txtSelectedTaxlot').value = maplot;
        //document.form1.submit();
        //document.form1_11184.submit();
        document.form1_11184.txtSelectedTaxlot.value = maplot;
        PortalSubmit(); //CoEMap Javascript method..  Refreshes map
    }
    
    function btnClear_Click()
    {
       // alert(document.getElementById("srch_txtAddress").value);
        document.getElementById("txtAddress").value='';
        document.getElementById("lstDir").value='';
        document.getElementById("txtStreet").value='';
        document.getElementById("lstType").value=''; 
        document.getElementById("zn_search_map").value='';
        document.getElementById("zn_search_lot").value='';
    }
    
  
   function Open_print_window(maplot)
   {
       var theUrl='PWwqpw_Print.aspx?maplot='+maplot;
       window.open(pt_11184.transformURL(theUrl), 'PrintWindow','height=750, width=670, toolbar=no, titlebar=no, menubar=no, sizeble=no, scrollbars=yes'); 
   }
   
   function Print_Map(maplot, mapImageUrl)
   {
        //PortalSubmit();
       var theUrl='PWwqpw_PrintMap.aspx?maplot='+maplot +'&mapImageUrl='+ mapImageUrl;
       window.open(pt_11184.transformURL(theUrl), 'PrintWindow','height=750, width=670, toolbar=no, titlebar=no, menubar=no, sizeble=no, scrollbars=yes'); 
   }
   
      function Print_Map(mapImageUrl)
   {
        //PortalSubmit();
       var theUrl='PWwqpw_PrintMap.aspx?mapImageUrl='+ mapImageUrl;
       window.open(pt_11184.transformURL(theUrl), 'PrintWindow','height=750, width=670, toolbar=no, titlebar=no, menubar=no, sizeble=no, scrollbars=yes'); 
   }
   
   function mapRefresh_11184()
   {
        
   }  
   function Refreshmap()
   {
       PortalSubmit()
   }  
   
   function Open_help_window()
   {
       var theUrl="http://www.eugene-or.gov/WebHelp/Portal2.htm#Water_Quality.htm";
       window.open(pt_11184.transformURL(theUrl), 'HelpWindow','height=400, width=400, toolbar=no, titlebar=no, menubar=no, sizeble=no, scrollbars=yes'); 
   }
   
   function Print_Error()
   {
        //PortalSubmit();
        alert('Please select a taxlot to print site information.');
   }
 