Как в данный java скрипт посставить свои переменные http://jsfiddle.net/gvkXB/ <div class="process"> <div class="bar" id="bar"></div> <div class="text" id="text">0%</div> </div> [JS](function(){ var bar = document.getElementById('bar'), text = document.getElementById('text'), p = 0, t; t = setInterval(function(){ p += 1; text.innerHTML = bar.style.width = p + '%'; if (p >= 100) clearInterval(t); }, 500); })();[/JS] [CSS].process { border: #999 solid 1px; background: #fff; position: relative; width: 200px; } .process .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #ccc; } .process .text { position: relative; line-height: 1.5em; vertical-align: middle; text-align: center; }[/CSS] надо что бы от изменения на этом "http://mix-servers.com/csmon/index.php" сайте менялась шкала вот сам index.php <?php include "inc.php"; $i = 0; $fn = "server.txt"; $fil = file($fn); $linmax = count($fil); $arr = array(); while ($i != $linmax) { $buf = explode("|",$fil[$i]); $data = cs_scan(trim($buf[0]),trim($buf[1])); array_push($arr, $data[players]); $i++; } echo '<center: <font color=339933 size="1"><b>'.array_sum($arr).'</b></font></center>'; ?>