I have to do drag and drop.Following one is runing well in IE But not in FireFox.Can please any body help me in finding a one for fireFox







<html>
<head>
<title>Test Page</title>

<script language="JavaScript" type="text/javascript">

function processDrop()
{
var link = document.getElementById("link1");

if(window.event)
{

var abc = window.event.dataTransfer.getData('Text');

alert("Text is " + abc);
link.href = window.event.dataTransfer.getData('Text');

link.style.display = "inline";
}

return false;
}

</script>
</head>

<body>
<div id="layer1" style="height:200px; width:200px; border:1px black solid;" ondragover="javascript:return false;" ondragenter="javascript:return false;" ondrop="javascriptrocessDrop();"></div>

<br><br>

<a id="link1" style="display:none;"><img id="image1" src="http://www.experts-exchange.com/images/certification.gif" style="border:none;" /></a>

</body>
</html>