<!-- Paste this code into an external JavaScript file named: copyFields.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Will Bontrager :: http://www.willmaster.com/ */

function AllDone(f) {
  if(f.done.checked == true) {
    f.your_editd.value = f.your_edit.value;
    f.billingcity.value = f.shippingcity.value;
    /* If more fields are used, just expand the parameters
       above to include the additional fields. */
  }
}