Create a new tab "Ajax" with Ajax content
Create a new tab "iFrame" with iFrame content
This script available at JavaScript Kit