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.galenuspro.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 Arial, sans-serif">cerrar</a>'
		html_text += '<h1 style="text-align: left;padding: 0; margin: 0 0 18px 0; font: normal 18px/18px Arial, sans-serif">Parece que necesita ayuda</h1>';
		html_text += '<p style="text-align: left;width: 180px; padding: 0; margin: 0 0 18px 0; font: normal 11px/18px Arial, sans-serif">GalenusPro pone a su disposici&oacute;n un asesor online para resolver cualquier duda que tenga acerca de nuestro producto, configuraciones y formas de pago.</p>';
		html_text += '<p style="margin:0;padding: 0;"><a href="http://www.galenuspro.com/ayudaonline/index.php" target="_blank" onclick="remove_pop_help();"><img src="http://www.galenuspro.com/skin/boton-atenciononline.gif" alt="Atenci&oacute;n online" border="0" width="110" height="20" /></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()","25000");
}
function calloperatorToomeeting(){
	timerOperator = setTimeout("open_pop_help()","25000");
}
var showOperatorToomeeting = false;
calloperatorToomeeting();
window.onclick = function () { resetTimeout(); }


