Delayed redirect with PocketPC

Hi,
I try to use the script code below on a pocketPC device to have a delayed redirect but it doesnt work.
Have anyone some idea how to get this work?

<html>
<head>
<title>SPP Redirect</title>
<script language="JavaScript" type="text/javascript">
function sppRedirect(url, time)
{
var cTicks = time;
var timer = setInterval(function()
{
if( --cTicks <= 0)
{
clearInterval(timer);
location = url;
}
}, 1000);
}
</script>
</head>
<body onload="sppRedirect('http://spp.it.volvo.se/', 3)">
</body>
</html>

[681 byte] By [psk] at [2008-2-2]
# 1
Pocket IE supports the meta refresh tag so you can use:-

<meta http-equiv="refresh" content="3;url= http://spp.it.volvo.se">

In your pages <head> section.

Peter

PeterFoot at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...