﻿jQuery(document).ready(function($) {
    
    //when clicking checkbox 'hide Author' then prefill author fields when empty
    $("table.hideAuthorData input").click(function() {
        if ($(this).val() == "on")
        {
            FillAddressFields();
        }
    });
    
});


