New window in javasript?

Heya!

I´m trying to change the following, so that a whole new window opens…
The script is taken from Kirupa, and is working just fine otherwise.

I just want the “else”-line to open a new window…

Can anyone help me?

Here it is: (problem in bold text)

if ( MM_FlashCanPlay ) {
window.location.replace(“http://www.researchelectronics.se/main.swf”);

} else{
window.location.open

(“http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash”);
}

Thanx! :slight_smile:

//Kristin