function AfterReged(){setTimeout(function(){parent==self?location="default.aspx":parent.location=parent.location},3e3)}function toBack(){if(inPopup())getPage(parent.location.href)=="table.aspx"&&referrerIs("edit.aspx")&&(parent.dataChanged=!0),setTimeout(parent.$.colorbox.close,0);else return window.dialogArguments||opener||parent==self&&!document.referrer?closeWin():history.go(getUrlParam("type")=="Success"?-2:-1),!1}$(function(){inIframe()&&!inPopup()?($("#form1").hide(),$("#body").addClass("inIfr"),$("#flowmsg").attr("class","mtop_m center gray").html($("#box_content").html())):ShowPop("box_popup")})