




/*
     FILE ARCHIVED ON 12:42:30 Jul 8, 2007 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 18:44:31 Aug 20, 2011.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
<!--
function getpos(){
    var posX    = event.screenX;
    var posY    = event.screenY + 20;
    
    var screenW = screen.width;                                 // screen size
    	        
	  var screenH = screen.height - 20;                           // take taskbar into account
    if (posX + 232 > screenW) { posX = posX - 40; }       // if mouse too far right
    if (posY + 164 > screenH) { posY = posY - 80; }       // if mouse too far down
    var wPosition   = new Array(posX,posY);
    return wPosition;
}
function wo(img)
{
  
	//document.getElementById(img).style.display = 'block';
  
	
	document.getElementById('wo').innerHTML = "<table style=\"border: 1px solid #666666;\" bgcolor=white>"
                                           + "<tr><td align=right bgcolor=#f3f3f3><img src=\"/i/wc.gif\" style=\"cursor:hand;\" onClick=\"javascript:wc();\" border=0></td></tr>"
                                           + "<tr><td><img src=\""+img+"\"></td></tr></table>";
   
   var aPos    = getpos();
   var posX    = 300;
   var posY    = document.documentElement.scrollTop+10;
   document.getElementById('wo').style.left = posX;
   document.getElementById('wo').style.top = posY;
   document.getElementById('wo').style.display = 'block';
   return false;
}
function wc(img){
	 document.getElementById('wo').style.display = 'none';
	 return true;
}
<!--
	self.onError=null;

	currentX = currentY = 0;
	whichIt = null;
	lastScrollX = 0; lastScrollY = 0;
  
	ie = document.all && !window.opera;
	
	dom=document.getElementById;
		
	
	function heartBeat() {

		var iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body;
		var objref=(dom)? document.getElementById("wo") : document.all.wo;
		
		var diffY=(ie)? iebody.scrollTop : window.pageYOffset;
		var diffX=(ie)? iebody.scrollLeft : window.pageXOffset;

		
		var docwidth=(ie)? iebody.clientWidth : window.innerWidth;
		var docheight=(ie)? iebody.clientHeight: window.innerHeight;
		
		var objwidth=objref.offsetWidth;
		var objheight=objref.offsetHeight;
		

		if(diffY != lastScrollY) {
	                percent = .1 * (diffY - lastScrollY);
	                if(percent > 0) percent = Math.ceil(percent);
	                else percent = Math.floor(percent);
					if(ie) objref.style.pixelTop += percent;
					else document.wo.top += percent;
	                lastScrollY = lastScrollY + percent;
	    }
		if(diffX != lastScrollX) {
			percent = .1 * (diffX - lastScrollX);
			if(percent > 0) percent = Math.ceil(percent);
			else percent = Math.floor(percent);
			if(ie) objref.style.pixelLeft += percent;
			else document.wo.left += percent;
			lastScrollX = lastScrollX + percent;
		}
	}
	

	
	function checkFocus(x,y) {
	        stalkerx = document.wo.pageX;
	        stalkery = document.wo.pageY;
	        stalkerwidth = document.wo.clip.width;
	        stalkerheight = document.wo.clip.height;
	        if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;
	        else return false;
	}

	function grabIt(e) {
		if(ie) {
			whichIt = event.srcElement;
			while (whichIt.id.indexOf("wo") == -1) {
				whichIt = whichIt.parentElement;
				if (whichIt == null) { return true; }
		    }
			whichIt.style.pixelLeft = whichIt.offsetLeft;
		    whichIt.style.pixelTop = whichIt.offsetTop;
			currentX = (event.clientX + document.body.scrollLeft);
	   		currentY = (event.clientY + document.body.scrollTop);
		} else {
	        window.captureEvents(Event.MOUSEMOVE);
	        if(checkFocus (e.pageX,e.pageY)) {
	                whichIt = document.wo;
	                StalkerTouchedX = e.pageX-document.wo.pageX;
	                StalkerTouchedY = e.pageY-document.wo.pageY;
	        }
		}
	    return true;
	}

	function moveIt(e) {
		if (whichIt == null) { return false; }
		if(ie) {
		    newX = (event.clientX + document.body.scrollLeft);
		    newY = (event.clientY + document.body.scrollTop);
		    distanceX = (newX - currentX);    distanceY = (newY - currentY);
		    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 - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20;
			if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5;
			event.returnValue = false;
		} else {
			whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);
	        if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset;
	        if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset;
	        if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;
	        if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17;
	        return false;
		}
	    return false;
	}

	function dropIt() {
		whichIt = null;
	    if(!ie) window.releaseEvents (Event.MOUSEMOVE);
	    return true;
	}
	

	if(ie) {
		document.onmousedown = grabIt;
	 	document.onmousemove = moveIt;
		document.onmouseup = dropIt;
	}else{
		window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
		window.onmousedown = grabIt;
	 	window.onmousemove = moveIt;
		window.onmouseup = dropIt;
	}

	action = window.setInterval("heartBeat()",1);


// -->
