...hi cancerinform - i do have the javascript in the html page
this is the entire html
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">

<
head>

    <
title>LightWindowTest</title>

    <!-- 
Meta Tags -->
    <
meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <
meta name="robots" content="index, follow" />
    
    <!-- 
CSS -->
    <
link rel="stylesheet" type="text/css" href="css/default.css" />
    <
link rel="stylesheet" type="text/css" href="css/lightwindow.css" />
    
    <!-- 
JavaScript-->
    <
script type="text/javascript" src="javascript/prototype.js"></script>
    <
script type="text/javascript" src="javascript/effects.js"></script>
    <
script type="text/javascript" src="javascript/lightwindow.js"></script>


    <
script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script
    
    
    <
script type="text/javascript">
        var 
boo = function(){
            return(
"boo")
        }
    
    </
script>
</
head>

<
body>
<
script type="text/javascript">
AC_FL_RunContent'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','name','flashcoso','width','550','height','200','id','flashcoso','src','FlashExample','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','FlashExample' ); //end AC code
</script><noscript>
<
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" name="flashcoso" width="550" height="200" id="flashcoso">
    <
param name="movie" value="FlashExample.swf" />
    <
param name="quality" value="high" />
    <
param name="wmode" value="transparent" />
    <
embed src="FlashExample.swf" width="550" height="200" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" name="flashcoso"></embed>
</
object>
</
noscript>

</
body>
</
html
in my script how do i set up the call to the javascript

would it be as simple as removing the javascript from the line - have i made more than one error in trying to set it up???

hope you can answer this for me - i feel like i am chasing my own tail on this!