var sB={h:null,q:null,D:null,e:null,r:null,H:null,o:function(){if(sB.h==null){sB.h=null;sB.b=false;clearInterval(sB.D);sB.D=null;var b;try{sB.q();}catch(b){qQ("Exception from ModalDialog._onFinish().",R7.r);}sB.V=null;}else{if(sB.h!=null){var b;try{if(sB.h.closed){sB.h=null;sB.b=false;clearInterval(sB.D);sB.D=null;var b;try{sB.q();}catch(b){qQ("Exception from ModalDialog._onFinish().",R7.r);}sB.V=null;}}catch(b){}}}}};sB.S=null;sB.V=null;sB.b=false;sB.l=function(b){if(!yl){return ;}var V;try{var D=sB.H-b.document.body.clientHeight;b.dialogHeight=(parseInt(b.dialogHeight)+D)+"px";}catch(V){}var V;try{var r=sB.r-b.document.body.clientWidth;b.dialogWidth=(parseInt(b.dialogWidth)+r)+"px";}catch(V){}};function nZ(b,V,D,r,H,S,h){sB.S=V;sB.V=null;window.focus();if(yl){var l="";l+="resizable:no;help:no;status:no;scroll:no;";l+="dialogWidth:"+r+"px;";l+="dialogHeight:"+H+"px;";if(S!=null){l+="dialogLeft:"+S+"px;";}if(h!=null){l+="dialogTop:"+h+"px;";}sB.r=r;sB.H=H;sB.b=true;showModalDialog(b,window,l);sB.b=false;sB.r=null;sB.H=null;if(D){D(sB.V);}}else{if(D7){function o(B){if(sB.h!=null){var K;try{if(!sB.h.closed){sB.h.focus();B.preventDefault();B.stopPropagation();}}catch(K){}}}function q(B){B.addEventListener("click",o,true);B.addEventListener("dblclick",o,true);B.addEventListener("mousedown",o,true);B.addEventListener("mouseup",o,true);B.addEventListener("mouseover",o,true);B.addEventListener("keydown",o,true);B.addEventListener("keyup",o,true);B.addEventListener("keypress",o,true);}function e(B){B.removeEventListener("keypress",o,true);B.removeEventListener("keyup",o,true);B.removeEventListener("keydown",o,true);B.removeEventListener("mouseover",o,true);B.removeEventListener("mouseup",o,true);B.removeEventListener("mousedown",o,true);B.removeEventListener("dblclick",o,true);B.removeEventListener("click",o,true);}sB.e=D;sB.q=function(){if(sB.e){sB.e(sB.V);}e(window);for(var b=0;b<window.frames.length;b++){e(window.frames[b]);}};var d="dlg_"+Math.round(Math.random()*1000000);var l="";l+="toolbar=no,menubar=no,personalbar=no,scrollbars=no";l+=",resizable=no,dependent=yes,z-lock=yes";l+=",width="+r+"px";l+=",height="+H+"px";if(S!=null){l+=",left:"+S+"px";}if(h!=null){l+=",top:"+h+"px";}var f;try{var N=window.open(b,d,l);if(N==null){return false;}sB.b=true;sB.h=N;}catch(f){return false;}q(window);for(var p=0;p<window.frames.length;p++){q(window.frames[p]);}if(sB.D!=null){clearInterval(sB.D);}sB.D=setInterval("sB.o()",50);}}return true;}
