	if (typeof fcolor == 'undefined') { var fcolor = "#dddddd";}
	if (typeof backcolor == 'undefined') { var backcolor = "#dddddd";}
	if (typeof textcolor == 'undefined') { var textcolor = "darkblue";}
	if (typeof capcolor == 'undefined') { var capcolor ="darkblue";}
	if (typeof closecolor == 'undefined') { var closecolor = "#9999FF";}
	if (typeof width == 'undefined') { var width = "200";}
	if (typeof border == 'undefined') { var border = "1";}
	if (typeof offsetx == 'undefined') { var offsetx = 10;}
	if (typeof offsety == 'undefined') { var offsety = 10;}

	var bc2 = "Une gamme de produits dont l'éventail ne cesse de s'élargir !";
	var bc3 = "Le meilleur accueil vous sera réservé. Un service de vente et après-vente sans cesse à votre écoute !";
	var bc4 = "Notre personnel et notre réseau de distribution répondent à vos commandes dans des délais records !";
	var bc5 = "HYPRO, une jeune entreprise qui ne cesse d'évoluer. En deux ans à peine : 2 unités de production, plusieurs points de vente, etc.";
	var bc6 = "Une équipe dirigeante jeune et dynamique dont l'ambition est d'être le leader dans son domaine !";
	var bc7 = "Des machines modernes renouvelables au rythme des nouvelles technologies !";
	var bc8 = "Des unités de production fonctionnant à plein régime et satisfaisant une demande en pleine croissance !";
	var bc9 = "Un stock de produits, varié et parfaitement adapté à la demande des clients !";
	var bc10 = "Nos produits sont contrôlés de façon rigoureuse et continue, afin de rester au summum de la qualité !";
	var bc12 = "Toujours de l'avant, afin de garantir au consommateur choix et satisfaction !";
	var width = "220";
	var border = "2";
	var fcolor = "#eeeeee";

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;
if ( (ns4) || (ie4) ) {
	if (ns4) over = document.overDiv
	if (ns4) dauph = document.Dauphi
	if (ie4) over = overDiv.style
	if (ie4) dauph = Dauphi.style
	document.onmousemove = mouseMove
	if (ns4) document.captureEvents(Event.MOUSEMOVE)
}


// Clears popups if appropriate
function nd() {
	if ( cnt >= 1 ) { sw = 0 };
	if ( (ns4) || (ie4) ) {
		if ( sw == 0 ) {
			snow = 0;
			hideObject(over);
			showObject(dauph);

		} else {
			cnt++;
		}
	}
}


// Caption popup
function dtc(d,text, title) {
if (ns4) {

	txt = "<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR height=20><TD align=center><SPAN ID=\"PTT\"><B><FONT COLOR=\""+capcolor+"\"> "+title+"</FONT></B></SPAN><br></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 ><TR><TD align=center><br><SPAN ID=\"PST1\"><FONT COLOR=\""+textcolor+"\">"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE>"
}
else {

	txt = "<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR height=20><TD align=center><SPAN ID=\"PTT\"><B><FONT COLOR=\""+capcolor+"\"> "+title+"</FONT></B></SPAN><br></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 ><TR><TD align=center><SPAN ID=\"PST\"><FONT COLOR=\""+textcolor+"\">"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE>"
}

	layerWrite(txt);
	dir = d;
	disp();
}


// Common calls
function disp() {
	if ( (ns4) || (ie4) ) {
		if (snow == 0) 	{
			if (dir == 2) { // Center
				moveTo(over,x+offsetx-(width/2),y+offsety);
			}
			if (dir == 1) { // Right
				moveTo(over,x+offsetx,y+offsety);
			}
			if (dir == 0) { // Left
				moveTo(over,x-offsetx-width,y+offsety);
			}
			showObject(over);
			hideObject(dauph);
			snow = 1;
		}
	}
// Here you can make the text goto the statusbar.
}

// Moves the layer
function mouseMove(e) {
	if (ns4) {x=e.pageX; y=e.pageY}
	if (ie4) {x=event.x; y=event.y}
	if (snow) {
	}
}


// Writes to a layer
function layerWrite(txt) {
        if (ns4) {
                var lyr = document.overDiv.document
                lyr.write(txt)
                lyr.close()
        }
        else if (ie4) document.all["overDiv"].innerHTML = txt
}

// Make an object visible
function showObject(obj) {
        if (ns4) obj.visibility = "show"
        else if (ie4) obj.visibility = "visible"
}

// Hides an object
function hideObject(obj) {
        if (ns4) obj.visibility = "hide"
        else if (ie4) obj.visibility = "hidden"
}

// Move a layer
function moveTo(obj,xL,yL) {
        obj.left = 280
        obj.top = 190
}

