Хорошо, этот код работает в Firefox, но не работает в IE и Chrome. Пожалуйста помоги. Заранее спасибо.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">
var flashNumber = 0;
var items = 3;
films = new Array(items)
films[0] = "movies/animals1.swf";
films[1] = "movies/mammyblue2.swf";
films[2] = "movies/whitebird1.swf";
function rotate(){
holder = document.getElementById('content');
holderr = document.getElementById('contra');
flashNumber++;
if(flashNumber == items)
flashNumber = 0;
holder.src = films[flashNumber];
holderr.value = films[flashNumber];
}
</script>
</head>
<body>
<object width="400" height="300">
<param name="movie" value="movies/animals1.swf" id="contra">
<embed src = "movies/animals1.swf" name="content" id="content"
width="400" height="300">
</embed>
</object>
<input type="button" value="next" onclick="rotate();" />
</body>
</html>