//useful function that we'll be using throughout function confirmClick(msg) { var okay=confirm(msg); if(okay) return true; else return false; } function el(str,domain,name) { document.write('' + name + ''); } function em(str,domain) { document.write('' + str + '@' + domain + ''); } var anyFieldHasBeenChanged=false; function fieldChanged() { anyFieldHasBeenChanged=true; } function confirmChanges() { if(anyFieldHasBeenChanged) { var okay=confirm(''); if(okay) return true; else return false; } else return true; } /* Stuff to do after the document loads */ $(document).ready(function() { });