//Tooltips

function enableTtip(){
	document.onmousemove=doTip;
}

function doTip(e) {

	var posx=0,posy=0;

	if (!e) e=window.event;
	
	if(e.pageX || e.pageY){
		posx=e.pageX; posy=e.pageY;
	}else if(e.clientX || e.clientY){ 
//		posx=e.clientX+document.body.scrollLeft;
		posx=e.clientX+ietruebody().scrollLeft;
//		posy=e.clientY+document.body.scrollTop;
		posy=e.clientY+ietruebody().scrollTop;
	}

	document.getElementById("tip").style.top=(posy+10)+"px";
	document.getElementById("tip").style.left=(posx-20)+"px";

  }

function showTtip(id,tip){
	document.getElementById("tip").style.display="block";
	document.getElementById("tip").innerHTML=tip;
	enableTtip();
}

function hideTtip(id){
	document.getElementById("tip").style.display="none";
//	document.getElementById("tip").style.top=-200;
	document.onmousemove=null;
}

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
}
						
var hakuohje="Voit tehd&auml; hakuja sivuston sis&auml;ll&ouml;st&auml;.";
var nimihakuohje="Hae Nurminen Logisticsin yhteyshenkil&ouml;itä kirjoittamalla nimi tai sen osa. Haku ehdottaa henkil&ouml;it&auml;, valitse niistä sopiva vaihtoehto.";

var hakuohje_en="Use keyword(s) to search site contents.";
var nimihakuohje_en="To find a Nurminen Logistics employee, type a name or the first letters of the name. The search engine will suggest matching options.";

var hakuohje_ru="&#1042;&#1099;&#32;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077;&#32;&#1074;&#1077;&#1089;&#1090;&#1080;&#32;&#1087;&#1086;&#1080;&#1089;&#1082;&#32;&#1080;&#1079;&#32;&#1089;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1103;&#32;&#1089;&#1072;&#1081;&#1090;&#1072;&#46;";
var nimihakuohje_ru="&#1055;&#1077;&#1088;&#1089;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1087;&#1086;&#1080;&#1089;&#1082; &#1085;&#1077; &#1087;&#1088;&#1080;&#1074;&#1077;&#1083; &#1082; &#1088;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090;&#1091;? &#1055;&#1088;&#1080;&#1095;&#1080;&#1085;&#1072; &#1084;&#1086;&#1078;&#1077;&#1090; &#1079;&#1072;&#1082;&#1083;&#1102;&#1095;&#1072;&#1090;&#1100;&#1089;&#1103; &#1074; &#1090;&#1086;&#1084;, &#1095;&#1090;&#1086; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1084;&#1086;&#1077; &#1042;&#1072;&#1084;&#1080; &#1087;&#1086;&#1080;&#1089;&#1082;&#1086;&#1074;&#1086;&#1077; &#1089;&#1083;&#1086;&#1074;&#1086; &#1085;&#1077; &#1076;&#1072;&#1083;&#1086; &#1088;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090;&#1086;&#1074; &#1080;&#1083;&#1080; &#1074; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083;&#1072;&#1093; &#1042;&#1072;&#1096;&#1077;&#1075;&#1086; &#1073;&#1088;&#1086;&#1091;&#1079;&#1077;&#1088;&#1072; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1083;&#1077;&#1085;&#1099; &#1085;&#1077;&#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1100;&#1085;&#1099;&#1077; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1099;. &#1055;&#1086;&#1087;&#1088;&#1086;&#1073;&#1091;&#1081;&#1090;&#1077; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1077;&#1077;: &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1090;&#1077;  &#1073;&#1088;&#1086;&#1091;&#1079;&#1077;&#1088; &#1085;&#1072; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083;&#1099; ISO-8859-1 &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1084; &#1086;&#1073;&#1088;&#1072;&#1079;&#1086;&#1084;. &#1042;&#1099;&#1073;&#1077;&#1088;&#1080;&#1090;&#1077; &#1074; &#1074;&#1077;&#1088;&#1093;&#1085;&#1077;&#1084; &#1084;&#1077;&#1085;&#1102; &#1055;&#1086;&#1082;&#1072;&#1079;&#1072;&#1090;&#1100; -> &#1050;&#1086;&#1076;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077; / &#1057;&#1080;&#1084;&#1074;&#1086;&#1083;&#1099; -> iso-8859-1.";