
function dropSelection(event)
  {event.target.appendChild(document.createTextNode((event.dataTransfer.dropEffect == effects[i] &amp;&amp; event.dataTransfer.effectAllowed == effects[i])?' PASS ':' FAIL '));
  i = (i + 1)%3;}
function start(event)
  {event.dataTransfer.effectAllowed = effects[i]}
</script>
</head>
<body onload="selectText()">
<p><img ondragstart="start(event)" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20version%3D%221.1%22%20width%3D%22100px%22%20height%3D%