i have another problem :( this is my script
If you are opening in a new window, you don't need to check with the user about navigating away.
function first() { window.open("http://www.yahoo.com.sg") } function second() { window.open"http://www.google.com") }