jQuery(document).ready(function() {  
window.onload = function() {
    if (typeof theForm.oldOnLoad != "undefined" &&
        (theForm.oldOnLoad != null)) {
        return theForm.oldOnLoad();
    }
    return true;
};     
   
});