<div class="no-display"> <!-- NO CONTENT IN THIS DIV WILL DISPLAY -->
<!-- BEGIN SET STARTUP VALUES -->
<!-- BEGIN FEE SCHEDULE VALUES -->
<!-- IF ONLY CHANGING FEE VALUES EDIT THESE VARIABLE VALUES -->
<!-- BEGIN PLI COMMERCIAL FEES -->
<<set $permit_fee_rate_commercial to .007>>
<<set $minimum_fee_commercial to 605>>
<<set $minimum_fee_sign to 350>>
<<set $minimum_fee_plan_review_meeting_commercial to 125>>
<<set $maximum_fee_commercial to 80000>>
<<set $fire_maintenance_fee to 100>>
<<set $accel_review_commercial_bda_rate to .015>>
<<set $accel_review_commercial_bda_minimum to 2500>>
<<set $accel_review_commercial_bda_maximum to 80000>>
<<set $accel_review_commercial_rate to .01>>
<<set $accel_review_commercial_minimum to 1500>>
<<set $accel_review_commercial_maximum to 80000>>
<<set $occ_only_fee_commercial to 575>>
<<set $occ_only_fee_commercial_temp to 130>>
<<set $ep_reconnect_fee_commercial to 150>>
<<set $occ_load_new_fee to 375>>
<<set $occ_load_replace_fee to 100>>
<<set $floodplain_nonsub_fee to 175>>
<<set $floodplain_sub_fee to 675>>
<!-- END PLI COMMERCIAL FEES -->
<!-- BEGIN PLI RESIDENTIAL FEES -->
<<set $permit_fee_rate_residential to .006>>
<<set $minimum_fee_residential to 130>>
<<set $minimum_fee_plan_review_meeting_residential to 125>>
<<set $maximum_fee_residential to 8000>>
<<set $ep_reconnect_fee_residential to 75>>
<<set $occ_only_fee_residential to 130>>
<<set $accel_review_residential_rate to .01>>
<<set $accel_review_residential_minimum to 500>>
<<set $accel_review_residential_maximum to 8000>>
<!-- END PLI RESIDENTIAL FEES -->
<!-- BEGIN ZONING FEES -->
<<set $zoning_minimum_fee_residential to 50>>
<<set $zoning_minimum_fee_commercial to 100>>
<<set $zoning_minimum_fee_sign to 100>>
<<set $zoning_permit_fee_rate_residential to .001>>
<<set $zoning_permit_fee_rate_commercial to .003>>
<<set $zoning_permit_fee_rate_sign to .003>>
<<set $zoning_base_fee_max to 40000>>
<<set $zoning_app_fee_percentage to .4>>
<<set $complex_zoning_fee to 250>>
<<set $complex_zoning_sq_footage_threshold to 50000>>
<<set $complex_zoning_dwelling_unit_threshold to 100>>
<<set $complex_zoning_value_threshold to 20000000>>
<!-- END ZONING FEES -->
<!-- BEGIN OTHER FEES -->
<<set $amendment_license_holder to 50>>
<<set $digital_retention_fee to 5>>
<<set $document_retention_fee to 3>>
<<set $SETF to 4.50>>
<<set $TPA_discount_rate to .15>>
<<set $app_fee_percentage to .4>>
<<set $tech_fee_ceiling_1 to 200>>
<<set $tech_fee_ceiling_2 to 1000>>
<<set $tech_fee_ceiling_3 to 10000>>
<<set $tech_fee_1 to 2>>
<<set $tech_fee_2 to 5>>
<<set $tech_fee_3 to 15>>
<<set $tech_fee_4 to 25>>
<!-- END OTHER FEES -->
<!-- END FEE SCHEDULE VALUES -->
<!-- BEGIN STRUCTURE TYPES -->
<!-- BEGIN ARRAY OF ALL COMMERCIAL PERMIT TYPES --> <<set $commercial_permits_array to ['', 'Building & Development', 'Electrical', 'Mechanical', 'Fire Alarm System', 'Suppression System', 'Floodplain', 'Land Operations', 'Storm Water']>> <!-- END ARRAY OF ALL COMMERCIAL PERMIT TYPES -->
<!-- BEGIN ARRAY OF ALL RESIDENTIAL PERMIT TYPES --> <<set $residential_permits_array to ['', 'Building & Development', 'Electrical', 'Mechanical', 'Floodplain']>> <!-- END ARRAY OF ALL RESIDENTIAL PERMIT TYPES -->
<!-- END STRUCTURE TYPES -->
<!-- BEGIN BDA PROMPTS -->
<<set $b_and_d_work_type_array to ['', 'Existing (Alteration/Addition)', 'New Construction']>> <!-- ARRAY OF ALL BUILDING AND DEVELOPMENT WORK TYPES -->
<<set $approved_use_array_commercial to ['', 'New Occupant Load Placard', 'Replacement Occupant Load Placard', 'New Permanent Use', 'New Temporary Use']>> <!-- ARRAY OF ALL COMMERCIAL APPROVED USE SCOPES -->
<<set $approved_use_array_residential to ['', 'New Permanent Use', 'New Temporary Use']>> <!-- ARRAY OF ALL RESIDENTIAL APPROVED USE SCOPES -->
<!-- END BDA PROMPTS -->
<!-- BEGIN OTHER STARTUP VALUES -->
<<set $permit_type_array to ['Select a Structure Type']>> <!-- PERMIT ARRAY STARTING VALUES -->
<<set $structure_type to "">>
<<set $con_value to "">>
<<set $new_con_value to "">>
<<set $original_con_value to "">>
<<set $construction_value_error to 0>>
<<set $com_sq_footage to "">>
<<set $dwelling_units to "">>
<!-- END OTHER STARTUP VALUES -->
<!-- END SET STARTUP VALUES -->
<!--BEGIN WIDGET TO AUTO-POPULATE PERMIT TYPES BASED ON STRUCTURE TYPE -->
<<widget 'permit-type-updater'>>
<<if $structure_type is "Commercial">>
<<set $permit_type_array to $commercial_permits_array>>
<<elseif $structure_type is "Residential">>
<<set $permit_type_array to $residential_permits_array>>
<<else>>
<<set $permit_type_array to ['Select a Structure Type']>>
<</if>>
<<replace "#dyn-listbox">> <<listbox "$permit_type" autoselect>>
<<optionsfrom $permit_type_array>>
<</listbox>> <</replace>>
<</widget>>
<!--END WIDGET TO AUTO-POPULATE PERMIT TYPES BASED ON STRUCTURE TYPE -->
<!--BEGIN WIDGET TO ADD WORK TYPES DROPDOWN -->
<<widget 'work-type-updater'>>
<<if $permit_type is "Building & Development">>
<<replace "#building-and-dev-work-type">><span id="section-title">Work Type:</span>
<<listbox "$work_type" autoselect>>
<<optionsfrom $b_and_d_work_type_array>>
<</listbox>> <span id="work-type-tooltip" title="Click here for more information about Work Types."><div class="help-prompt" onclick="$.wiki('<<work-type-help>>')">?</div></span><</replace>>
<<else>>
<<replace "#building-and-dev-work-type">><</replace>>
<<replace "#building-and-dev-q">><</replace>>
<<set $work_type to "">>
<</if>>
<</widget>>
<!-- END WIDGET TO ADD WORK TYPES DROPDOWN -->
<!-- BEGIN WIDGET TO AUTO-POPULATE BUILDING AND DEV QUESTIONAIRRE -->
<<widget 'building-and-dev-q-updater'>>
<<if $structure_type is "Commercial" and $work_type is "Existing (Alteration/Addition)">>
<<replace "#building-and-dev-q">>
<span id="section-title"> Commercial Existing Construction Work Scopes:</span> <span id="com-ex-work-scope-tooltip" title="Click here for more information about Work Scopes."><div class="help-prompt" onclick="$.wiki('<<com-ex-work-scope-help>>')">?</div></span>
<label><<checkbox "$q_addition" false true>> Addition</label>
<label><<checkbox "$q_approve_use" false true>> Approve Use</label>
<label><<checkbox "$q_exterior_work" false true>> Exterior Work</label>
<label><<checkbox "$q_interior_work" false true>> Interior Work</label>
<label><<checkbox "$q_site_work" false true>> Site Work</label>
<label><<checkbox "$q_vehicle_access" false true>> Vehicle Access</label>
<label><<checkbox "$q_other_alteration" false true>> Other Alteration</label>
<</replace>>
<<elseif $structure_type is "Residential" and $work_type is "Existing (Alteration/Addition)">>
<<replace "#building-and-dev-q">>
<span id="section-title"> Residential Existing Construction Work Scopes:</span> <span id="res-ex-work-scope-tooltip" title="Click here for more information about Work Scopes."><div class="help-prompt" onclick="$.wiki('<<res-ex-work-scope-help>>')">?</div></span>
<label><<checkbox "$q_approve_use" false true>> Approve Use</label>
<label><<checkbox "$q_addition" false true>> House Addition</label>
<label><<checkbox "$q_exterior_work" false true>> House Exterior</label>
<label><<checkbox "$q_interior_work" false true>> House Interior</label>
<label><<checkbox "$q_site_work" false true>> Site Work</label>
<label><<checkbox "$q_other_alteration" false true>> Other Alteration</label>
<</replace>>
<<elseif $structure_type is "Commercial" and $work_type is "New Construction">>
<<replace "#building-and-dev-q">>
<span id="section-title"> Commercial New Construction Work Scopes:</span> <span id="com-new-work-scope-tooltip" title="Click here for more information about Work Scopes."><div class="help-prompt" onclick="$.wiki('<<com-new-work-scope-help>>')">?</div></span>
<label><<checkbox "$q_main_building" false true>> Main Building</label>
<label><<checkbox "$q_site_work" false true>> Site Work</label>
<label><<checkbox "$q_other_new" false true>> Other New</label>
<</replace>>
<<elseif $structure_type is "Residential" and $work_type is "New Construction">>
<<replace "#building-and-dev-q">>
<span id="section-title"> Residential New Construction Work Scopes:</span> <span id="res-new-work-scope-tooltip" title="Click here for more information about Work Scopes."><div class="help-prompt" onclick="$.wiki('<<res-new-work-scope-help>>')">?</div></span>
<label><<checkbox "$q_house" false true>> House</label>
<label><<checkbox "$q_site_work" false true>> Site Work</label>
<label><<checkbox "$q_other_new" false true>> Other New</label>
<</replace>>
<<else>>
<<replace "#building-and-dev-q">><</replace>>
<</if>>
<</widget>>
<<widget 'building-and-dev-ZDR-q-updater'>>
<<if $structure_type is "Commercial" and $permit_type is "Building & Development" and ($work_type is "New Construction" or $q_addition or $q_exterior_work or $q_interior_work or $q_site_work or $q_vehicle_access or $q_other_alteration) and not $sign_scope>>
<<replace "#building-and-dev-ZDR-q">>
<span id="section-title">New Commercial Square Footage:</span>
<<textbox "$com_sq_footage" "">> <span id="com-sq-footage-tooltip" title="Click here for more information about what New Commercial Square Footage is."><div class="help-prompt" onclick="$.wiki('<<com-sq-footage-help>>')">?</div></span>
<span id="section-title">New Dwelling Units:</span>
<<textbox "$dwelling_units" "">> <span id="dwelling-units-tooltip" title="Click here for more information about what New Dwelling Units are."><div class="help-prompt" onclick="$.wiki('<<dwelling-units-help>>')">?</div></span>
<</replace>>
<<else>>
<<replace "#building-and-dev-ZDR-q">><</replace>>
<<set $com_sq_footage to 0>>
<<set $dwelling_units to 0>>
<</if>>
<</widget>>
<!-- END WIDGET TO AUTO-POPULATE BUILDING AND DEV QUESTIONAIRRE -->
<!-- BEGIN WIDGET TO AUTO-POPULATE CHECKBOXES BASED ON PERMIT TYPE -->
<<widget 'checkbox-updater'>>
<<if $permit_type is "Floodplain">>
<<replace "#fp-check">><label><<checkbox "$fp_sub_improvement" false true>> <span id="section-title">Substantial Improvement</span></label> <span id="sub-improvement-tooltip" title="Click here for more information about substantial versus non-substantial improvements."><div class="help-prompt" onclick="$.wiki('<<sub-improvement-help>>')">?</div></span> <</replace>>
<<else>>
<<set $fp_sub_improvement to false>>
<<replace "#fp-check">><</replace>>
<</if>>
<<if $permit_type is "Electrical">>
<<replace "#reconnect-check">>
<label><<checkbox "$ep_reconnect" false true>> <span id="section-title">Reconnect Only</span></label> <span id="reconnect-tooltip" title="Click here for more information about the electrical reconnect scope."><div class="help-prompt" onclick="$.wiki('<<reconnect-help>>')">?</div></span> <</replace>>
<<else>>
<<set $ep_reconnect to false>>
<<replace "#reconnect-check">><</replace>>
<</if>>
<<if $permit_type is "Fire Alarm System" or $permit_type is "Suppression System">>
<<replace "#accelerated-review-check">> <label><<checkbox "$accelerated_review" false true>> <span id="section-title">Accelerated Review</span></label> <span id="accelerated-review-tooltip" title="Click here for more information about accelerated reviews."><div class="help-prompt" onclick="$.wiki('<<accelerated-review-help>>')">?</div></span> <</replace>>
<<else>>
<<set $accelerated_review to false>>
<<replace "#accelerated-review-check">><</replace>>
<</if>>
<<if $permit_type is "Mechanical" or $permit_type is "Electrical">>
<<replace "#exterior-equipment-check">> <label><<checkbox "$exterior_equipment" false true>> <span id="section-title">Exterior Equipment</span></label> <span id="exterior-equipment-tooltip" title="Click here for more information about exterior equipment."><div class="help-prompt" onclick="$.wiki('<<exterior-equipment-help>>')">?</div></span> <</replace>>
<<else>>
<<set $exterior_equipment to false>>
<<replace "#exterior-equipment-check">><</replace>>
<</if>>
<</widget>>
<!-- END WIDGET TO AUTO-POPULATE CHECKBOXES BASED ON PERMIT TYPE -->
<!-- BEGIN WIDGET TO IDENTIFY USE DETAILS -->
<<widget 'use-details'>>
<<if $q_approve_use and not ($q_addition or $q_exterior_work or $q_interior_work or $q_site_work or $q_vehicle_access or $q_other_alteration)>>
<<set $approve_use_only to 1>>
<<set $sign_scope to false>>
<<if $structure_type is "Commercial">>
<<replace "#use-questionaire">>
<span id="section-title">Approve Use Scope:</span>
<span id="dyn-listbox"> <<listbox "$approved_use_questionaire" autoselect>> <<optionsfrom $approved_use_array_commercial>> <</listbox>></span> <span id="approved-use-tooltip" title="Click here for more information about approved use types."><div class="help-prompt" onclick="$.wiki('<<approved-use-help>>')">?</div></span><</replace>>
<<elseif $structure_type is "Residential">>
<<replace "#use-questionaire">>
<span id="section-title">Approve Use Scope:</span>
<span id="dyn-listbox"> <<listbox "$approved_use_questionaire" autoselect>> <<optionsfrom $approved_use_array_residential>> <</listbox>></span> <span id="approved-use-tooltip" title="Click here for more information about approved use types."><div class="help-prompt" onclick="$.wiki('<<approved-use-help>>')">?</div></span><</replace>>
<<else>>
<<replace "#use-questionaire">><</replace>>
<</if>>
<<elseif (($q_other_new or $q_other_alteration) and ($structure_type is "Commercial")) and not ($q_addition or $q_exterior_work or $q_interior_work or $q_site_work or $q_vehicle_access or $q_main_building or $q_approve_use)>>
<<set $approve_use_only to 0>>
<<set $sign_scope to false>>
<<replace "#use-questionaire">>
<label><<checkbox "$sign_scope" false true>> <span id="section-title">Sign Only Scope</span></label> <span id="sign-only-tooltip" title="Click here for more information about Sign Only Scopes."><div class="help-prompt" onclick="$.wiki('<<sign-only-help>>')">?</div></span>
<</replace>>
<<else>>
<<set $approve_use_only to 0>>
<<set $sign_scope to false>>
<<replace "#use-questionaire">><</replace>>
<</if>>
<</widget>>
<!-- END WIDGET TO IDENTIFY USE DETAILS -->
<!-- BEGIN WIDGET TO AUTO-POPULATE AMENDMENT FIELDS -->
<<widget 'amendment-updater'>>
<<if $amendment>>
<<set $con_value to "">>
<<replace "#con-value">><span id="section-title">Original Value of Construction:</span>
<<textbox "$original_con_value" "">> <span id="original-con-val-tooltip" title="Click here for more information about what Original Value of Construction is."><div class="help-prompt" onclick="$.wiki('<<original-con-val-help>>')">?</div></span>
<span id="section-title">New Construction Value:</span>
<<textbox "$new_con_value" "">> <span id="new-con-val-tooltip" title="Click here for more information about what a New Value of Construction is."><div class="help-prompt" onclick="$.wiki('<<new-con-val-help>>')">?</div></span> <</replace>>
<<else>>
<<set $original_con_value to "">>
<<set $new_con_value to "">>
<<replace "#con-value">><span id="section-title">Value of Construction:</span>
<<textbox "$con_value" "">> <span id="con-val-tooltip" title="Click here for more information about what Value of Construction is."><div class="help-prompt" onclick="$.wiki('<<con-val-help>>')">?</div></span>
<</replace>>
<</if>>
<</widget>>
<!-- END WIDGET TO AUTO-POPULATE AMENDMENT FIELDS -->
<!-- BEGIN WIDGET TO ENSURE THAT ALL NUMBERS ARE NUMBERS -->
<<widget 'data-validation'>>
<<set $con_value_validated to "">>
<<set $original_con_value_validated to "">>
<<set $new_con_value_validated to "">>
<<set $dwelling_units_validated to "">>
<<set $com_sq_footage_validated to "">>
<<if validateNumber($con_value) is "NaN">>
<<set $con_value_validated to "">>
<<else>>
<<set $con_value_validated to validateNumber($con_value)>>
<</if>>
<<if validateNumber($original_con_value) is "NaN">>
<<set $original_con_value_validated to "">>
<<else>>
<<set $original_con_value_validated to validateNumber($original_con_value)>>
<</if>>
<<if validateNumber($new_con_value) is "NaN">>
<<set $new_con_value_validated to "">>
<<else>>
<<set $new_con_value_validated to validateNumber($new_con_value)>>
<</if>>
<<if validateNumber($dwelling_units) is "NaN">>
<<set $dwelling_units_validated to "">>
<<else>>
<<set $dwelling_units_validated to validateNumber($dwelling_units)>>
<</if>>
<<if validateNumber($com_sq_footage) is "NaN">>
<<set $com_sq_footage_validated to "">>
<<else>>
<<set $com_sq_footage_validated to validateNumber($com_sq_footage)>>
<</if>>
<</widget>>
<!-- END WIDGET TO ENSURE THAT ALL NUMBERS ARE NUMBERS -->
<!-- BEGIN WIDGET FOR CALCULATION BUTTON -->
<<widget 'button-calculation'>>
<<data-validation>> <!-- CALLS WIDGET -->
<!-- BEGIN BASE FEE CALC -->
<<if $amendment>>
<<set $con_value_validated to Math.abs($new_con_value_validated - $original_con_value_validated)>>
<<else>>
<</if>>
<<if $structure_type is "Commercial">>
<<if $permit_type is "Electrical" and $ep_reconnect>>
<<set $base_fee_calc = $ep_reconnect_fee_commercial>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<<elseif $permit_type is "Floodplain">>
<<if $fp_sub_improvement>>
<<set $base_fee_calc = $floodplain_sub_fee>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<<else>>
<<set $base_fee_calc = $floodplain_nonsub_fee>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<</if>>
<<elseif $approve_use_only is 1>>
<<if $approved_use_questionaire is "New Occupant Load Placard">>
<<set $adj_base_fee_calc = $occ_load_new_fee>>
<<elseif $approved_use_questionaire is "Replacement Occupant Load Placard">>
<<set $adj_base_fee_calc = $occ_load_replace_fee>>
<<elseif $approved_use_questionaire is "New Permanent Use">>
<<set $adj_base_fee_calc = $occ_only_fee_commercial>>
<<elseif $approved_use_questionaire is "New Temporary Use">>
<<set $adj_base_fee_calc = $occ_only_fee_commercial_temp>>
<<else>>
<<set $adj_base_fee_calc = 0>>
<</if>>
<<elseif $sign_scope>>
<<set $base_fee_calc = ($con_value_validated * $permit_fee_rate_commercial)>>
<<if $base_fee_calc < $minimum_fee_sign>>
<<set $adj_base_fee_calc = $minimum_fee_sign>>
<<elseif $base_fee_calc > $maximum_fee_commercial>>
<<set $adj_base_fee_calc = $maximum_fee_commercial>>
<<else>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<</if>>
<<else>>
<<set $base_fee_calc = ($con_value_validated * $permit_fee_rate_commercial)>>
<<if $base_fee_calc < $minimum_fee_commercial>>
<<set $adj_base_fee_calc = $minimum_fee_commercial>>
<<elseif $base_fee_calc > $maximum_fee_commercial>>
<<set $adj_base_fee_calc = $maximum_fee_commercial>>
<<else>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<</if>>
<</if>>
<<elseif $structure_type is "Residential">>
<<if $permit_type is "Electrical" and $ep_reconnect>>
<<set $base_fee_calc = $ep_reconnect_fee_residential>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<<elseif $permit_type is "Floodplain">>
<<if $fp_sub_improvement>>
<<set $base_fee_calc = $floodplain_sub_fee>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<<else>>
<<set $base_fee_calc = $floodplain_nonsub_fee>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<</if>>
<<elseif $approve_use_only is 1>>
<<if $approved_use_questionaire is "New Permanent Use">>
<<set $adj_base_fee_calc = $occ_only_fee_commercial>>
<<elseif $approved_use_questionaire is "New Temporary Use">>
<<set $adj_base_fee_calc = $occ_only_fee_commercial_temp>>
<<else>>
<<set $adj_base_fee_calc = 0>>
<</if>>
<<else>>
<<set $base_fee_calc = ($con_value_validated * $permit_fee_rate_residential)>>
<<if $base_fee_calc < $minimum_fee_residential>>
<<set $adj_base_fee_calc = $minimum_fee_residential>>
<<elseif $base_fee_calc > $maximum_fee_residential>>
<<set $adj_base_fee_calc = $maximum_fee_residential>>
<<else>>
<<set $adj_base_fee_calc = $base_fee_calc>>
<</if>>
<</if>>
<<else>>
<<set $base_fee_calc = "error">>
<</if>>
<!-- END BASE FEE CALC -->
<!-- BEGIN ZONING FLAG LOGIC -->
<<if ($com_sq_footage_validated >= $complex_zoning_sq_footage_threshold or $dwelling_units_validated >= $complex_zoning_dwelling_unit_threshold or $con_value_validated > $complex_zoning_value_threshold) and $permit_type is "Building & Development">>
<<set $zoning_flag to 2>>
<<elseif ($exterior_equipment or $work_type is "New Construction" or $q_site_work or $q_vehicle_access or $q_addition or $q_exterior_work or $sign_scope) and not $ep_reconnect>>
<<set $zoning_flag to 1>>
<<else>>
<<set $zoning_flag to 0>>
<</if>>
<!-- END ZONING FLAG LOGIC -->
<!-- BEGIN TECH FEE CALC -->
<<if $adj_base_fee_calc <= $tech_fee_ceiling_1>>
<<set $tech_fee_calc = $tech_fee_1>>
<<elseif $adj_base_fee_calc <= $tech_fee_ceiling_2>>
<<set $tech_fee_calc = $tech_fee_2>>
<<elseif $adj_base_fee_calc <= $tech_fee_ceiling_3>>
<<set $tech_fee_calc = $tech_fee_3>>
<<elseif $adj_base_fee_calc > $tech_fee_ceiling_3>>
<<set $tech_fee_calc = $tech_fee_4>>
<<else>>
<<set $tech_fee_calc = "error">>
<</if>>
<!-- END TECH FEE CALC -->
<!-- BEGIN DISCOUNT LOGIC -->
<<if $structure_type is "Commercial">>
<<if $permit_type is "Electrical">>
<<if $ep_reconnect>>
<<set $tpa_discount = "">>
<<else>>
<<set $tpa_discount = ($adj_base_fee_calc * $TPA_discount_rate)>>
<</if>>
<<elseif $permit_type is "Storm Water">>
<<set $tpa_discount = ($adj_base_fee_calc * $TPA_discount_rate)>>
<<else>>
<<set $tpa_discount = "">>
<</if>>
<<else>>
<<set $tpa_discount = "">>
<</if>>
<!-- END DISCOUNT LOGIC -->
<!-- BEGIN SETF EXCLUSION LOGIC -->
<<if $permit_type is "Floodplain" or $zoning_flag is 2>>
<<set $setf_final = 0>>
<<else>>
<<set $setf_final = $SETF>>
<</if>>
<!-- END SETF EXCLUSION LOGIC -->
<!-- BEGIN FIRE MAINTENANCE FEE LOGIC -->
<<if $permit_type is "Fire Alarm System" or $permit_type is "Suppression System">>
<<set $fire_maintenance_fee_calc = $fire_maintenance_fee>>
<<else>>
<<set $fire_maintenance_fee_calc = 0>>
<</if>>
<!-- END FIRE MAINTENANCE FEE LOGIC -->
<!-- BEGIN ACCELERATED REVIEW FEE LOGIC-->
<<if $accelerated_review>>
<<if $structure_type is "Commercial">>
<<set $accelerated_review_calc to ($con_value_validated * $accel_plan_review_com_rate)>>
<<if $accelerated_review_calc > $accel_plan_review_com_minimum>>
<<set $accelerated_review_fee to $accelerated_review_calc>>
<<else>>
<<set $accelerated_review_fee to $accel_plan_review_com_minimum>>
<</if>>
<<elseif $structure_type is "Residential">>
<<set $accelerated_review_calc to ($con_value_validated * $accel_plan_review_res_rate)>>
<<if $accelerated_review_calc > $accel_plan_review_res_minimum>>
<<set $accelerated_review_fee to $accelerated_review_calc>>
<<else>>
<<set $accelerated_review_fee to $accel_plan_review_res_minimum>>
<</if>>
<<else>>
<<set $accelerated_review_fee to 0>>
<</if>>
<<else>>
<<set $accelerated_review_fee to 0>>
<</if>>
<!-- END ACCELERATED REVIEW FEE LOGIC-->
<!-- BEGIN ZONING FEE LOGIC -->
<<if $zoning_flag is 1>>
<<if $structure_type is "Commercial">>
<<set $zoning_fee_calc to ($con_value_validated * $zoning_permit_fee_rate_commercial)>>
<<if $zoning_fee_calc < $zoning_minimum_fee_commercial>>
<<set $adj_zoning_fee to $zoning_minimum_fee_commercial>>
<<elseif $zoning_fee_calc > $zoning_base_fee_max>>
<<set $adj_zoning_fee to $zoning_base_fee_max>>
<<else>>
<<set $adj_zoning_fee to $zoning_fee_calc>>
<</if>>
<<elseif $structure_type is "Residential">>
<<set $zoning_fee_calc to ($con_value_validated * $zoning_permit_fee_rate_residential)>>
<<if $zoning_fee_calc < $zoning_minimum_fee_residential>>
<<set $adj_zoning_fee to $zoning_minimum_fee_residential>>
<<elseif $zoning_fee_calc > $zoning_base_fee_max>>
<<set $adj_zoning_fee to $zoning_base_fee_max>>
<<else>>
<<set $adj_zoning_fee to $zoning_fee_calc>>
<</if>>
<<else>>
<<set $adj_zoning_fee to $zoning_fee_calc>>
<</if>>
<<elseif $zoning_flag is 2>>
<<set $adj_zoning_fee to 0>>
<<else>>
<<set $adj_zoning_fee to 0>>
<</if>>
<!-- END ZONING FEE LOGIC -->
<!-- BEGIN MISC FEE LOGIC -->
<<set $total_fee_calc = $adj_base_fee_calc + $tech_fee_calc + $setf_final + $digital_retention_fee + $adj_zoning_fee - $tpa_discount + $accelerated_review_fee + $fire_maintenance_fee_calc>>
<<if $permit_type is "Building & Development">>
<<set $application_fee = (($adj_base_fee_calc - $tpa_discount) * $app_fee_percentage) + ($adj_zoning_fee * $zoning_app_fee_percentage) + $accelerated_review_fee>>
<<else>>
<<set $application_fee = (($adj_base_fee_calc - $tpa_discount) * $app_fee_percentage) + $accelerated_review_fee>>
<</if>>
<!-- END MISC FEE LOGIC -->
<!-- BEGIN ERROR CHECKING FUNCTION -->
<<if $con_value_validated is "" or $con_value is "">>
<<if $amendment or $approve_use_only is 1>>
<<set $con_value_error to 0>>
<<else>>
<<set $con_value_error to 1>>
<</if>>
<<else>>
<<set $con_value_error to 0>>
<</if>>
<<if $amendment and $approve_use_only is 0>>
<<if $amend_val_calc is "" or $original_con_value is "">>
<<set $original_con_value_error to 1>>
<<else>>
<<set $original_con_value_error to 0>>
<</if>>
<<if $con_value_validated is "" or $change_con_value is "">>
<<set $change_con_value_error to 1>>
<<else>>
<<set $change_con_value_error to 0>>
<</if>>
<<else>>
<<set $original_con_value_error to 0>>
<<set $change_con_value_error to 0>>
<</if>>
<<if $permit_type is "Building & Development">> <!--SET WORKSCOPE, WORK TYPE, SQUARE FOOTAGE, AND DWELLING UNIT ERROR FLAGS -->
<<if $structure_type is "Commercial" and $work_type is "Existing (Alteration/Addition)">>
<<if not $q_addition and not $q_approve_use and not $q_exterior_work and not $q_interior_work and not $q_site_work and not $q_vehicle_access and not $q_other_alteration>>
<<set $work_scope_error to 1>>
<<else>>
<<set $work_scope_error to 0>>
<</if>>
<<if $approve_use_only is 0 and not $sign_scope>>
<<if $com_sq_footage_validated is "">>
<<set $com_sq_footage_error to 1>>
<<else>>
<<set $com_sq_footage_error to 0>>
<</if>>
<<if $dwelling_units_validated is "">>
<<set $dwelling_units_error to 1>>
<<else>>
<<set $dwelling_units_error to 0>>
<</if>>
<<else>>
<<set $com_sq_footage_error to 0>>
<<set $dwelling_units_error to 0>>
<</if>>
<<elseif $structure_type is "Residential" and $work_type is "Existing (Alteration/Addition)">>
<<if not $q_addition and not $q_approve_use and not $q_exterior_work and not $q_interior_work and not $q_site_work and not $q_other_alteration>>
<<set $work_scope_error to 1>>
<<else>>
<<set $work_scope_error to 0>>
<</if>>
<<set $com_sq_footage_error to 0>>
<<set $dwelling_units_error to 0>>
<<elseif $structure_type is "Commercial" and $work_type is "New Construction">>
<<if not $q_main_building and not $q_site_work and not $q_other_new>>
<<set $work_scope_error to 1>>
<<else>>
<<set $work_scope_error to 0>>
<</if>>
<<if $com_sq_footage_validated is "">>
<<set $com_sq_footage_error to 1>>
<<else>>
<<set $com_sq_footage_error to 0>>
<</if>>
<<if $dwelling_units_calc is "">>
<<set $dwelling_units_error to 1>>
<<else>>
<<set $dwelling_units_error to 0>>
<</if>>
<<elseif $structure_type is "Residential" and $work_type is "New Construction">>
<<if not $q_house and not $q_site_work and not $q_other_new>>
<<set $work_scope_error to 1>>
<<else>>
<<set $work_scope_error to 0>>
<</if>>
<<set $com_sq_footage_error to 0>>
<<set $dwelling_units_error to 0>>
<<else>>
<<set $work_scope_error to 0>>
<<set $com_sq_footage_error to 0>>
<<set $dwelling_units_error to 0>>
<</if>>
<<if $work_type is "">>
<<set $work_type_error to 1>>
<<else>>
<<set $work_type_error to 0>>
<</if>>
<<else>>
<<set $work_type_error to 0>>
<<set $work_scope_error to 0>>
<<set $com_sq_footage_error to 0>>
<<set $dwelling_units_error to 0>>
<</if>>
<!-- END ERROR CHECKING FUNCTION -->
<!-- BEGIN ERROR REPORTING -->
<<if $structure_type is "" or $permit_type is "" or $permit_type is "Select a Structure Type" or $con_value_error is 1 or $original_con_value_error is 1 or $change_con_value_error is 1 or $work_type_error is 1 or $work_scope_error is 1 or $com_sq_footage_error is 1 or $dwelling_units_error is 1>>
<<replace "#Results">><span id="structure-error"></span><span id="permit-error"></span><span id="work-type-error"></span><span id="work-scope-error"></span><span id="com-sq-ft-error"></span><span id="new-dwelling-units-error"></span><span id="value-error"></span><span id="original-value-error"></span><span id="change-value-error"></span><</replace>>
<<if $structure_type is "">>
<<replace "#structure-error">>
<span class="Error">ERROR: Please enter a Structure Type.</span>
<</replace>>
<<else>>
<<replace "#structure-error">><</replace>>
<</if>>
<<if $permit_type is "" or $permit_type is "Select a Structure Type">>
<<replace "#permit-error">>
<span class="Error">ERROR: Please enter a Permit Type.</span>
<</replace>>
<<else>>
<<replace "#permit-error">><</replace>>
<</if>>
<<if $con_value_error is 1>>
<<replace "#value-error">>
<span class="Error">ERROR: Please enter a Construction Value.</span>
<</replace>>
<<else>>
<<replace "#value-error">><</replace>>
<</if>>
<<if $original_con_value_error is 1>>
<<replace "#original-value-error">>
<span class="Error">ERROR: Please enter an Original Construction Value.</span>
<</replace>>
<<else>>
<<replace "#original-value-error">><</replace>>
<</if>>
<<if $change_con_value_error is 1>>
<<replace "#change-value-error">>
<span class="Error">ERROR: Please enter the change in Construction Value.</span>
<</replace>>
<<else>>
<<replace "#change-value-error">><</replace>>
<</if>>
<<if $work_type_error is 1>>
<<replace "#work-type-error">>
<span Class="Error">ERROR: Please enter a Work Type.</span>
<</replace>>
<<else>>
<<replace "#work-type-error">><</replace>>
<</if>>
<<if $work_scope_error is 1>>
<<replace "#work-scope-error">>
<span Class="Error">ERROR: Please enter a Work Scope.</span>
<</replace>>
<<else>>
<<replace "#work-scope-error">><</replace>>
<</if>>
<<if $com_sq_footage_error is 1>>
<<replace "#com-sq-ft-error">>
<span Class="Error">ERROR: Please enter a value for New Commercial Square Footage.</span>
<</replace>>
<<else>>
<<replace "#com-sq-ft-error">><</replace>>
<</if>>
<<if $dwelling_units_error is 1>>
<<replace "#new-dwelling-units-error">>
<span Class="Error">ERROR: Please enter a value for the number of New Dwelling Units.</span>
<</replace>>
<<else>>
<<replace "#new-dwelling-units-error">><</replace>>
<</if>>
<!-- END ERROR REPORTING -->
<<else>>
<!-- BEGIN RESULTS REPLACEMENT FUNCTION -->
<<if $zoning_flag is 2>>
<<replace "#Results">> Your application requires a mandatory pre-application meeting. You will be charged only for this meeting at application. All other fees and requirements will be assessed following the pre-application meeting.
''Your Calculated Fee''
''Mandatory Pre-Application Meeting:'' <<print numberWithCommas(asDollars($complex_zoning_fee))>>
----
''Total Cost:'' <<print numberWithCommas(asDollars($complex_zoning_fee))>>
<span id="app-fee"></span>
<</replace>>
<<elseif $approve_use_only is 1>>
<<replace "#Results">> <span id="approved-use-type"></span>''Tech Fee:'' <<print numberWithCommas(asDollars($tech_fee_calc))>> <span id="setf-break"></span>
''Digital Retention Fee:'' <<print numberWithCommas(asDollars($digital_retention_fee))>>
----
''Total Cost:'' <<print numberWithCommas(asDollars($total_fee_calc))>>
<span id="app-fee"></span>
<</replace>>
<<if $approved_use_questionaire is "New Occupant Load Placard">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a new occupant load placard only.
''Your Calculated Fee''
''New Occupant Load Placard Fee:'' <<print numberWithCommas(asDollars( $occ_load_new_fee))>>
<</replace>>
<<elseif $approved_use_questionaire is "Replacement Occupant Load Placard">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a replacement occupant load placard only.
''Your Calculated Fee''
''Replacement Occupant Load Placard Fee:'' <<print numberWithCommas(asDollars( $occ_load_replace_fee))>>
<</replace>>
<<elseif $approved_use_questionaire is "New Permanent Use">>
<<if $structure_type is "Residential">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a permanent residential certificate of occupancy only.
''Your Calculated Fee''
''Permanent Residential Certificate of Occupancy Fee:'' <<print numberWithCommas(asDollars($occ_only_fee_residential))>>
<</replace>>
<<elseif $structure_type is "Commercial">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a permanent commercial certificate of occupancy only.
''Your Calculated Fee''
''Permanent Commercial Certificate of Occupancy Fee:'' <<print numberWithCommas(asDollars( $occ_only_fee_commercial))>>
<</replace>>
<<else>>
<<replace "#Results">><</replace>>
<</if>>
<<elseif $approved_use_questionaire is "New Temporary Use">>
<<if $structure_type is "Residential">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a temporary residential certificate of occupancy only.
''Your Calculated Fee''
''Temporary Residential Certificate of Occupancy Fee:'' <<print numberWithCommas(asDollars( $occ_only_fee_residential))>>
<</replace>>
<<elseif $structure_type is "Commercial">>
<<replace "#approved-use-type">> You've indicated that your workscope is for a temporary commercial certificate of occupancy only.
''Your Calculated Fee''
''Temporary Commercial Certificate of Occupancy Fee:'' <<print numberWithCommas(asDollars($occ_only_fee_commercial_temp))>>
<</replace>>
<<else>>
<<replace "#Results">><</replace>>
<</if>>
<<else>>
<<replace "#Results">><</replace>>
<</if>>
<<else>>
<<replace "#Results">> ''Your Calculated Fee''
<span id="permit-type-output">''Permit Type:'' <<print $structure_type>> <<print $permit_type>> Permit</span>
<span id="base-fee">''PLI Base Fee:'' <<print numberWithCommas(asDollars($base_fee_calc))>></span> <span id="adjusted-fee-break"></span> <span id="zoning-fee-break"></span> <span id="zoning-adjusted-fee-break"></span> <span id="tpa-break"></span> <span id="cert-of-occ-break"></span> <span id="accelerated-review-break"></span>
''Tech Fee:'' <<print numberWithCommas(asDollars($tech_fee_calc))>> <span id="setf-break"></span>
''Digital Retention Fee:'' <<print numberWithCommas(asDollars($digital_retention_fee))>><span id="fire-maintenance-fee-break"></span>
----
''Total Cost:'' <<print numberWithCommas(asDollars($total_fee_calc))>>
<span id="app-fee"></span>
<</replace>>
<</if>>
<!-- END RESULTS REPLACEMENT FUNCTION -->
<!-- BEGIN RESULTS REPLACEMENT FUNCTION LOGIC - THIS MUST COME AFTER THE RESULTS REPLACEMENT FUNCTION -->
<<if $approve_use_only is 0 and ($zoning_flag is 0 or $zoning_flag is 1)>> <!-- FLAT RATE OVERRIDE -->
<<if $tpa_discount > 0>>
<<replace "#tpa-break">>
''Applied TPA Discount:'' <<print numberWithCommas(asDollars($tpa_discount))>><</replace>>
<<else>>
<</if>>
<<if $base_fee_calc < $adj_base_fee_calc>>
<<replace "#adjusted-fee-break">>''PLI Minimum Fee Applies''
''Adjusted PLI Base Fee:'' <<print numberWithCommas(asDollars($adj_base_fee_calc))>><</replace>>
<<replace "#base-fee">><</replace>>
<<elseif $base_fee_calc > $adj_base_fee_calc>>
<<replace "#adjusted-fee-break">>''PLI Maximum Fee Applies''
''Adjusted PLI Base Fee:'' <<print numberWithCommas(asDollars($adj_base_fee_calc))>><</replace>>
<<replace "#base-fee">><</replace>>
<<else>>
<</if>>
<<if $accelerated_review>>
<<replace "#accelerated-review-break">>
''Accelerated Review Fee:'' <<print numberWithCommas(asDollars($accelerated_review_fee))>><</replace>>
<<else>>
<</if>>
<<else>>
<</if>>
<<if $setf_final > 0>>
<<replace "#setf-break">>
''SETF Fee:'' <<print numberWithCommas(asDollars($setf_final))>><</replace>>
<<else>>
<</if>>
<<if $adj_zoning_fee > 0>>
<<replace "#zoning-fee-break">>
''Zoning Review Fee:'' <<print numberWithCommas(asDollars($adj_zoning_fee))>><</replace>>
<<if $adj_zoning_fee < $zoning_fee_calc>>
<<replace "#zoning-adjusted-fee-break">>
''Zoning Maximum Fee Applies''
''Adjusted Zoning Review Fee:'' <<print numberWithCommas(asDollars($adj_zoning_fee))>><</replace>>
<<elseif $adj_zoning_fee > $zoning_fee_calc>>
<<replace "#zoning-adjusted-fee-break">>
''Zoning Minimum Fee Applies''
''Adjusted Zoning Review Fee:'' <<print numberWithCommas(asDollars($adj_zoning_fee))>><</replace>>
<<else>>
<</if>>
<<else>>
<</if>>
<<if $fire_maintenance_fee_calc > 0>>
<<replace "#fire-maintenance-fee-break">>
''Fire Registration Maintenance Fee:'' <<print numberWithCommas(asDollars($fire_maintenance_fee))>><</replace>>
<<else>>
<</if>>
<!-- END RESULTS REPLACEMENT FUNCTION LOGIC -->
<!-- BEGIN APP FEE REPLACEMENT -->
<<if $permit_type is "Floodplain">>
<<replace "#app-fee">> Your application fee will be <<print numberWithCommas(asDollars($adj_base_fee_calc))>>.
Remainder is due at time of permit issuance.
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.<</replace>>
<<elseif $permit_type is "Electrical" and $ep_reconnect>>
<<replace "#app-fee">> Your application fee will be <<print numberWithCommas(asDollars($adj_base_fee_calc))>>.
Remainder is due at time of permit issuance.
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.<</replace>>
<<else>>
<<replace "#app-fee">> Your application fee will be <<print numberWithCommas(asDollars($application_fee))>>. Application fee is 40% of base fee.
<span id="accelerated-review-app-break"></span>Remainder is due at time of permit issuance.
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.<</replace>>
<</if>>
<<if $accelerated_review>>
<<replace "#accelerated-review-app-break">>This application fee includes an Accelerated Review Fee. Accelerated Review Fees must be paid in full at application.
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.<</replace>>
<<else>>
<</if>>
<!-- END APP FEE REPLACEMENT -->
<</if>>
<!-- END RESULTS REPLACEMENT FUNCTION LOGIC - THIS MUST COME AFTER THE RESULTS REPLACEMENT FUNCTION -->
<</widget>>
<!-- END WIDGET FOR CALCULATION BUTTON -->
<!-- BEGIN HELP WIDGETS -->
<!-- WIDGETS ARE GROUPED TO OPEN AND CLOSE HELP TEXT -->
<<widget 'structure-type-help'>>
<<replace "#structure-type-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<structure-type-help-close>>')">Select the type of structure in which work is being performed. If the work will result in a change of structure type, select the type which the structure will be upon completion.</div></span><</replace>>
<</widget>>
<<widget 'structure-type-help-close'>>
<<replace "#structure-type-tooltip">> <div class="help-prompt" onclick="$.wiki('<<structure-type-help>>')">?</div><</replace>>
<</widget>>
<<widget 'permit-type-help'>>
<<replace "#permit-type-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<permit-type-help-close>>')">Select the type of permit that most closely matches the scope of work being performed.
</div></span><</replace>>
<</widget>>
<<widget 'permit-type-help-close'>>
<<replace "#permit-type-tooltip">> <div class="help-prompt" onclick="$.wiki('<<permit-type-help>>')">?</div><</replace>>
<</widget>>
<<widget 'con-val-help'>>
<<replace "#con-val-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<con-val-help-close>>')">Cost of labor and materials for your permit scope. If this is an amendment, check the "Amendment" box below. </div></span><</replace>>
<</widget>>
<<widget 'con-val-help-close'>>
<<replace "#con-val-tooltip">> <div class="help-prompt" onclick="$.wiki('<<con-val-help>>')">?</div><</replace>>
<</widget>>
<<widget 'original-con-val-help'>>
<<replace "#original-con-val-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<original-con-val-help-close>>')">The cost of labor and materials for your permit scope as it was originally submitted. If this is not an amendment, uncheck the "Amendment" box below.</div></span><</replace>>
<</widget>>
<<widget 'original-con-val-help-close'>>
<<replace "#original-con-val-tooltip">> <div class="help-prompt" onclick="$.wiki('<<original-con-val-help>>')">?</div><</replace>>
<</widget>>
<<widget 'new-con-val-help'>>
<<replace "#new-con-val-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<new-con-val-help-close>>')">Any change in the cost of labor and materials for your permit scope. If cost has decreased, please enter a 0 value.</div></span><</replace>>
<</widget>>
<<widget 'new-con-val-help-close'>>
<<replace "#new-con-val-tooltip">> <div class="help-prompt" onclick="$.wiki('<<new-con-val-help>>')">?</div><</replace>>
<</widget>>
<<widget 'sub-improvement-help'>>
<<replace "#sub-improvement-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<sub-improvement-help-close>>')">This is applicable if the total cost of the proposed development equals or exceeds fifty (50) percent of the market value of the building; see the Floodplain Ordinance for additional information.</div></span><</replace>>
<</widget>>
<<widget 'sub-improvement-help-close'>>
<<replace "#sub-improvement-tooltip">> <div class="help-prompt" onclick="$.wiki('<<sub-improvement-help>>')">?</div><</replace>>
<</widget>>
<<widget 'reconnect-help'>>
<<replace "#reconnect-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<reconnect-help-close>>')">Select if the only work being performed is the reconnection of electrical service.</div></span><</replace>>
<</widget>>
<<widget 'reconnect-help-close'>>
<<replace "#reconnect-tooltip">> <div class="help-prompt" onclick="$.wiki('<<reconnect-help>>')">?</div><</replace>>
<</widget>>
<<widget 'occ-placard-help'>>
<<replace "#occ-placard-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<occ-placard-help-close>>')">Select if application is to replace missing or damaged placard without changes to number of occupants or layout of assembly space.</div></span><</replace>>
<</widget>>
<<widget 'occ-placard-help-close'>>
<<replace "#occ-placard-tooltip">> <div class="help-prompt" onclick="$.wiki('<<occ-placard-help>>')">?</div><</replace>>
<</widget>>
<<widget 'occ-help'>>
<<replace "#occ-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<occ-help-close>>')">Select if this permit scope contributes to a change of use for the structure or portion therof.</div></span><</replace>>
<</widget>>
<<widget 'occ-help-close'>>
<<replace "#occ-tooltip">> <div class="help-prompt" onclick="$.wiki('<<occ-help>>')">?</div><</replace>>
<</widget>>
<<widget 'amendment-help'>>
<<replace "#amendment-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<amendment-help-close>>')">Select if you are making changes to a previously issued permit.</div></span><</replace>>
<</widget>>
<<widget 'amendment-help-close'>>
<<replace "#amendment-tooltip">> <div class="help-prompt" onclick="$.wiki('<<amendment-help>>')">?</div><</replace>>
<</widget>>
<<widget 'work-type-help'>>
<<replace "#work-type-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<work-type-help-close>>')">Select whether you are performing work on an existing structure or if you will be building a new structure.</div></span><</replace>>
<</widget>>
<<widget 'work-type-help-close'>>
<<replace "#work-type-tooltip">> <div class="help-prompt" onclick="$.wiki('<<work-type-help>>')">?</div><</replace>>
<</widget>>
<<widget 'com-ex-work-scope-help'>>
<<replace "#com-ex-work-scope-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<com-ex-work-scope-help-close>>')">Select the options which best describe the work you will be performing.
* ''Addition:'' Select this scope if your project will be increasing the square footage or footprint or otherwise adding onto the building.
* ''Approve Use:'' Select this scope if you are seeking to have the use of the building approved - either temporarily or permanently.
* ''Exterior Work:'' Select this scope if you are performing work on the exterior of the building.
* ''Interior Work:'' Select this scope if you are performing work on the interior of the building.
* ''Site Work:'' Select this scope if you are performing work to the parcel outside of the building.
* ''Vehicle Access:'' Select this scope if you are adding or alterin vehicle access to the parcel.
* ''Other Alteration:'' Select this if no other scope matches work you are performing.</div></span><</replace>>
<</widget>>
<<widget 'com-ex-work-scope-help-close'>>
<<replace "#com-ex-work-scope-tooltip">> <div class="help-prompt" onclick="$.wiki('<<com-ex-work-scope-help>>')">?</div><</replace>>
<</widget>>
<<widget 'res-ex-work-scope-help'>>
<<replace "#res-ex-work-scope-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<res-ex-work-scope-help-close>>')">Select the options which best describe the work you will be performing.
* ''Approve Use:'' Select this scope if you are seeking to have the use of the building approved - either temporarily or permanently.
* ''House Addition:'' Select this scope if your project will be increasing the square footage or footprint or otherwise adding onto the building.
* ''House Exterior:'' Select this scope if you are performing work on the exterior of the building.
* ''House Interior:'' Select this scope if you are performing work on the interior of the building.
* ''Site Work:'' Select this scope if you are performing work to the parcel outside of the building.
* ''Other Alteration:'' Select this if no other scope matches work you are performing.</div></span><</replace>>
<</widget>>
<<widget 'res-ex-work-scope-help-close'>>
<<replace "#res-ex-work-scope-tooltip">> <div class="help-prompt" onclick="$.wiki('<<res-ex-work-scope-help>>')">?</div><</replace>>
<</widget>>
<<widget 'com-new-work-scope-help'>>
<<replace "#com-new-work-scope-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<com-new-work-scope-help-close>>')">Select the options which best describe the work you will be performing.
* ''Main Building:'' Select this scope if you are building a new commercial structure.
* ''Site Work:'' Select this scope if you are performing work to the parcel outside of the building.
* ''Other New:'' Select this if no other scope matches work you are performing.</div></span><</replace>>
<</widget>>
<<widget 'com-new-work-scope-help-close'>>
<<replace "#com-new-work-scope-tooltip">> <div class="help-prompt" onclick="$.wiki('<<com-new-work-scope-help>>')">?</div><</replace>>
<</widget>>
<<widget 'res-new-work-scope-help'>>
<<replace "#res-new-work-scope-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<res-new-work-scope-help-close>>')">Select the options which best describe the work you will be performing.
* ''House:'' Select this scope if you are building a new house.
* ''Site Work:'' Select this scope if you are performing work to the parcel outside of the building.
* ''Other New:'' Select this if no other scope matches work you are performing.</div></span><</replace>>
<</widget>>
<<widget 'res-new-work-scope-help-close'>>
<<replace "#res-new-work-scope-tooltip">> <div class="help-prompt" onclick="$.wiki('<<res-new-work-scope-help>>')">?</div><</replace>>
<</widget>>
<<widget 'com-sq-footage-help'>>
<<replace "#com-sq-footage-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<com-sq-footage-help-close>>')">Enter the amount of new square footage that this project will be adding. If this project is not adding new commercial square footage enter 0.</div></span><</replace>>
<</widget>>
<<widget 'com-sq-footage-help-close'>>
<<replace "#com-sq-footage-tooltip">> <div class="help-prompt" onclick="$.wiki('<<com-sq-footage-help>>')">?</div><</replace>>
<</widget>>
<<widget 'dwelling-units-help'>>
<<replace "#dwelling-units-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<dwelling-units-help-close>>')">Enter the number of new dwelling units that this project will be adding. If this project is not adding new dwelling units enter 0.</div></span><</replace>>
<</widget>>
<<widget 'dwelling-units-help-close'>>
<<replace "#dwelling-units-tooltip">> <div class="help-prompt" onclick="$.wiki('<<dwelling-units-help>>')">?</div><</replace>>
<</widget>>
<<widget 'accelerated-review-help'>>
<<replace "#accelerated-review-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<accelerated-review-help-close>>')">Check this box if you plan to request an accelerated review. Additional fees apply. See the Accelerated Review bulletin for more information. </div></span><</replace>>
<</widget>>
<<widget 'accelerated-review-help-close'>>
<<replace "#accelerated-review-tooltip">> <div class="help-prompt" onclick="$.wiki('<<accelerated-review-help>>')">?</div><</replace>>
<</widget>>
<<widget 'exterior-equipment-help'>>
<<replace "#exterior-equipment-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<exterior-equipment-help-close>>')">Check this box if your work includes any exterior equipment regulated by zoning. This can include but isn't limited to condensors, generators, and exterior pole lights. </div></span><</replace>>
<</widget>>
<<widget 'exterior-equipment-help-close'>>
<<replace "#exterior-equipment-tooltip">> <div class="help-prompt" onclick="$.wiki('<<exterior-equipment-help>>')">?</div><</replace>>
<</widget>>
<<widget 'approve-use-help'>>
<<replace "#approve-use-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<approve-use-help-close>>')">Select the option from the dropdown that best matches your scope. If you are performing any other work on this permit, please select an additional option from the Work Scopes section above.
* ''New Occupant Load Placard:'' Select this option if you are requesting a new occupant load placard for a space, or you are requesting a change to an existing occupant load placard.
* ''Replacement Occupant Load Placard:'' Select this option if your space had an occupant load placard, you are unable to find a copy of it, and the use of the space has remained the same.
* ''New Permanent Use:'' Select this option if you are proposing a change in the use and/or occupancy of a building and/or tenant space. Includes buildings and/or tenant spaces without a valid certificate of occupancy. A permanent use is any use that exceeds 180 days.
* ''New Temporary Use:'' Select this option if you are proposing a temporary change in the use and/or occupancy of a building and/or tenant space. Includes buildings and/or tenant spaces without a valid certificate of occupancy. A temporary use is any use that does not exceed 180 days. </div></span><</replace>>
<</widget>>
<<widget 'approve-use-help-close'>>
<<replace "#approve-use-tooltip">> <div class="help-prompt" onclick="$.wiki('<<approve-use-help>>')">?</div><</replace>>
<</widget>>
<<widget 'sign-only-help'>>
<<replace "#sign-only-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<sign-only-help-close>>')">Check this box if your work includes only sign related work. </div></span><</replace>>
<</widget>>
<<widget 'sign-only-help-close'>>
<<replace "#sign-only-tooltip">> <div class="help-prompt" onclick="$.wiki('<<sign-only-help>>')">?</div><</replace>>
<</widget>>
<!-- END HELP WIDGETS -->
</div> <!-- END NO DISPLAY DIV -->
<!-- BEGIN DISPLAYED CONTENT -->
<!-- BEGIN GRID CONTAINER -->
<div class="grid-container">
<!-- BEGIN TITLE-HEADER DIV. HEADER IS A PROTECTED DIV DO NOT RENAME. -->
<div class="title-header">
<span id="header-title"> <<print passage()>> </span>
</div>
<!-- END TITLE-HEADER DIV -->
<!-- BEGIN INFO HEADER -->
<!-- END INFO HEADER -->
<!-- BEGIN COL1 DIV. ALL DATA ENTRY HAPPENS IN THIS COLUMN -->
<div class="col1"> <div onclick="$.wiki('<<timed .5s>><<permit-type-updater>><<work-type-updater>><<checkbox-updater>><<building-and-dev-q-updater>><<use-details>><</timed>>')"> <span id="section-title">Type of Structure:</span> <span id="structure-type-tooltip" title="Click here for more information about structure types."><div class="help-prompt" onclick="$.wiki('<<structure-type-help>>')">?</div></span><!-- STRUCTURE TYPE SELECTOR -->
<label><<radiobutton "$structure_type" "Commercial">> Commercial/Mixed Use/Other</label>
<label><<radiobutton "$structure_type" "Residential">> Residential - Single or Two Family</label> </div>
<!-- PERMIT TYPE SELECTOR --> <div onclick="$.wiki('<<timed .5s>><<work-type-updater>><<checkbox-updater>><<building-and-dev-q-updater>><<building-and-dev-ZDR-q-updater>><<use-details>><</timed>>')"><span id="section-title">Permit Type:</span>
<span id="dyn-listbox"> <<listbox "$permit_type" autoselect>>
<<optionsfrom $permit_type_array>> <</listbox>></span> <span id="permit-type-tooltip" title="Click here for more information about determining which type of permit you need."><div class="help-prompt" onclick="$.wiki('<<permit-type-help>>')">?</div></span></div><!-- BUILDING & DEV WORKTYPE SELECTION --><div onclick="$.wiki('<<timed .5s>><<building-and-dev-q-updater>><<building-and-dev-ZDR-q-updater>><</timed>>')"><span id="building-and-dev-work-type"></span></div>
<!-- VALUE OF CONSTRUCTION ENTRY --> <span id="con-value"><span id="section-title">Value of Construction:</span>
<<textbox "$con_value" "">> <span id="con-val-tooltip" title="Click here for more information about what Value of Construction is."><div class="help-prompt" onclick="$.wiki('<<con-val-help>>')">?</div></span></span>
<!-- BEGIN CHECKBOX DISPLAYS --><div onclick="$.wiki('<<timed .5s>><<amendment-updater>><</timed>>')"><label><<checkbox "$amendment" false true>> <span id="section-title">Amendment</span></label> <span id="amendment-tooltip" title="Click here for more information about permit amendments."><div class="help-prompt" onclick="$.wiki('<<amendment-help>>')">?</div></span></div><!-- AMENDMENT CHECKBOX --> <div onclick="$.wiki('<<timed .5s>><<use-details>><<building-and-dev-ZDR-q-updater>><</timed>>')"><span id="building-and-dev-q"></span></div><span id="building-and-dev-ZDR-q"></span><!-- BUILDING AND DEVELOPMENT QUESTIONAIRE --> <span id="exterior-equipment-check"></span><!-- EXTERIOR EQUIPMENT CHECK --> <span id="fp-check"></span><!-- FP SUBSTANTIAL IMPROVEMENT CHECKBOX --> <span id="reconnect-check"></span><!-- EP RECONNECT ONLY CHECKBOX --> <div onclick="$.wiki('<<timed .5s>> <<building-and-dev-ZDR-q-updater>> <</timed>>')"><span id="use-questionaire"></span></div><!-- APPROVE USE ONLY CLARIFYING QUESTION --> <span id="accelerated-review-check"></span><!-- ACCELERATED REVIEW CHECKBOX -->
<!-- END CHECKBOX DISPLAY -->
<!-- BUTTON RUNS ALL LOGIC TO POPULATE VALUES IN DIV COL2 -->
<span id="enterAct"> <div class="button"> <<button "Calculate">>
<<button-calculation>> <!-- RUNS MACRO LOCATED IN NO-DISPLAY DIV -->
<</button>> </div> </span> <!-- END BUTTON -->
<!-- BUTTON RELOADS THE CURRENT PASSAGE TO RESET THE FORM AND RESULTS --><div class="button"> <<button [[Reset Form | PLI Permitting Fee Calculator]]>><</button>> </div>
<!-- END BUTTON -->
</div>
<!-- END COL1 DIV -->
<!-- BEGIN COL2 DIV. ALL RESULTS DISPLAYED HERE -->
<div class="col2"> <span id="section-title">Results:</span>
<span id="Results">Please enter all information in the fields to the left. After you've entered your information, click or tap the "Calculate" button below.
Click or tap the question mark buttons for more information about each field. Click or tap the help message to dismiss it.</span>
</div>
<!-- END COL2 DIV -->
<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer1"> <div class="button"> <<button "Return to PLI's Fee Page">>
<<script>>window.location = "https://www.pittsburghpa.gov/Business-Development/Permits-Licenses-and-Inspections/Fees";<</script>>
<</button>> </div>
</div>
<div class="footer2"> <div class="button"> <<button "Return to PLI's Home Page">>
<<script>>window.location = "https://www.pittsburghpa.gov/Business-Development/Permits-Licenses-and-Inspections";<</script>>
<</button>> </div>
</div>
<div class="footer3"><div class="button"> <<button "OneStopPGH">>
<<script>>window.location = "https://onestoppgh.pittsburghpa.gov/pghprod/webui/";<</script>>
<</button>> </div>
</div>
</div>
<!-- END FOOTER -->
</div>
<!-- END GRID CONTAINER -->
<!-- END DISPLAYED CONTENT -->