function launchPopUpWindow(B,C,A,D){if(launchPopUpWindow.arguments.length>4){iQuadrantID=launchPopUpWindow.arguments[4]}else{iQuadrantID=5}if(launchPopUpWindow.arguments.length>5){bScroll=launchPopUpWindow.arguments[5]}else{bScroll=false}if(D>screen.height){if(bScroll){D=screen.availHeight}else{bScroll=true;D=screen.availHeight;A=A+20}}if(A>screen.width){if(bScroll){A=screen.availWidth}else{A=screen.availWidth;bScroll=true}}iTopX=0;iTopY=0;switch(iQuadrantID){case 1:iTopX=0;iTopY=0;break;case 2:iTopX=(screen.width/2)-(A/2);iTopY=0;break;case 3:iTopX=screen.width-A;iTopY=0;break;case 4:iTopX=0;iTopY=(screen.height/2)-(D/2);break;case 5:iTopX=(screen.width/2)-(A/2);iTopY=(screen.height/2)-(D/2);break;case 6:iTopX=screen.width-A;iTopY=(screen.height/2)-(D/2);break;case 7:iTopX=0;iTopY=screen.height-D;break;case 8:iTopX=(screen.width/2)-(A/2);iTopY=screen.height-D;break;case 9:iTopX=screen.width-A;iTopY=screen.height-D;break;default:iTopX=(screen.width/2)-(A/2);iTopY=(screen.height/2)-(D/2);break}if(bScroll){sScrollOption="yes"}else{sScrollOption="no"}mywin=window.open(B,C,"width="+A+",height="+D+",top="+iTopY+",left="+iTopX+",toolbar=no,scrollbars="+sScrollOption+",resizable=no,menubar=no,status=no,directories=no,location=no");mywin.focus();return mywin};