I would like to suggest a modification to the fck_link.js file for anyone who has encountered the problem of popup windows getting buried behind the main browser window. The purpose is to ensure that the javascript popup is brought back to the front if more than one is used with the same name.
oRegex.PopupUri = /^javascript:void\(\s*FCKpopup\s*=\s*window.open\(\s*'([^']+)'\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*\)\s*$/ ; // Accessible popups oRegex.OnClickPopup = /^\s*on[cC]lick="\s*FCKpopup\s*=\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*FCKpopup.focus\(\);\s*return\s*false;*\s*"$/ ;
return ( "FCKpopup = window.open(this.href," + sWindowName + ",'" + sFeatures + "'); FCKpopup.focus(); return false" ) ;