alert(document.getElementById("p1").firstChild.nodeValue);