function stayput() {
	if (document.layers) {
		//document.layers['layerName'].pageX = window.pageXOffset + 10;
		document.layers['layerName'].pageY = window.pageYOffset + 10;
	}
	
	if (document.all) {
		//document.all['layerName'].style.posLeft = document.body.scrollLeft + 450;
		document.all['layerName'].style.posTop = document.body.scrollTop + 10;
	}
	
	if(document.getElementById){
		//document.getElementById("layerName").style.left = document.body.scrollLeft + 450;
		document.getElementById("layerName").style.top = document.body.scrollTop + 10;
	}
}

if (screen.width > 800){
	onscroll=stayput;
}