self.onError=null;
currentX = currentY = 0;  
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
action = window.setInterval("heartBeat()",1);

function heartBeat() {

// combowidth=layer_right_bottom.offsetWidth
// comboheight=layer_right_bottom.offsetHeight

	diffY = document.body.scrollTop; 
	diffX = 0; 
	if (diffY != lastScrollY) {
		percent = .2 * (diffY - lastScrollY);
		if (percent > 0) {
			percent = Math.ceil(percent);
		} else {
			percent = Math.floor(percent);
		}
		document.all.layer_right.style.pixelTop += percent;
//		document.all.layer_right_bottom.style.pixelTop = document.body.scrollTop+document.body.clientHeight-comboheight+percent-50;
                lastScrollY = lastScrollY + percent;
	}
	if (diffX != lastScrollX) {
		percent = .2 * (diffX - lastScrollX);
		if (percent > 0) {
			percent = Math.ceil(percent);
		} else {
			percent = Math.floor(percent);
		}
		document.all.layer_right.style.pixelLeft += percent;
//		document.all.layer_right_bottom.style.pixelLeft += percent;
		lastScrollY = lastScrollY + percent;
	}	
} 

function quick_link01()
{  
	window.open('http://gaya.entos.co.kr/gaya/Tour/main.html', 'open', 'width=1015, height=700, top=0, left=0, scrollbars=no');
}
function quick_link02()
{  
	location.href='http://gaya.entos.co.kr/gaya/Net/documents/Inotice/Tnotice_ls.php';
}
function quick_link03()
{  
	location.href='http://gaya.entos.co.kr/gaya/History/documents/Ihistorical_ls.php';
}
function quick_link04()
{  
	location.href='http://gaya.entos.co.kr/gaya/History/documents/kbs.php';
}