nothing to do with php, simple plain js problem ... change the varname of "in" to something different eg. msg and there you go 🙂
function Show(msg)
{
document.write(msg);
}
works ... and why ?? Well have a look at the reserved word of js and you see that "in" is one of them, so you are not allowed to use it as a variable, easy isn't it ?
cya Rob