I mentioned in another post about how the Wizards could be a third party in another deal but many shot down the idea because the Wiz don't necessarily have the capspace. My thinking, though, was that's not the only way the Wizards could play a role as a third party and here's a perfect example.
One of the Andrew Bynum rumors is that the Lakers would deal Pau Gasol to the Cavs for Bynum (and then release him thereby clearing out some capspace.) But in order to make that work another 7 million or so needs to go the Lakers' way.
Despite Gortat's positive contributions on offense there has been a drop in the team's defense. Varejao's up there in age but he's still a solid defender who could anchor the D much the way Okafor did. Plus you gotta think Nene will be thrilled having a fellow Brazilian on the roster.
The Cavs seem to have had their sights set on Gasol anyway, if they acquire Gasol they don't really have a need for Varejao.
Gortat goes to the Lakers where he'd be reunited with D'antoni and Nash with whom he had his best seasons. Being reunited with the coach that best utilizes him may boost his free agent stock even more.
(By the way, the trade also works if you substitute Ariza for Gortat.)