$(document).ready(function() {
   // do stuff when DOM is ready
   // use this to reset a single form  
$(function(){
    $('a.popup').click(function(){
        window.open(this.href, "mywindow", "width=700, height=540, menubar=0, status=0, resizable=1, scrollbars=1");
        return false;
    }); 
 });  
});
