any one encoutered the differece compare to IE6?

The page will continue to load if we click 'cancel':

onclick="return confirm('How gay is MS?')"
onclick="if(confirm('How gay is MS?')) { reallyGAY(); }"

Anyone got a solution?