domok = document.getElementById;
if (domok)
	{
	skn = document.getElementById("topdeck").style;
	if(navigator.appName.substring(0,3) == "Net")
		document.captureEvents(Event.MOUSEMOVE);
	document.onmousemove = get_mouse;
	}

function pop(msg1,msg2,col1,col2) 
{
var content ="<TABLE WIDTH=300 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><CENTER><FONT FACE='ARIAL' COLOR=#FFFFFF SIZE=2><B>"+msg1+"</B></FONT></CENTER></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col2+"><TR><TD><FONT COLOR=#000000 SIZE=2 face='ARIAL'><CENTER>"+msg2+"</TD></TR></TABLE></TD></TR></TABLE>";

	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}

function pop100(msg1,msg2,col1,col2) 
{
var content ="<TABLE WIDTH=100 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><CENTER><FONT FACE='ARIAL' COLOR=#FFFFFF SIZE=2><B>"+msg1+"</B></FONT></CENTER></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col2+"><TR><TD><FONT COLOR=#000000 SIZE=2 face='ARIAL'><CENTER>"+msg2+"</TD></TR></TABLE></TD></TR></TABLE>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}

function pop100noir(msg1,msg2,col1,col2) 
{
var content ="<TABLE WIDTH=100 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><CENTER><FONT FACE='ARIAL' COLOR=#000000 SIZE=2><B>"+msg1+"</B></FONT></CENTER></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col2+"><TR><TD><FONT COLOR=#000000 SIZE=2 face='ARIAL'><CENTER>"+msg2+"</TD></TR></TABLE></TD></TR></TABLE>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function popsimple(msg1,col1,col2) 
{
var content ="<TABLE WIDTH=50 BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><FONT FACE='ARIAL' COLOR="+col2+" SIZE=2>"+msg1+"</FONT></TD></TR></TABLE>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function popsimple50px(msg1,col1,col2) 
{
var content ="<TABLE WIDTH=50 BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><FONT FACE='ARIAL' COLOR="+col2+" SIZE=2>"+msg1+"</FONT></TD></TR></TABLE>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function popjustifie(msg1,msg2,col1,col2) 
{
var content ="<TABLE WIDTH=300 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="+col1+"><TR><TD><CENTER><FONT FACE='ARIAL,VERDANA,HELVETICA' COLOR=#FFFFFF SIZE=1><B>"+msg1+"</B></FONT></CENTER></TD></TR><TR><TD BGCOLOR="+col2+"><FONT COLOR=#000000 SIZE=1 face='ARIAL,VERDANA,HELVETICA'>"+msg2+"</font></TD></TR></TABLE>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function tab(msg1)
{
var content="<table width=200 border=0 cellspacing=0 cellpadding=2 bgcolor=#9BB9AF><tr><td><table border=0 width=100% cellpadding=2 cellspacing=0 bgcolor=#FFFFFF><tr><td><p align=center class=noir><b>"+msg1+"</p></td></tr></table></td></tr></table>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}

function lexique()
{
var content="<table width=100 border=0 cellspacing=0 cellpadding=2 bgcolor=#9BB9AF><tr><td><p align=center class=noir>Définition, méthode d'analyse,<br>cliquez ici</p></td></tr></table>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function fiche()
{
var content="<table width=100 border=0 cellspacing=0 cellpadding=2 bgcolor=#9BB9AF><tr><td><p align=center class=noir>Fiche produit,<br>cliquez ici</p></td></tr></table>";
	if (domok)
		{
	  	document.getElementById("topdeck").innerHTML = content;
	  	skn.visibility = "visible";
  		}
}


function get_mouse(e)
	{
	var x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
	var y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
	skn.left = x - 40;
	skn.top = y + 20;
	}

function kill()
	{
	if (domok)
  		skn.visibility = "hidden";
	}

