	
//CMB: FUNÇÃO PARA EXIBIR AJUDA FLUTUANTE QUE SEGUE O MOUSE //	
<!-- <![CDATA[
// The following code is used to support the small popups that
// give the full description of an event when the user move the
// mouse over it.
// Thanks to Klaus Knopper (www.knoppix.com) for this script.
// It has been modified to work with the existing WebCalendar
// architecture on 02/25/2005
//
// 03/05/2005 Prevent popup from going off screen by setting
// maximum width, which is cnfigurable
//
// Bubblehelp infoboxes, (C) 2002 Klaus Knopper <infobox@knopper.net>
// You can copy/modify and distribute this code under the conditions
// of the GNU GENERAL PUBLIC LICENSE Version 2.
//
var ns4            // Are we using Netscape4?
var ie4            // Are we using Internet Explorer Version 4?
var ie5 = true;            // Are we using Internet Explorer Version 5 and up?
var kon            // Are we using KDE Konqueror?
var x,y,winW,winH  // Current help position and main window size
var idiv=null      // Pointer to infodiv container
var px="px"        // position suffix with \"px\" in some cases
var popupW         // width of popup
var popupH         // height of popup
var xoffset = 8    // popup distance from cursor x coordinate
var yoffset = 12   // popup distance from cursor y coordinate
var followMe = 1   // allow popup to follow cursor...turn off for better performance
var maxwidth = 200 // maximum width of popup window

function nsfix(){setTimeout("window.onresize = rebrowse", 2000);}

function rebrowse(){window.location.reload();}

function infoinit(){
  ns4=(document.layers)?true:false, ie4=(document.all)?true:false;
  ie5=((ie4)&&((navigator.userAgent.indexOf('MSIE 5')>0)||(navigator.userAgent.indexOf('MSIE 6')>0)))?true:false;
  kon=(navigator.userAgent.indexOf('konqueror')>0)?true:false;
  x=0;y=0;winW=800;winH=600;
  idiv=null;
  if (followMe) {
    document.onmousemove = mousemove;
    if(ns4&&document.captureEvents) document.captureEvents(Event.MOUSEMOVE);
  }
  // Workaround for just another netscape bug: Fix browser confusion on resize
  // obviously conqueror has a similar problem :-(
  if(ns4||kon){ nsfix() }
  if(ns4) { px=""; }
}

function hide(name){
  if(idiv)
  {
  	idiv.visibility=ns4?"hide":"hidden";
  	idiv=null;
	}
}

function gettip(name){return (document.layers&&document.layers[name])?document.layers[name]:(document.all&&document.all[name]&&document.all[name].style)?document.all[name].style:document[name]?document[name]:(document.getElementById(name)?document.getElementById(name).style:0);}

function show(evt, name){
  if(idiv) hide(name);
  idiv=gettip(name);
  if(idiv){
   scrollX =0; scrollY=0;
   winW=(window.innerWidth)? window.innerWidth+window.pageXOffset-16:document.body.offsetWidth-20;
   winH=(window.innerHeight)?window.innerHeight+window.pageYOffset-12  :document.body.offsetHeight;
   scrollX=(typeof window.pageXOffset == "number")? window.pageXOffset:(document.documentElement && document.documentElement.scrollLeft)?document.documentElement.scrollLeft:(document.body && document.body.scrollLeft)?document.body.scrollLeft:window.scrollX;
   scrollY=(typeof window.pageYOffset == "number")? window.pageYOffset:(document.documentElement && document.documentElement.scrollTop)?document.documentElement.scrollTop:(document.body && document.body.scrollTop)?document.body.scrollTop:window.scrollY;
	if (ie4 || ie5) winH = winH + scrollY;
   popupW = document.getElementById(name).offsetWidth;
   popupH = document.getElementById(name).offsetHeight;   

   showtip(evt);
  }
}

function showtip(e){
  e = e? e: window.event;
  if(idiv) {
	 var k = document.getElementById('info').offsetWidth ;
    if(e)   {
      x=e.pageX?e.pageX:e.clientX?e.clientX + scrollX:0; 
      y=e.clientY + scrollY;
    }
    else {
      x=0; y=0;
    }
    // MAke sure we don't go off screen
    if ( popupW > maxwidth ) { 
      popupW = maxwidth;
      idiv.width = maxwidth + px;
    } 
    idiv.left=(((x + popupW + xoffset)>winW)?x - popupW - xoffset:x + xoffset)+px;
	//idiv.left=10;
	 if (ie4 || ie5) idiv.width = maxwidth + px;
    if ((popupH + yoffset)>winH) {
      idiv.top= yoffset + px;
    } else {
      idiv.top=(((y + popupH + yoffset)>winH)?winH - popupH - yoffset:y + yoffset)+px;
    }
    idiv.visibility=ns4?"show":"visible";
    }
}

function mousemove(e){
  showtip(e);
}
//]]> -->

ajudacargo = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5'><TR><td align='center' bgcolor='#898989' ><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Informe o seu cargo exatamente como consta no RH.</b></P></td></TR></table></div>";

//CMB: Conteúdo da ajuda flutuante para o titulo na pagina de inclus&atilde;o de IS
ajudatitulo =
"<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Coloque um t&iacute;tulo para a sua IS. Este ser&aacute; utilizado no sistema.</b></P></td></TR></table></div>";

ajudaproblema = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Descreva de forma sucinta e objetiva qual problema da organização será resolvido com a sua IS.</b></P></td></TR></table></div>";

ajudaresultados = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Descreva quais resultados você espera atingir com a implantação da sua IS. Procure, sempre que possível quantificar. ex.: 20% de economia de custo, 30% de redução do tempo de execução, 10.000 R$ de retorno financeiro,etc.</b></P></td></TR></table></div>";

//CMB: Conteúdo da ajuda flutuante para a quantia de passos na pagina de inclus&atilde;o de IS
ajudapassos = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Descreva em no máximo cinco passos o que e como deve ser feita a implantação de sua IS. Caso seja mais conveniente insira um arquivo no campo anexar.</b></P></td></TR></table></div>";

ajudafinanceiro = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Indique quais os custos aproximados envolvidos na implementa&ccedil;&atilde;o de sua IS.</b></P></td></TR></table></div>";

ajudarh = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Indique a quantidade de recurso humano envolvido na implementa&ccedil;&atilde;o de sua IS.</b></P></td></TR></table></div>";

ajudatempo = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Indique a quantidade de horas que o recurso humano dever&aacute; se dedicar na implementa&ccedil;&atilde;o de sua IS.</b></P></td></TR></table></div>";

ajudainfra = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Indique qual a necessidade de infra-estrutura inicial para a implementa&ccedil;&atilde;o de sua IS.</b></P></td></TR></table></div>";

ajudaarea = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Indique o departamento afetado pela IS. Em caso de mais de uma &aacute;rea impactada indique todas elas e especifique aquela que na sua opini&atilde;o sofre o maior impacto.</b></P></td></TR></table></div>";

ajudaanexo = "<div><table class='Tabela' bgcolor='#FFFFFF' cellspacing='1' cellpadding='5' width='200'><TR><td align='center' bgcolor='#898989' width='200'><P style=\"font: normal 11px Verdana; color: #DFE4E8; line-height: 14px;\"><b>Para anexar arquivos de complementa&ccedil;&atilde;o caso seja necess&aacute;rio ex.: planos de a&ccedil;&atilde;o, projetos, business Plan, planilhas de especifica&ccedil;&otilde;es, etc.</b></P></td></TR></table></div>";







