why doesn't this go to gif 2 then 3, 4, and 5 ?
<html>
<body>
<script type="text/javascript">
function curl(a){
var i = 1
if (a.substring(0,7)!='http://' || a.substring(a.length-3,a.length)!='gif')
{
alert("Error");
}
else
{
document.getElementById('dply').innerHTML='';
for (i = 1; i < 6...