function $(id) {
return document.getElementById(id);
}
function getData()
{
var vXmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
var vUrl = "http://topic.csdn.net/u/20080508/14/2691f29f-75f2-49c5-876c-57ce0d72ebdf.html?seed=" + parseInt(Math.random()*1000);
if ( ! vXmlHTTP)
{
alert("Microsoft.XMLHTT创建错误!");
return;
}
vXmlHTTP.open("POST", vUrl, false);
vXmlHTTP.send();
}
function dely_function()
{
for(var i=0;i<10;i++)
{
getData();
}
}
function init() {
dely_function();
$("one").innerHTML='one';
alert("aaa");
dely_function();
$("two").innerHTML='two';
dely_function();
$("three").innerHTML='three';
dely_function();
$("four").innerHTML='four';
dely_function();
$("five").innerHTML='five';
}