Muchas Gracias!!
Pero no se que estoy haciendo mal que me sale error en página...
tengo esto en el head:
<script>document.getElementById('porcentaje' ).innerHTML=<? echo $porciento ?></script>
y esto en el body:
<div id=porcentaje></div>
que estoy haciendo mal
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
!!!