<!--
	function getCidades()	
	{
		var estado = DWRUtil.getValue("sgUF");
		DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'getCidades', estado, doResultsCidade);
	}
	
	function doResultsCidade (r) 
	{
		var getSelect = document.getElementById('nmCidade');	
		var getValue = function(thisRow){return thisRow.nm_cidade;}	
		var getText = function(thisRow){return thisRow.nm_cidade;}
		DWRUtil.removeAllOptions("nmCidade");		
		getSelect.options[0] = new Option('Cidade (Todas)','');	
		DWRUtil.addOptions("nmCidade", r, [getValue, getText], null);
		
		return true;
	}


	function getAreas()	
	{
		var estado = DWRUtil.getValue("sgUF");
		var cidade = DWRUtil.getValue("nmCidade");
		DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'getAreas', estado, cidade, doResultsAreas);
	}
	
	function doResultsAreas (r) 
	{
		var getSelect = document.getElementById('IdArea');	
		var getValue = function(thisRow){return thisRow.id_area;}	
		var getText = function(thisRow){return thisRow.nm_area;}
		DWRUtil.removeAllOptions("IdArea");		
		getSelect.options[0] = new Option('Tipo Profissional (Todos)','0');	
		DWRUtil.addOptions("IdArea", r, [getValue, getText], null);
		
		return true;
	}
	
	
	function getAtuacao()	
	{
		var estado = DWRUtil.getValue("sgUF");
		var cidade = DWRUtil.getValue("nmCidade");
		var area = DWRUtil.getValue("IdArea");
		DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'getAtuacao', estado, cidade, area, doResultsAtuacao);
	}
	
	function doResultsAtuacao (r) 
	{
		var getSelect = document.getElementById('IdAtuacao');	
		var getValue = function(thisRow){return thisRow.id_pai;}	
		var getText = function(thisRow){return thisRow.nm_pai;}
		DWRUtil.removeAllOptions("IdAtuacao");		
		getSelect.options[0] = new Option('Área de Atuação (Todas)','0');	
		DWRUtil.addOptions("IdAtuacao", r, [getValue, getText], null);
		
		return true;
	}
	
	
	function getEspecialidades()	
	{
		var estado = DWRUtil.getValue("sgUF");
		var cidade = DWRUtil.getValue("nmCidade");
		var area = DWRUtil.getValue("IdArea");
		var atuacao = DWRUtil.getValue("IdAtuacao");
		DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'getEspecialidades', estado, cidade, area, atuacao, doResultsEspecialidades);
	}
	
	function doResultsEspecialidades (r) 
	{
		var getSelect = document.getElementById('IdEspecialidade');	
		var getValue = function(thisRow){return thisRow.id_categoria;}	
		var getText = function(thisRow){return thisRow.nm_categoria;}
		DWRUtil.removeAllOptions("IdEspecialidade");		
		getSelect.options[0] = new Option('Especialidade (Todas)','0');	
		DWRUtil.addOptions("IdEspecialidade", r, [getValue, getText], null);
		
		return true;
	}
	
	
	function fn_Login (theForm) {
		if (!validaitem(theForm.tx_Login,'s','3','150','Login')) { return (false); }
		if (!splitemail(theForm.tx_Login)) { return (false); }
		if (!validaitem(theForm.tx_Senha,'s','3','20','Senha')) { return (false); }
		
		theForm.submit();
	}
//-->
