Page is a not externally linkable
daveVk - 10:58 pm on Dec 28, 2012 (gmt 0)
My suggestion was to do it on the server using say PHP, not in the javascript.
If you can not do it on the server then try
in head section replace
<script type="text/javascript" src="http://www.mydomain.com/machoRand.js"></script>
with
<script type="text/javascript">
function insertRandomScript() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'machoRand' + Math.floor(Math.random()*10) + '.js'; // for 0 to 9
document.getElementsByTagName('head')[0].appendChild(script);
}
</script>
then on body tag
<body onload="insertRandomScript()">