// PostBackUrl hack by Per Zimmerman | www.dentaku.com

//when you click a button with a postBackURL, then click back, the form
//has been given the action of that button, so no matter what button you
//click from then on, it will always go to the postBackURL of the first button you clicked
//NOTE: IE isn't affected by this issue because it doesn't page state when going back

    var __oldAction = theForm.action;
    var __oldPostBack = __doPostBack;
    __doPostBack = function(eventTarget, eventArgument) {
        theForm.action = __oldAction;
        __oldPostBack(eventTarget, eventArgument);            
    }