var t;
function fun(){
clearInterval(t)
t=setInterval ("creatImg()",500)
}
function creatImg(){
//chuangjian
oImg=document.createElement("img")
//fhizhi
oImg.src="img/mouse.png"
oImg.width="100"
oImg.height="100"
oImg.style.position="absolute"
oImg.style.left=parseInt(Math.random()*900)+"px"
oImg.style.top=parseInt(Math.random()*500)+"px"
oImg.onclick =function(){
this.parentNode.removeChild(this)
}
//charu
document.getElementById("box").appendChild(oImg)
}
function fun1(){
clearInterval(t)
}