Hurray! Now it works, see the difference...
Code:
<!--
function my() 
{
	var var1;
	var1=document.getElementById("Text1").value;
	document.write(var1);
}
-->
Thanx both of u.