function popup_imp(D,E,A,C){var B=new Date().getTime(),H,F,G;A=Math.min(screen.height-75,A||500);E=Math.min(screen.width-75,E||600);H=$H(D.toQueryParams());F=D.indexOf("?");if(F!=-1){D=D.substring(0,F)}if(C){H.update(C.toQueryParams())}H.set("uniq",B);G=window.open(D+"?"+H.toQueryString(),B,"toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes,width="+E+",height="+A+",left=0,top=0");if(!G){alert(IMP.text.popup_block)}else{if(Object.isUndefined(G.name)){G.name=B}if(Object.isUndefined(G.opener)){G.opener=self}G.focus()}};