Javascript into getURL

Hy guys!

I have a big problem here:

This actions are on the button:

on (release) {
url = “javascript:if(window.closeVivoChat)window.closeVivoChat(),void(0);”
getURL(url);
trace(url);
gotoAndStop(1);
}

The problem is: when I click the button in the first time, the getURL method calls javascript as I need. Ok. But when I click it on a second time, flash opens a new window looking for a common URL, like http://javascript etc.

Why it happens?

Any suggestion?

cheers!

pp