// Für die FlyingPics
pic = null;

document.onmousemove = updatePIC;


function updatePIC(e) {
	x = (document.all) ? window.event.x + document.body.scrollLeft  : e.pageX;
	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;
	if (pic != null) {
		pic.style.left = (x + 20 ) + "px";
		pic.style.top 	= (y + 20) + "px";
	}
}

function showPIC(id) {
	if (id != ''){
		pic = document.getElementById(id);
		pic.style.display = "block";
	}
}

function hidePIC() {
	if (pic != null){
		pic.style.display = "none";
	}
}

