I don't think what you are trying to do is going to be simple. Have you found the code that defines whether the global_header2 template gets rendered? Where is it (in which php file)? Now you will have to find the code where the ad_showthread_firstpost template is rendered (showthread.php) and replace that code with the other code. You could probably write a plugin using the showthread_postbit_create template to render it. But again, you need to find the other code that renders the ad template, see if you need to include other files to help run the code, and then place it in that plugin you create.