var _PostBackPopUpManager = function(oldTarget, oldAction) {
    this.OldTarget = oldTarget;
    this.OldAction = oldAction;
}


function _PopUpLinkButton(element) {
    if(theForm) {
        var pm = new _PostBackPopUpManager(theForm.target, theForm.action);
        theForm.target="_blank";
    }
    window.setTimeout((function () { var mypm = pm; function resetForm(){theForm.target=mypm.OldTarget; theForm.action=mypm.OldAction}; return resetForm})(),200);
}