You can change that HTA as follows:
remove line idTimer = window.setTimeout("vbscript:window.close", 5000)
replace <body>
with <body onclick="vbscript:window.close">
UPD: and to slide the picture across the screen by dragging with right | mid button just add:
<script language="JavaScript">
(function() {
var x0,y0;
document.onmousemove=function () {
if ((event.button!=0)&&(event.button!=1)){
window.moveBy(event.x-x0, event.y-y0);
return false;
}
document.body.style.cursor='auto';
}
document.onmousedown=function () {
if (event.button!=1){
document.body.style.cursor='move';
x0=event.x;
y0=event.y;
}
}
})();
</script>