Versuch doch mal so:
echo "<a href="javascript:Foto('$path;','$file');"><img border='0' src='$path$file' width='50' height='50'></a>";
Versuch doch mal so:
echo "<a href="javascript:Foto('$path;','$file');"><img border='0' src='$path$file' width='50' height='50'></a>";