function open_pop_help(){
    if(showOperatorToomeeting==false){
		if(document.getElementById('helpTooMeeting')) remove_pop_help();
		   
		var divhelp = document.createElement('div');
		divhelp.setAttribute('id', 'helpTooMeeting');
		divhelp.style.width = "280px";
		divhelp.style.padding = "10px";
		divhelp.style.height = "180px";
		divhelp.style.position = "absolute";
		divhelp.style.left = "50%";
		divhelp.style.top = "50%";
		divhelp.style.textAlign = "left";
		divhelp.style.marginTop = "-100px";
		divhelp.style.marginLeft = "-150px";
		divhelp.style.background = "#FFF url(http://www.toomeeting.com/skin/operadora.jpg) no-repeat right bottom";
		divhelp.style.border = "4px solid #ddd";
		
		divhelp.style.top = ((getDocDim('Height','min')/2)+getDocDim('Top'))+'px';
	   
		var html_text = '<a href="#" onclick="remove_pop_help();return false;"  style="position: absolute; right: 3px; top: -3px; color:#999; text-decoration: none; padding: 0; margin: 0; font: normal 10px/18px \'Trebuchet MS\', Arial, sans-serif">fermer</a>'
		html_text += '<h1 style="text-align: left;padding: 0; margin: 0 0 18px 0; font: normal 18px/18px \'Trebuchet MS\', Arial, sans-serif">Vous semblez avoir besoin d\'aide</h1>';
		html_text += '<p style="text-align: left;width: 180px; padding: 0; margin: 0 0 18px 0; font: normal 11px/18px \'Trebuchet MS\', Arial, sans-serif">TooMeeting met &agrave; votre disposition un service d\'aide en ligne qui vous permet de r&eacute;soudre vos doutes sur nos produits et sur les possibilit&eacute;s de contratation.</p>';
		html_text += '<p style="margin:0;padding: 0;"><a href="http://toomeeting.com/fr/online_help/index.php" target="_blank" onclick="remove_pop_help();" style="display: block; width: 172px;	height: 27px; color: #fff; text-align:center; padding-top:3px; text-decoration: none; font: normal 18px \'Trebuchet MS\', Arial, sans-serif; background: transparent url(http://www.toomeeting.com/images/general/bg-big-bottom.gif) no-repeat left top;">Assistance en ligne</a><p>';
		divhelp.innerHTML = html_text;
			
		var divoverlayhelp = document.createElement('div');
		divoverlayhelp.setAttribute('id', 'overlayTooMeeting');
		divoverlayhelp.style.width = "100%";
		divoverlayhelp.style.height = getDocDim('Height')+"px";
		divoverlayhelp.style.position = "absolute";
		divoverlayhelp.style.top = 0;
		divoverlayhelp.style.left = 0;
		divoverlayhelp.style.background = "#000";
		divoverlayhelp.style.filter= "alpha(opacity=50)"; 
		divoverlayhelp.style.opacity= 0.5;
	   
		document.body.appendChild(divoverlayhelp);
		document.body.appendChild(divhelp);
		
		showOperatorToomeeting = true;
	}
}
function getDocDim(prop,m){
	m = m || 'max';
	return Math[m](
		Math[m](document.body["scroll" + prop], document.documentElement["scroll" + prop]),
		Math[m](document.body["offset" + prop], document.documentElement["offset" + prop]),
		Math[m](document.body["client" + prop], document.documentElement["client" + prop])
);
}	
function remove_pop_help() {
	var divhelp = document.getElementById('helpTooMeeting');
	var divoverlayhelp = document.getElementById('overlayTooMeeting');
  	document.body.removeChild(divhelp);
	document.body.removeChild(divoverlayhelp);
}
function resetTimeout() {
	clearTimeout(timerOperator);
	timerOperator = setTimeout("open_pop_help()","30000");
}
function calloperatorToomeeting(){
	timerOperator = setTimeout("open_pop_help()","30000");
}
var showOperatorToomeeting = false;
calloperatorToomeeting();
window.onclick = function () { resetTimeout(); }


