I bet McCain and Obama would attack Iran if Iran attacked Israel, too.
The question is, what would any of them do if Israel attacked Iran? Because to me that seems more likely.