Hi, just curious if any of you guys can help me, my old programmer had intergrated a free flash blackjack game into my site but I took the site down a while ago and would like to put it up again but I can't get the game to work and can't get a hold of him.

Am I missing a file? If maybe one of you guys can break down the Javascript and I could probably figure out what I am missing.
Thanks in advance!

PS. This site isn't up yet.

This is what he gave me:

MAIN FILE:
------------------
<html>
<head>
<link rel="stylesheet" href="/assets/styles/games.css" type="text/css" />
<script src="/assets/js/game_idx.js" type="text/javascript"></script>
</head>

<body onload="window.focus(); if (document.game) document.game.focus()">
<script type="text/javascript"><!--
writeSwfObject('/games/assets/game_1144655957.swf?d=/games/blackjack/&amp;t=table_1144417195.swf&amp;k=skin_1138614034.swf&amp;l=en&amp;s=0&amp;f=1&amp;i=&amp;p=&amp;z=0&amp;a=1&amp;x0=11 42337552&amp;x1=1144417194&amp;x2=1139922484&amp;x3=1150102579&amp;x4=1140009668&amp;x6=1139472876 &amp;x7=1152007262');
var helpURI = '/en/flash/help/games/bj.htm';
//--></script>
<noscript></noscript>
<div id="overlay"></div>
<div id="help"><p class="close"><a href="javascript:;" onclick="closeHelp()">Close</a></p>
<iframe frameborder="0" id="rules"></iframe><div class="win-footer"></div></div>
</body>
</html>


FLASH FILES
-----------------------
game_1144655957.swf
table_1144417195.swf
skin_1138614034.swf

JS FILE:
------------------
function writeSwfObject(src) {
var d = document;
d.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="game" align="middle">');
d.write('<param name="bgcolor" value="#000000" /><param name="quality" value="high" /><param name="allowScriptAccess" value="sameDomain" /><param name="swliveconnect" value="true" /><param name="menu" value="false" /><param name="wmode" value="opaque" />');
d.write('<param name="movie" value="' + src + '" />');
d.write('<embed src="' + src + '" width="100%" height="100%" align="middle" menu="true" quality="high" wmode="opaque" bgcolor="#000000" name="game" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
d.write("<\/object>");

top.document.body.scroll = 'no';
}

function showHelp() {
var d = document;
d.getElementById('rules').src = helpURI;
d.getElementById('help').style.display = 'block';
d.getElementById('overlay').style.display = 'block';
}

function closeHelp() {
var d = top.document;
d.getElementById('overlay').style.display = 'none';
d.getElementById('help').style.display = 'none';
}