It works fine but opens the URL in the original window leaving it behind the
popup window. I need it to put the original window out in front and the popup
window behind.

Here's what I have working:
[url]http://aheadone.com/js_test/[/url]

Any javascript gurus out there know how to do this?

Macromedia Extension author: a_morris

Extension URL:
[url]http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn104&viewName=Extensi[/url]
on%20Details&loc=en_us&authorid=32970265&page=0&sc rollPos=0&subcatid=0&snid=sn10
4&itemnumber=1&extid=1010942&catid=0

Here's the script:

<script language="JavaScript" type="text/JavaScript">
<!--
function AM_goToURLinOpener() { //v1.0
var i, args=AM_goToURLinOpener.arguments; document.AM_returnValue = false;
if (opener){
eval("opener.document.location='"+args[0]+"'");
} else eval("document.location='"+args[0]+"'");
}
//-->
</script>