function searchForPeopleFunction() {
	$('div.resultsRoundedCornerC').html("<div style='padding-top: 20px; padding-bottom: 20px; text-align: center; font-size: 15px; font-weight: bold;'><img src='images/webDev/loadingAnimCircle.gif' style='margin-bottom: 10px;'><br>Searching...</div>");
	$('#resultsDiv').css('display', 'block');
	$('#peopleSearch').css('display', 'none');
	$('#peopleSearchMinimized').css('display','block');
						
	$("div.resultsRoundedCornerC").load("includes/adminModules/webDevSearchAjax.php", {simpleSearch: $('#simpleSearchAdvancedSearch').val(), searchType: 'people', searchName: $('#searchName').val(), searchNickName: $('#searchNickName').val(), searchCity: $('#searchCity').val(), searchState: $('#searchState').val(), searchZip: $('#searchZip').val(), searchCountry: $('#searchCountry').val(), searchGender: $('#searchGender').val(), searchAgeStart: $('#searchAgeStart').val(), searchAgeEnd: $('#searchAgeEnd').val(), searchBreeder: $('#searchBreeder').attr('checked'), searchRelationship: $('#searchRelationship').val(), pageCount: $('#pageCount').val()});
}

function searchForPetsFunction() {
	$('div.resultsRoundedCornerC').html("<div style='padding-top: 20px; padding-bottom: 20px; text-align: center; font-size: 15px; font-weight: bold;'><img src='images/webDev/loadingAnimCircle.gif' style='margin-bottom: 10px;'><br>Searching...</div>");
	$('#resultsDiv').css('display', 'block');
	$('#petSearch').css('display', 'none');
	$('#petSearchMinimized').css('display','block');
						
	$("div.resultsRoundedCornerC").load("includes/adminModules/webDevSearchAjax.php", {simpleSearch: $('#simpleSearchAdvancedSearch').val(), searchType: 'pets', searchName: $('#PETsearchName').val(), searchCity: $('#PETsearchCity').val(), searchState: $('#PETsearchState').val(), searchZip: $('#PETsearchZip').val(), searchCountry: $('#PETsearchCountry').val(), searchGender: $('#PETsearchGender').val(), searchAgeStart: $('#PETsearchAgeStart').val(), searchAgeEnd: $('#PETsearchAgeEnd').val(), searchPetType: $('#PETsearchPetType').val(), searchForSale: $('#PETsearchForSale').attr('checked'), searchAdoption: $('#PETsearchAdoption').attr('checked'), pageCount: $('#pageCount').val(), searchBreed: $('#PETsearchBreed').val()});
}

function simpleSearchFunction() {
	$('div.resultsRoundedCornerC').html("<div style='padding-top: 20px; padding-bottom: 20px; text-align: center; font-size: 15px; font-weight: bold;'><img src='images/webDev/loadingAnimCircle.gif' style='margin-bottom: 10px;'><br>Searching...</div>");
	$('#resultsDiv').css('display', 'block');
	searchType = $("input[@name='simpleSearchFor']:checked").val();
	name = $("#simpleSearchName").val();
	state = $("#simpleSearchState").val();
	gender = $("#simpleSearchGender").val();
	$("div.resultsRoundedCornerC").load("includes/adminModules/webDevSearchAjax.php", {simpleSearch: 'true', searchType: searchType, name: name, state: state, gender: gender});
}

$(document).ready(function() {
});