<html><head>
<script>
function init() {
document.getElementById('test').innerHTML = '<marquee behavior="alternate" scrollamount="0">dynamic marquee</marquee>';
}
</script>
</head>
<body onload="init();">
<div id="test"></div>
</body>
</html>