Javascript dynamic ticker with flash

I am trying to create a stand alone banner calling some javascript elements into the mc.

below is the javascript which is in the head of an html page;

<script type=“text/javascript” src=“http://www.jackpotmadness.com/livecounters.php” id=“livec”></script>
<script type=“text/javascript” src="<A href=“http://www.microgaming.com/modules/getProgBlock/mandatory.php?currency=USD"></script">http://www.microgaming.com/modules/getProgBlock/mandatory.php?currency=USD”></script>
<script type=“text/javascript”>
<!–
function ScrollProgressiveTotalsD(prId){
var obj = document.getElementById(“progressive” + prId);
var itotal = 0;
for(i=1;i<prId;i++){
JP* += (Inc*);
itotal += JP*;
}
obj.value = num2dollar(itotal/100);
window.setTimeout(“ScrollProgressiveTotalsD(”+prId+")",1000);
}
//–>
</script>

then I guess there will be a dynamic text box to call the function of the below.

<script language=“JavaScript”>
<!–
//total progressives
document.write(’<input name=“progressive19” id=progressive19 readonly>’);
ScrollProgressiveTotalsD(19);
//–>

Please let me know if this is at all possible.

thanks