[html]<script>

function Preview()

{

var TestWin=open('');

TestWin.document.write(code.value);



}

</script>