]<script>
//This javascript was writen by dron
var md=false,mobj,ox,oy,index=1000;
function document.onmousedown(){
winfocus();
if(event.srcElement.className=="vwintit")
{
md = true;
mobj = document.getElementById(event.srcElement.forid);
ox = mobj.offsetLeft - event.x;
oy = mobj.offsetTop - event.y;
}
}
document.onmouseup=function(){md=false;}
function document.onmousemove()
{
if(md)
{
mobj.style.left = event.x + ox;
mobj.style.top = event.y + oy;
}
}
function winfocus()
{
fobj=document.getElementById(event.srcElement.forid);
if(fobj==null){return false}
if(fobj.style.zIndex!=index)
{
index = index + 1;
fobj.style.zIndex=index;
}
}
document.onclick=winfocus;
</script>