Is it possible to load different "_layouts" with ajax for certain pages?
Although you couldn't necessarily change the _layout template with the method given in that tutorial. What you could do is include the header 
the templates rather than in the _layout.html for each template and change it out with another header in the other specific URLs. Or hide it, or whatever you like.