//E WO UGOKASU----mouve.css GA HITSUYO
//Copywright (c) 2000 by Takuya Shigeta

movinggif = '../index/wavinggclef.gif';

if (location.href.indexOf('profile') >= 0)
	movinggif = 'dondon.gif';

if (VERSION > 3)
	document.write('<div id = "run" class = "mv"> <img src = "', movinggif, '"> </div>');// width = "46" height = "31"

var positionOffsetX = 12;
var positionOffsetY = -6;
var NC4 = !!document.layers;

function movable(e) {
	document.run.left = e.pageX + positionOffsetX;
	document.run.top  = e.pageY + positionOffsetY;
	document.run.visibility = 'visible';
}
function movableGecko(e) {
	document.getElementById('run').style.left = e.pageX + positionOffsetX + "px";
	document.getElementById('run').style.top  = e.pageY + positionOffsetY + "px";
	document.getElementById('run').style.visibility = 'visible';
}

function movableIE(e) {
	if (!NN_NC) {
		var e = event;
		var b = document.body || document.documentElement;
		run.style.left = e.x + positionOffsetX + b.scrollLeft + "px";
		run.style.top  = e.y + positionOffsetY + b.scrollTop + "px";
		run.style.visibility = 'visible';
	}
}

function ol() {
	if (NN_NC) {
		if (document.layers) {
			window.captureEvents (Event.MOUSEMOVE);
			onMouseMove = movable;
		}
		else {
			window.document.captureEvents (Event.MOUSEMOVE);
			document.onmousemove = movableGecko;
		}
	}
}
