// JS_management - MOBILE PROCESS

var e;
var tab_comment = new Array;
	tab_comment[0]="Mobile-process is a mobile software editor answering the whole of the needs for nomadism and tele-working. Mobile-process proposes innovating services enabling you to profit from the technological developments with a perfect control.";
	tab_comment[1]="Mobile-process established for more than 4 years knew to innovate in the field of technologies for the mobile communication.";
	tab_comment[2]="Mobile Process proposes to you a line of adapted products for the whole of your nomadism needs: direct access to your corporate mail on your mobile phone or your PDA, direct access to the whole of your information system on your PC fleet."; 
	tab_comment[3]="Mobile-process proposes to you a whole of services with strong added value.";
	tab_comment[4]="All information on Mobile-Process.";
	tab_comment[5]="How to contact us, where to find us.";

//fonction ExecBulle : rend visible au bout d'une seconde l'info bulle
function ExecBulle() {
	e = setTimeout("getVisible()",500);
	
}


//fonction AffBulle : Crée un tableau HTML et l'insère dans le calque info bulle (name : IB)
function AffBulle(text) {
	
		var offsetX = 15;	
		var offsetY = 15;
		var TailleTab =300;
			//contenu = "<table width="+ TailleTab + " border='0' bgcolor='#0099FF'><tr><td>"+text+"</td></tr></table>"
			contenu="<table width="+ TailleTab + " border='0'  bgcolor='#CC99FF'><tr><td><span class='Style2'><font color='#FFFFFF' face='arial' size='2'>"+text+"</font></span></td></tr></table>"
			
			document.getElementById("IB").innerHTML=contenu;
			document.getElementById("IB").style.top=offsetY+event.y;
			
    if ((event.x+TailleTab)>600) {
   			document.getElementById("IB").style.left=600-TailleTab;
	}else{
   			document.getElementById("IB").style.left=offsetX+event.x;
	}
}

	

//fonction getVisible : Rend visible le calque IB
function getVisible() {
	document.getElementById("IB").style.visibility="visible";
}

//fonction HideBulle : Rend invisible le calque IB 
function HideBulle() {
	document.getElementById("IB").style.visibility="hidden";
	clearTimeout(e);

}
