You need to study a bit more on how functions work, and how to pass parameters to them.
The function needs to look like this:
function thisSWF ( $thisSWF, $thisWidth, $thisHeight )
{
...
and also get rid of the GLOBAL statements at the beginning of the function body; these are now parameters to the function.
Then, you call it like this:
thisSWF( "entrance_hdr", "150", "25" );