/***************************************************************************************************

../img/top.gif ÀÌ¹ÌÁö ¸¸µå¼¼¿ä

***************************************************************************************************/

document.writeln("<style>#floater { left: 0px; position: absolute; top: 0px; visibility: visible; width: 40px; z-index: 1; }</style>")
document.writeln("<div id=floater style='width: 67px; height: 261px; left: 825px; top:230px; visibility: visible;'>")
document.writeln("<table width='66' border='0' cellspacing='0' cellpadding='0'>")
document.writeln("<tr><td><img src='/images/main_quick.gif' width='86' height='202' border='0' usemap='#Map_quick'></td></tr>")
document.writeln("</table>")
document.writeln("<map name='Map_quick' id='Map_quick'>")
document.writeln("<area shape='rect' coords='7,107,79,195' href='/bbs/list.html?b_code=solution_m1' onfocus='this.blur();'>")

document.writeln("</map>")
document.writeln("</div>")


//alert(document.body.clientHeight);

if (document.body.clientHeight >= 60) {
self.onError=null;
currentX = currentY = 0;  
whichIt = null;           
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;

<!-- STALKER CODE -->
function heartBeat() {
	if(IE) { 
		  diffY = document.body.scrollTop; 
		  diffX = 0; 
		   }
	if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
	if(diffY != lastScrollY) {
				percent = .1 * (diffY - lastScrollY);
				if(percent > 0) percent = Math.ceil(percent);
				else percent = Math.floor(percent);
		if(IE) document.all.floater.style.pixelTop += percent;
		if(NS) document.floater.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) document.all.floater.style.pixelLeft += percent;
		if(NS) document.floater.top += percent;
		lastScrollY = lastScrollY + percent;
	}	
}	
if(NS || IE) action = window.setInterval("heartBeat()",1);
}
