


<!-- STALKER CODE -->
function heartBeat() {
	if(IE) { 
		  diffY = document.body.scrollTop - 1 ;				//yÁÂÇ¥
		  diffX = 920;			//xÁÂÇ¥
		  
	}
	if(NS) { 
		diffY = self.pageYOffset; 
		diffX = self.pageXOffset; 
	}
	/*
	// ¿òÁ÷ÀÏ °ø°£ ¾È¿¡¼­¸¸ ¿òÁ÷ÀÌµµ·Ï ÇÑ´Ù.
	*/
	//if(IE) gab = document.all.bannerMain.style.pixelTop - 300 ;
	//if (gab < 0){
		if(diffY != lastScrollY) {
			percent = .1 * (diffY - lastScrollY);
			if(percent > 0) percent = Math.ceil(percent);
			else percent = Math.floor(percent);
		
			if(IE) document.all.bannerMain.style.pixelTop += percent;
			if(NS) document.bannerMain.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.bannerMain.style.pixelLeft += percent;
		if(NS) document.bannerMain.Left += percent;
		lastScrollX = lastScrollX + percent;
	}	
	
}	
function ActBannerMoving(){
	
	self.onError=null;
	currentX = currentY = 0;  
	whichIt = null;           
	lastScrollX = document.all.bannerMain.style.pixelLeft; 
	lastScrollY = 200;
	NS = (document.layers) ? 1 : 0;
	IE = (document.all) ? 1: 0;
	//if (IE){
		//ÀÌ³à¼®ÀÇ ½ÃÀÛÀ§Ä¡
		//document.all.bannerMain.style.pixelTop = Math.ceil(document.body.clientHeight * 0.4);	//È­¸é »ó´Ü¿¡¼­ ¾ó¸¸Å­ ¶³¾î¶ß·Á¾ß ÇÏ´Â°¡?
		//document.all.bannerMain.style.pixelLeft = document.body.clientWidth ;
		//document.all.bannerMain.style.pixelLeft = 0;		//¿ÞÂÊ¿¡¼­ ¾ó¸¸Å­ ¶³¾î¶ß·Á¾ß ÇÏ´Â°¡?
	//}
	if(NS || IE) action = window.setInterval("heartBeat()",1);
}







/* ¹è³Ê µüµüÇÑ ¹«ºù.*/
/*
var tbwidth = 100;
var tbheight = 40;
var tbmarginx = 20;
var tbmarginy = 2;
var nscrollbarwidth = 16;
var nscrollbarheight = 16;

function setup(){
	window.setInterval ("AdCornerMove();",1);
}
function AdCornerMove(){
	if(document.all){
		var X, Y, X2, Y2;
		
		X = 782;
		Y = 24;
		X += document.body.scrollLeft;
		Y += document.body.scrollTop;
		bannerMain.style.pixelLeft = X;
		bannerMain.style.pixelTop = Y;


		//X2 = document.body.clientWidth - tbwidth - tbmarginx;
		Y2 = document.body.clientHeight - tbheight - tbmarginy;
		//X2 += document.body.scrollLeft;
		Y2 += document.body.scrollTop;
		
		tbpagemoving.style.pixelLeft = X + 50;
		tbpagemoving.style.pixelTop = Y2;
		
	}
}
action = window.setInterval("AdCornerMove()",1);
*/