1. http://www.youtube.com/watch?v=IXp4_OiAH-o
The guitar has some sort of sweeping effect. I really have no clue it is though, as I still get phasers and flangers mixed up.

2. http://www.last.fm/music/Steve+Vai/_/Deepness
Couldn't find it on youtube, but previewing the track here will give you the idea. I guess it has a similar effect, but much faster (I assume).
Quote by blackflag49
Condoms, for all the copious amounts of pussy with which you will be inevitably bombarded from this moment onward.

They both sound like phasers. The distorted tone in the first one enhances the "swooshiness" of it. I'm guessing it's a Phase 90.

The second one could be a univibe clone. I think Steve Vai uses some Eventide processors for effects, and that could be one of them.
first one is a phaser with some wah on it, would sound better with some auto pan on it aswell!