lo scrivo qui anche se non so se sia un problema di javascript o di php.

funzione in javascript cerco di passargli un terzo argomento, con 2 funziona alla perfezione:

function loadXMLDoc(a,b,c){
var d="a"+b;
alert (a+"|"+b+"|"+c+"|"+d);
//qui c mi da undefined (dovrebbe essere $page del PHP)
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById(d).innerHTML=xmlhttp.respo nseText;
}
}
xmlhttp.open("GET",c+a,true);
xmlhttp.send();
}

e questo è il php.

Codice PHP:
$a=1;
$page="Visibile.php?Id=";
while(
$row mysql_fetch_array($rs)){
$c="b".$a
$msg.= "<td><div id='$c' onclick='loadXMLDoc(".$row['IdCategoria'].",".$a.",".$page.")'>hhh</div></td>"
help me please