currentX = newX; currentY = newY;
whichIt.style.pixelLeft += distanceX;
whichIt.style.pixelTop += distanceY;
if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop =
document.body.scrollTop;
if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft =
document.body.scrollLeft;
if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft -
whichIt.style.pixelWidth -) whichIt.style.pixelLeft = document.body.offsetWidth -
whichIt.style.pixelWidth -;
if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop -
whichIt.style.pixelHeight -) whichIt.style.pixelTop = document.body.offsetHeight +
document.body.scrollTop - whichIt.style.pixelHeight -;
event.returnValue = false;
}
} else {
whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);
if(whichIt.left <+self.pageXOffset) whichIt.left =+self.pageXOffset;
if(whichIt.top <+self.pageYOffset) whichIt.top =+self.pageYOffset;
if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-))
whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-;
if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-))
whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-;
return false;}
return false; }
function dropIt() {whichIt = null;
if(NS) window.releaseEvents (Event.MOUSEMOVE);
return true; }
if(NS) {window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
window.onmousedown = grabIt;
window.onmousemove = moveIt;
window.onmouseup = dropIt; }
if(IE) {
document.onmousedown = grabIt;
document.onmousemove = moveIt;
document.onmouseup = dropIt; }
var style="<style>";
style+=".btn_letter {BORDER-RIGHT:px solid; PADDING-RIGHT:px; BORDER-TOP:px solid;
PADDING-LEFT:px;FONT-SIZE:px; BORDER-LEFT:px solid; CURSOR: hand;PADDING-TOP:px;
BORDER-BOTTOM:px solid; width:px; height:px;}";
style+=".btn_num {width:px;BORDER-RIGHT:px solid; PADDING-RIGHT:px; BORDER-TOP:px
solid; PADDING-LEFT:px; FONT-SIZE:px; BORDER-LEFT:px solid; CURSOR: hand; PADDING-
TOP:px; BORDER-BOTTOM:px solid;height:px;}";
style+=".table_title {FILTER: progid:DXImageTransform.Microsoft.Gradient
(GradientType=,StartColorStr=#BDEF, EndColorStr=#ABDA); height:px;padding-top:
px;}";
style+=".btn_input {BORDER-RIGHT: #CAApx solid; PADDING-RIGHT:px; BORDER-TOP:
#CAApx solid; PADDING-LEFT:px; FONT-SIZE:px; FILTER:
progid:DXImageTransform.Microsoft.Gradient(GradientType=, StartColorStr=#ffffff,
EndColorStr=#CDAF); BORDER-LEFT: #CAApx solid; CURSOR: hand; COLOR: black; PADDING-
TOP:px; BORDER-BOTTOM: #CAApx solid}";
style+="</style>";
document.write(style);
document.write("<DIV align=center id=\"softkeyboard\" name=\"softkeyboard\"
style=\"position:absolute; left:px; top:px; width:px; z-index:;display:none\"><table
id=\"CalcTable\" width=\"\" border=\"\" align=\"center\" cellpadding=\"\" cellspacing=\"
\" bgcolor=\"\"><FORM id=Calc name=Calc action=\"\" method=post autocomplete=\"off\"><tr><td
class=\"table_title\" align=\"right\" valign=\"middle\" bgcolor=\"\" style=\"cursor:
default;height:\"><INPUT type=hidden value=\"\" name=password><INPUT type=hidden value=ok
name=action> <font style=\"font-weight:bold; font-size:px; color:#BC\">博客园
密码输入器
</font>           &n
bsp     <INPUT id=useKey class=\"btn_input\" type=button
value=\"使用键盘输入\" bgtype=\"\" onclick=\"password.readOnly=;password.focus
();closekeyboard();password.value='';\"><span style=\"width:px;\"></span></td></tr><tr
align=\"center\"><td align=\"center\" bgcolor=\"#FFFFFF\"><table align=\"center\" width=\"%