habe dazugelernt und es selber hinbekommen. Hier die lösung des Problems
<script language="javascript" type="text/javascript">
if (document.layers)
var ns4def=''
function animatein()
{
if (document.getElementById || document.all)
{
for (var idx = 0; idx < document.getElementsByName('flyin').length; idx++)
{
var crossheader = document.getElementsByName('flyin')[idx].style;
var leftVal = crossheader.left.substring(0, crossheader.left.indexOf('px'));
if (parseInt(leftVal) > 0)
{
crossheader.left = leftVal - 5 + "px";
start = setInterval("animatein()",500);
}
else
{
crossheader.left="0px";
crossheader.fontStyle="normal";
clearInterval(start);
}
}//for
}
}//function
if (document.getElementById||document.all)
start=setInterval("animatein()",100);
</script>