﻿function sdf(e) // position du tooltips.
	{	
		MX = MouseXPosition(e);
		MY = MouseYPosition(e);
		WW = WindW();
		
		if (MY < 0 || MY > 122)  refresh();
		if (MX + document.getElementById("toolTip").offsetWidth - document.body.scrollLeft >=  WW - 10 ) document.getElementById("toolTip").style.left = WW - document.getElementById("toolTip").offsetWidth + document.body.scrollLeft + "px";
		else
			document.getElementById("toolTip").style.left = MX + 5 + "px";
		if (MY  < 90 ) document.getElementById("toolTip").style.top = MY + 10 + "px";
		
	}
	
function showToolTip(zText) {	//montre tooltip
		
    	document.getElementById("toolTip").innerHTML = zText;
        document.getElementById("toolTip").style.display = "block";
}

function hideToolTip() {  // cache tooltip
		
        document.getElementById("toolTip").style.display = "none";
      
}
/*
var langue = "_e"

     
// variable tooltips --------------------------------------

var home = "Back to the home page";
var overview = "Company overview";
var team = "Management Team"; 
var pressroom = "Press Releases / Events"; 
var themagazine = "THEMAGAZiNE"; 
var contact = "Contact/Location"; 
var news = "News/Event"; 

var twist = "DALiM TWiST";
var swing = "DALiM SWiNG"; 
var printempo = "DALiM PRiNTEMPO"; 
var mistral = "DALiM MiSTRAL"; 
var dialogue = "DALiM DiALOGUE"; 
var litho = "DALiM LiTHO"; 

var whitepapers = "White Papers";
var jdf="All about JDF";
var preflighting="Dalim Software Preflighting Technology";
var linux="Linux";
var publisher_A="to come";
var articles="articles";

var duo="Go to the Dalim Software Users Organisations website";
var events="Events";
var careers="Jobs at Dalim Software";
var liens="Links";

var ResellerNA="North America Resellers";
var ResellerSA="South America Resellers";
var ResellerE="European Resellers";
var ResellerAS="Asian Resellers";
var ResellerAU="Australian Resellers";



var partners="Technology partners";

var support="go to the Dalim Software support website";
var documentation= "Products documentation";

var brochures= "Products Brochures";
var casestudies= "Case Studies";
var whitepapers= "White papers";
var theimages = "images, screenshots, logos...";
*/