")
for (a=0;a")
for (x=0;x")
document.write("")
number ++
}
document.write("")
}
document.write("
")
document.close
document.form1.time.value=time
setTimeout("before()",10000)
setTimeout("left()",10000)
}
function before() {
for (r=1;r<((height*width)+1);r ++) {
document.images[r].src=blank
}
start()
}
function start() {
document.images[t].src=blank
t=parseInt(Math.random()*(height*width))
document.images[t].src=img
if (time !=0) setTimeout("start()",speed)
}
function about() {
alert(" Contact the author or mail [email protected] for more javascripts like these !")
}
function instruct() {
alert("Welcome to 'The CD-ROM Smasher'!\nJust click on the CDs and everytime you get one you get one point.")
}
function left() {
if (time==0) {
alert("You smashed the CD-ROM "+hit+" times")
clear()
}
else {
time=time-1
document.form1.time.value=time
setTimeout("left()",1000)
}
}
function check(num) {
if (num==t) {
hit=hit+1
document.images[t].src="blank.jpg"
}
}
function clear() {
self.status=""
}
function tell(c) {
if (c==t)
window.status="Please don't kill me!"
else
window.status="HA HA! You can't catch me"
}