function loadContent(_resourceUrl, _containerId) {
	// Container //
	container = document.getElementById(_containerId);
	if (container != 'undefined') {
 		container.innerHTML = '<div class="loadMsg"><img src="./imagens/load_big.gif" alt="Carregando..." /><span class="loadMsg_big">Carregando...</span></div>';
	}
	// Data //
	if (Ajax != 'undefined')
	{
	    ajax = new Ajax();
	    if (ajax.getConnection())
	    {
	        try {
	        	ajax.getConnection().open("GET",_resourceUrl, true);
	        	ajax.getConnection().onreadystatechange = function () {
	        	    if (ajax.getConnection().readyState == 4)
					{
					    if (ajax.getConnection().status == 200)
					    {
					        container.innerHTML = ajax.getConnection().responseText;
						}
					}
	        	};
	        	ajax.getConnection().send(null);
			} catch (e) {
			    alert('Ocorreu uma falha: '+e);
			}
	    }
	}
}

function findModule(form) {
	var moduleName = document.getElementById('modName').value;
	if (moduleName != null) {
		loadContent('content.php?cat='+moduleName, 'content');
	}
	return false;
}
