// JavaScript Document
  var WindowObjectReferenceOfRequestedPopup, WindowObjectReferenceOfIntermediaryPopup;

  function OpenRequestedPopup(strUrl, strTarget) {
	  var windowWidth, windowHeight, windowLeft, windowTop;
	
	  windowWidth = 725;
	  windowHeight = 600;
	  windowLeft = window.screenX +100;
	  windowTop = window.screenY +20;
	
	  if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed){
	  	WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar=0,toolbar=0,location=0,resizable,scrollbars,status");
	  } else {
	  	if(WindowObjectReferenceOfRequestedPopup.focus) {
			WindowObjectReferenceOfRequestedPopup.focus();
		}
	  }
  }

  /*
  The above 9 lines of code creates the popup; if the popup is already opened, then it is only brought on top. This feature is possible only if the user allows it via the setting Edit/Preferences.../category:Advanced/Scripts & Plugins/Allow webpages to:/Raise or lower windows
  */
