Insert into <HEAD> of your document.
<script> function winopen(){ win = window.open("YOUR PAGE NAME", "newWin", "toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=260") startTime() } function startTime(){ var time= new Date(); hours= time.getHours(); mins= time.getMinutes(); secs= time.getSeconds(); closeTime=hours*3600+mins*60+secs; closeTime+=3; // Amount of time that the window stays open in seconds Timer(); } function Timer(){ var time= new Date(); hours= time.getHours(); mins= time.getMinutes(); secs= time.getSeconds(); curTime=hours*3600+mins*60+secs if (curTime>=closeTime){ if (win.closed == false){ win.close()}} else{ window.setTimeout("Timer()",1000)} } </script>
Insert into <BODY> of your document.
<a href="" onMouseOver="winopen();return false;">YOUR LINK DESCRIPTION</a>
YOUR LINK DESCRIPTION