<html>
<body>
<div id="x">this text should show up twice</div>
<div id="y"></div>
<script language="JavaScript">
document.getElementById("y").innerHTML = document.getElementById("x").innerHTML;
</script>
</body>
</html>

