[Javascript] newbie = replacing line breaks for the break tag

Basically the name explains it all. I have a preview thing on my blog and I need to be able to replace the line breaks with the <br /> tag.
here’s the script so far:

function Preview(){
var Source = document.getElementById("content").value;
var Target = document.getElementById("preview");
Target.innerHTML = Source;}

Thanks in advance.