View Single Post
Old 09-10-2003, 07:09 AM  
Sassyass
Confirmed User
 
Join Date: Dec 2002
Posts: 1,101
[QUOTE

function RightNow()
{
var time;

time = new Date();
return time.getTime();
}

function CalcSpeed(timeStart)
{
var timeEnd, timeElapsed, kbytes;

timeEnd = RightNow();
timeElapsed = (timeEnd - timeStart)/1000 - 0.15;

kbytes = 472/timeElapsed

document.forms[0].kbytes.value = kbytes;
document.forms[0].submit();

}

[/QUOTE]
Sassyass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote