var dragswitch=0 var nsx var nsy var nstemp function drag_dropns(name){temp=eval(name) temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP) temp.onmousedown=gons temp.onmousemove=dragns temp.onmouseup=stopns} function gons(e){temp.captureEvents(Event.MOUSEMOVE) nsx=e.x nsy=e.y} function dragns(e){if (dragswitch==1){temp.moveBy(e.x-nsx,e.y-nsy) return false}} function stopns(){temp.releaseEvents(Event.MOUSEMOVE)} ///////drag drop function for IE 4+///////// var dragapproved=false function drag_dropie(){if (dragapproved==true){ document.all.showimage.style.pixelLeft=tempx+event.clientX-iex document.all.showimage.style.pixelTop=tempy+event.clientY-iey return false}} function initializedragie(){iex=event.clientX iey=event.clientY tempx=showimage.style.pixelLeft tempy=showimage.style.pixelTop dragapproved=true document.onmousemove=drag_dropie} if (document.all){document.onmouseup=new Function("dragapproved=false")} function hidebox(){if (document.all) showimage.style.visibility="hidden" else if (document.layers) document.showimage.visibility="hide"} X Chat met Pikachu ! function getAnswers() { time = new Date() randominteger = time.getSeconds() if (document.input1.textfield.value == "") { alert("Pika ! Je hebt helemaal niks gezegd !") return } if (randominteger = 4) && (randominteger = 6) && (randominteger = 8) && (randominteger = 10) && (randominteger = 12) && (randominteger = 14) && (randominteger = 16) && (randominteger = 18) && (randominteger = 20) && (randominteger = 22) && (randominteger = 24) && (randominteger = 26) && (randominteger = 28) && (randominteger = 30) && (randominteger = 32) && (randominteger = 34) && (randominteger = 36) && (randominteger = 38) && (randominteger = 40) && (randominteger = 42) && (randominteger = 44) && (randominteger = 46) && (randominteger = 48) && (randominteger = 50) && (randominteger = 52) && (randominteger = 54) && (randominteger = 56) && (randominteger = 58) && (randominteger = 60) && (randominteger