Prototype of ajax template switch
Prototype of AJAX template switch