// Build 20081215.


var pginit = function()
{
	var semmnus = {
		'smnu01':['/technology/se-method/img/mnu01.gif','/technology/se-method/img/mnu01o.gif']
		,'smnu02':['/technology/se-method/img/mnu02.gif','/technology/se-method/img/mnu02o.gif']
		,'smnu03':['/technology/se-method/img/mnu03.gif','/technology/se-method/img/mnu03o.gif']
		,'smnu04':['/technology/se-method/img/mnu04.gif','/technology/se-method/img/mnu04o.gif']
		,'smnu10':['/technology/hypersi/img/mnu01.gif','/technology/hypersi/img/mnu01o.gif']
		,'smnu11':['/technology/hypersi/img/mnu02.gif','/technology/hypersi/img/mnu02o.gif']
		,'smnu12':['/technology/hypersi/img/mnu03.gif','/technology/hypersi/img/mnu03o.gif']
	};

	// append "ioo" Object (Image override)
	if(!window['ioo']) window.ioo = {};
	for(var i in semmnus) window.ioo[i] = semmnus[i];

	
	
	// mouseover hint
	var hint = {
		active : false,
		onshow: false,
		activeId : '',
		xpos: 10,
		ypos: -50
	};
	var hintTracking = function(e)
	{
		if(!hint.active) return;
		$(hint.activeId).style.position = 'absolute';
		$(hint.activeId).style.top    = (Event.pointerY(e)+hint.ypos) + 'px';
		$(hint.activeId).style.left   = (Event.pointerX(e)+hint.xpos) + 'px';
		
		if(hint.onshow){
			if($(hint.activeId)) Element.show($(hint.activeId));
			hint.onshow = false;
		}
	};
	window.hintOn = function(id,xpos,ypos)
	{
		if(!$(id)) return;
		hint.activeId = id;
		hint.active = true;
		hint.onshow = true;
		hint.xpos = xpos;
		hint.ypos = ypos;
	};
	window.hintOff = function(id)
	{
		if(!$(id)) return;
		hint.active = false;
		Element.hide($(id));
	};
	
	Event.observe(window.document, "mousemove", hintTracking, false);
	
}();



