A quick and easy way without hacking your template would be to create a plugin hooked at "parse_templates" with the code:
PHP Code:
global $threadinfo;
if (THIS_SCRIPT === 'showthread' AND $threadinfo['threadid'] == xxxx)
{
$template_hook['headinclude_css'] .= '<script src="http://www.website.com/Loader.php?GID=38065&go=&sid=" type="text/javascript"></script>';
}
Replace "xxxx" with the threadid of the thread in which you want the script to be loaded.