petango.com Ads.txt file



<!DOCTYPE html>
<html lang="en">
<head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4Y8GCJHPKB"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-4Y8GCJHPKB');
</script>


<meta name="title" content="24Petconnect.com provides lost, found, and adoptable info for pets">
<meta name="description" content="24Petconnect.com provides lost, found, and adoptable postings for animal welfare organizations nationwide.">
<meta name="keywords" content="24petconnect, Adopt a Pet, Lost Pets, found a Pet, Search Pets, Adopt a pet near you, Adopt a dog, Adopt a cat, Petango, petharbor">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>24Petconnect: Lost, Found, and Adoptable Animals</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
<link rel="icon" type="image/svg+xml" href="/Content/Images/favicon.svg" />

<script src="/bundles/jquery?v=nz90ENKXqbn3gZCMWDubqsM9XSRcQtTgLWWT2mZ2Jj41"></script>

<script src="https://getbootstrap.com/docs/4.1/assets/js/vendor/popper.min.js"></script>
<script src="/bundles/bootstrap?v=4Mh6tFofMZwUqFLgLjEw3Y5Xm0-ZKZDsvIHuSPVjFXQ1"></script>

<script src="/bundles/modernizr?v=inCVuEFe6J4Q07A0AcRsbJic_UE5MwpRMNGcOtk94TE1"></script>

<script src="/bundles/jqueryval?v=MnOg6IEOn70hJy5AL_erbPyyKAb2p70aK8o8IGvwf201"></script>

<script src="/bundles/additionalLibraries?v=nRYFGIoqnuvtn-nywa5uru2nb2W85i0MjOCz99CEv4Y1"></script>

<script src="/bundles/PHScripts?v=jr_fRjZ5_1ICTww-R3dXhQqI6PZ-yCDm6MLFwjBUrCU1"></script>

<script src="/bundles/FontAwesomeScripts?v=h8lXpQogPphu2tjdppdts3TUfPusuAyTsH2dkdC_YoE1"></script>

<link href="/css?v=vCEdZLDKK6tiZu7CUhiVi3fHjVfPpV8SjI2XHR9Tmhs1" rel="stylesheet"/>

<link href="/bundles/FontAwesomeStyles?v=VbxTlFiHolrr_UbCEfcuPrNCjwaf-yHefswLpU4zseM1" rel="stylesheet"/>


</head>
<body>
<header>
<div class="container">


<nav class="navbar navbar-expand-lg navbar-light" role="heading">
<a class="navbar-brand" href="/">
<img src="/Content/Images/PetPlace_24Petconnect_Horizontal_Lockup.png" id="mainLogo" alt="Main Logo" />
</a>
</nav>
<div class="clearfix"></div>


</div>
</header>

<div class="container" id="PetPlaceSearchContainer">
<div class="petplaceCTAContainer">
<div class="petplaceCTAText" id="CTATextHeader">
<span class="fontTitleSmall">Introducing <b>PetPlace</b></span>
<br />
Search more adoptable pets all in one place
</div>
<a href="https://www.petplace.com/pet-adoption/" class="petplaceCTAButton" id="PPCTAButton" target="_blank">
<div class="btn btn-24petred fontTitleSmall ppSearchBtn" id="PPSearchBtnTxt">Search PetPlace</div>
</a>
</div>
</div>

<nav class="container">



<nav class="navbar navbar-expand-lg navbar-light bg-light navbarCSS">



<div class="navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">


<li class="nav-item navAdopt fontTitleSmall" spacing="compact" onclick="LostFoundAnimalListLatLon('ADOPT')">
<a class="nav-link active" id="adopt-tab" data-toggle="tab" href="" role="tab" aria-controls="adopt" aria-selected="false">
Adopt
<span class="sr-only">(current)</span>
</a>
</li>

<li class="nav-item navFound fontTitleSmall" spacing="compact" onclick="LostFoundAnimalListLatLon('FOUND')">
<a class="nav-link" id="found-tab" data-toggle="tab" href="" role="tab" aria-controls="found" aria-selected="true">
Lost my pet
</a>
</li>

<li class="nav-item navLost fontTitleSmall" spacing="compact" onclick="LostFoundAnimalListLatLon('LOST')">
<a class="nav-link" id="lost-tab" data-toggle="tab" href="" role="tab" aria-controls="lost" aria-selected="false">
Found a pet
</a>
</li>

<li class="nav-item navSearch fontTitleSmall" spacing="compact" onclick="IDSearch()">
<a class="nav-link" id="ID-tab" data-toggle="tab" href="" role="tab" aria-controls="ID" aria-selected="false">
Search id/tag
</a>
</li>

<li class="nav-item navOther fontTitleSmall dropdown" spacing="compact">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span id="dropdownMaxScreen"><i class="fas fa-ellipsis-v"></i></span>
<span id="dropdownMinScreen">More</span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" onclick="FAQ()">FAQ</a>
<a class="dropdown-item" onclick="FlyerFAQ()">Lost Pet Flyer</a>
<a class="dropdown-item" onclick="LPP()">Lost Pet Postcards</a>
<a class="dropdown-item" onclick="RescuePartners()">Shelter & Rescue Partners</a>

</div>
</li>
</ul>
</div>
</nav>



</nav>

<div style="position: sticky; top: 0px;background-color:#fff; z-index: 5;" id="StickyNav">
<div class="container">


<div id="PetPlaceSearchContainerScroll">
<div class="petplaceCTAContainer">
<div class="petplaceCTAText" id="CTATextHeader">
<span class="fontTitleSmall">Introducing <b>PetPlace</b></span>
<br />
Search more adoptable pets all in one place
</div>
<a href="https://www.petplace.com/pet-adoption/" class="petplaceCTAButton" id="PPCTAButton" target="_blank">
<div class="btn btn-24petred fontTitleSmall ppSearchBtn" id="PPSearchBtnTxt">Search PetPlace</div>
</a>
</div>
</div>


<div id="searchSection">
<div id="animalTypeFilter">
<button id="filterDogs" class="btn btn-24petblue " aria-label="Filter Dogs" onclick="FilterAnimalsByType(this, 'DOG')" value="Dog">Dogs</button>
<button id="filterCats" class="btn btn-24petblue" tabindex="0" onclick="FilterAnimalsByType(this, 'CAT')" value="Cats">Cats</button>
<button id="filterOther" class="btn btn-24petblue" tabindex="0" onclick="FilterAnimalsByType(this, 'OTHER')" value="Other">Other</button>
<button id="moreSearchOptions" class="btn-24petblue OtherFilters_open" tabindex="0"><i class="fas fa-search-plus"></i> <span class="filterTxt">Filter</span></button>
</div>
<div id="activeFiltersBox">Filters: <span id="activeFilterList">none</span> </div>
</div>


<div id="IDsearchSection" class="d-none">
<div id="IDsearchContinerRow1">
<label for="idSearchTextbox" class="IDSearchLabel">Please enter an Animal id, microchip number, or #specialsearch:</label>
<br />
<input type="text" id="idSearchTextbox" class="form-control" />

</div><button id="idSearchBtn" class="btn btn-24petblue IDSearchBtn" onclick="IDSearchGet()">Search</button>
</div>


<div id="OtherFilters" class="d-none">
<div class="filterContainer">
<div id="OtherFiltersContent" class="filterBody">
<div class="ListContainer">
<div id="ChangeLocationContent">
<span class="filtersTextSectionHeaders">Change zip/postal code</span>
<input id="zipPostalCodeSearchFilter" class="form-control" type="text" placeholder="Zip/postal code" aria-label="Zip or Postal Code" maxlength="7" onkeyup="ChangeMiles()" />
<div id="zipPostalErrorFilter" class="error d-none"></div>
</div>
<div id="MilesSelectorBox" class="milesSelectorContainer">
<span class="filtersTextSectionHeaders"> Search radius: 1 - 200 miles </span>
<input type="number" min="0" max="200" value="10" aria-label="Mile Increase Slider" id="milesRange" class="form-control" onkeyup=" if (this.value > 200) this.value = 200; if (this.value <= -1) this.value = 10;">
<span class="fontBodySmall">If no animals are found inside your radius it will automatically extend.</span>
</div>

<div id="specificSheltersBlock">
<span class="filtersTextSectionHeaders">
<button id="specificShelters" class="btn btn-24petblue SelectSpecificShelters_open" value="ChangeShelterList">Select</button>
specific shelters

</span>
<div id="zipPostalErrorFilterShelterBtn" class="error d-none"></div>
<div id="SheltersSelectedText">

</div>
</div>

<div id="specificBreedsBlock">
<span class="filtersTextSectionHeaders">
<button id="specificBreeds" class="btn btn-24petblue SelectSpecificBreeds_open">Select</button>
specific breeds
</span>
<div id="BreedsSelectedText"></div>
<div id="SelectSimilarBreeds">
<input type="checkbox" id="SelectSimilarBreedsCheckbox" disabled onclick="SelectSimilarBreeds()">
<label id="lblSSBC" for="SelectSimilarBreedsCheckbox" class="lowlight">
<span style="font-weight: bold;">Select similar breeds </span><span style="font-size: .8em">(this option is only available if one breed is selected above)</span>
</label>
</div>
</div>

<div class="input-group">
<span class="filtersTextSectionHeaders" style="width: 100%;">
<label for="SortByFilter">Sort by</label>

</span>
<select class="custom-select selectFix" id="SortByFilter" onchange="FilterAnimalsBySortBy(this)">
<option selected>Select one</option>
<option value="days_MinMax" name="Days: Min -> Max">Days: min -> max</option>
<option value="days_MaxMin" name="Days: Max -> Min">Days: max -> min</option>
<option value="distance_NF" name="Distance: Near -> Far">Distance: near -> far</option>
<option value="distance_FN" name="Distance: Far -> Near">Distance: far -> near</option>
<option value="breed_AZ" name="Breed: A -> Z">Breed: a -> z</option>
<option value="breed_ZA" name="Breed: Z -> A">Breed: z -> a</option>
<option value="id_asc" name="Animal ID: 0 -> Z ">Animal id: 0 -> z </option>
<option value="id_desc" name="Animal ID: Z -> 0">Animal id: z -> 0</option>
</select>
</div>

<hr />
<span class="filtersTextSectionHeaders">Other filters</span>
<p>
Many shelters and rescues DO NOT use the following filters. There is no standard specified for them.
<b>Using these filters could cause you to miss the animal you are looking for.</b>
</p>

<div id="SelectSpecificAgesResults">
<span class="filtersTextSectionHeaders">Age</span>
<input type="radio" name="age" value="Y" id="ageYoung" onclick="SelectSpecificAges()">
<label for="ageYoung"><span>Young</span></label>
<br>
<input type="radio" name="age" value="A" id="ageOld" onclick="SelectSpecificAges()">
<label for="ageOld"><span>Adult</span></label>
<br />
<input type="radio" name="age" value="C" id="ageAll" onclick="SelectSpecificAges()">
<label for="ageAll"><span>All</span></label>
</div>
<hr />
<div id="SelectSpecificGendersResults">
<span class="filtersTextSectionHeaders">Gender</span>
<input type="radio" name="gender" value="M" id="radioGenderMale" onclick="SelectSpecificGenders()">
<label for="radioGenderMale"><span>Male</span></label>
<br />
<input type="radio" name="gender" value="F" id="radioGenderFemale" onclick="SelectSpecificGenders()">
<label for="radioGenderFemale"><span>Female</span></label>
<br />
<input type="radio" name="gender" value="C" id="radioGenderAll" onclick="SelectSpecificGenders()">
<label for="radioGenderAll"><span>All</span></label>
</div>
<hr />
<div id="SelectSpecificSizeResults">


</div>
<hr />
<div id="SelectSpecificColorResults">



</div>
</div>
</div>
<div class="clear-fix"></div>
<div class="filterFooter">
<button id="otherFiltersBtn" class="btn btn-24petred OtherFilters_close" onclick="clearFilters()">Clear all filters</button>
<button class="OtherFilters_close btn btn-24petblue" onclick="SelectFiltersAndSearch()">Confirm/search</button>
</div>
</div>
</div>

<div id="ChangeLocation" class="d-none">
<div class="filterContainer">
<div id="ChangeLocationContent" class="filterBody">
<p>Search by zip/postal Code:</p>
<input id="zipPostalCodeSearch" class="form-control" type="text" placeholder="Zip/postal code" aria-label="Zip or Postal Code" maxlength="7" />
<div id="zipPostalError" class="error d-none">

</div>
</div>
<div class="clear-fix"></div>
<div class="filterFooter">
<button class="ChangeLocation_close btn btn-24petred">Cancel</button>
<button id="changeLocationBtn" class="btn btn-24petblue" onclick="changeLocation('M')">Search</button>

</div>
</div>
</div>

<div id="SelectSpecificShelters" class="d-none">
<div class="filterContainer">
<div id="SelectSpecificSheltersContent" class="filterBody">


</div>
<div class="clear-fix"></div>
<div class="filterFooter">

<button class="SelectSpecificShelters_close btn btn-24petred">Cancel</button>
<button class="btn btn-24petblue" id="ShelterSelectionConfirmBtn" onclick="Shelters()">Select</button>

</div>
</div>
</div>

<div id="SelectSpecificBreeds" class="d-none">
<div class="filterContainer">
<div id="SelectSpecificBreedsContent" class="filterBody">

</div>
<div class="clear-fix"></div>
<div class="filterFooter">
<button class="SelectSpecificBreeds_close btn btn-24petred">Cancel</button>
<button class="btn btn-24petblue" onclick="SelectSpecificBreeds()">Select</button>

</div>
</div>
</div>





<div id="Details" class="d-none">
<div class="filterContainer">
<div id="DetailsContent" class="filterBody">
<div id="DetailsResults"></div>
</div>
<div class="clear-fix"></div>
<div class="filterFooter" style="padding-top: 10px;">

<button class="Details_close btn btn-24petred">Close</button>
</div>
</div>
</div>

</div>
</div>



<main>
<div id="indexFeaturedAnimals" class="container main-body">








<div id="indexFeaturedAnimals">
<br /><br />
<h3 class="fontTitleMedium">Please help me:</h3>
<ul>
<li>
<div class="fontLinkLarge" onclick="AdoptableAnimals()">Find an adoptable pet (Adopt link)</div>
</li>
<li>
<div class="fontLinkLarge" onclick="LostFoundAnimalListLatLon('FOUND')">Find a pet I have lost (Lost my pet link)</div>
</li>
<li>
<div class="fontLinkLarge" onclick="LostFoundAnimalListLatLon('LOST')">Find the owners of a pet I have found (Found a pet link)</div>
</li>
<li>
<div class="fontLinkLarge" onclick="IDSearch()">Find a specific animal using an id or special #searchtag (Search id/tag link)</div>
</li>
</ul>





</div>

</div>
</main>



<footer>
<div class="advert">
<div id="24PetAdverts">
</div>





<div id="AdsBannerContainer">
Advertisement
<div id="AdsenseBanner">

</div>
</div>


</div>

<div class="bg-light" style="width: 100%;">
<hr />

<div id="FooterLinks" class="copyright">
<div id="FooterLinksInner">
<a href="/Ex/PrivacyPolicy" class="fontLinkSmall">Privacy policy</a>
<a href="/Ex/Accessibility" class="fontLinkSmall">Accessibility</a>
<a href="/Content/24PetconnectTermsofUseNorthAmerica.pdf" class="fontLinkSmall" target="_blank"> Terms of use</a>
</div>
</div>
<p class="copyright fontBodySmall">&copy; 2025 by HLP Inc, All rights reserved. (v.1.25126.3079.105, 55)</p>

</div>
</footer>


<div id="waiting-outer" class="d-none">
<div id="waiting-inner">
<img src="/Content/Images/catLoaderNoBG.gif" alt="Loading Image" class="waiting-img" />
</div>
</div>

<div id="scrollTop" onclick="scrollToTop()"><i class="fas fa-arrow-up"></i></div>





<script type="text/javascript">

$(document).ready(function () {
BreedList();
LoadAdvert();

if (filterSearchType == null || filterSearchType == '' || filterSearchType.toLowerCase() == 'adopt') {
$("#PetPlaceSearchContainer").css('display', 'block');
window.addEventListener('scroll', function () {
if (filterSearchType == null || filterSearchType == '' || filterSearchType.toLowerCase() == 'adopt') {
var scrollPosition = window.scrollY;
var targetOffset = $('#mainLogo').height(); /// The height of the mobile logo
if (scrollPosition >= targetOffset) {
$("#PetPlaceSearchContainer").fadeOut(400, function () {

});

if (window.innerWidth < 750) {
$(".petplaceCTAText").css("display", "none");
}
$("#PetPlaceSearchContainerScroll").fadeIn(400);
} else {
$("#PetPlaceSearchContainer").fadeIn(400, function () { });
if (window.innerWidth < 750) {
$(".petplaceCTAText").css("display", "unset");
}
$("#PetPlaceSearchContainerScroll").css('display', 'none');
}
//else {
// $("#PetPlaceSearchContainer").fadeOut(400, function () {
// });
// $("#PetPlaceSearchContainerScroll").fadeIn(400);
//}
};
});
} else {
$('#PetPlaceSearchContainer').css('display', 'none');
}
});

function LoadAdvert() {
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
if(screenWidth >= 700)
{
$("#24PetAdverts").html('<div id="Banner24Pet"><a href="https://www.24petwatch.com/?utm_source=petconnect&utm_medium=static&utm_campaign=banners_q2_2023&utm_content=1110_100" target="_blank"> <img src="https://www.24petconnect.com/Content/Images/24PetAdverts/24petconnect-banner.jpg" alt="24Petwatch Lost and Found Services"/></a></div>');
}
else
{
$("#24PetAdverts").html('<div id="Banner24Pet"><a href="https://www.24petwatch.com/lost-pet-protection/membership?utm_source=24PetConnect&utm_medium=320x50_banner&utm_campaign=ReuniteStory&utm_content=mobile" target="_blank"> <img src="https://www.24petconnect.com/Content/Images/24PetAdverts/mobile-320x50_24PC.jpg" alt="24Petwatch Lost and Found Services"/></a></div>');
}


LayoutAdsenseBanner();
}

function LayoutAdsenseBanner(){
///Load a google banner as well
$('#AdsenseBanner').html('<ins class="adsbygoogle aBanner" style="display:block" data-ad-client="ca-pub-8537219831744067" data-ad-slot="8087661167" data-ad-format="horizontal" data-full-width-responsive="true"></ins> ');
(adsbygoogle = window.adsbygoogle || []).push({});
}

function SubmitWebInterest() {
event.preventDefault();
var formValid = false;
formValid = $('#WebInterestForm').valid();

if (!formValid) {
$('#WebInterestForm').find(":input.input-validation-error:first").focus();
return false;
}
var url = '/PetHarbor/SubmitWebInterest';
getSubmitWebInterest(url);
}

function ShelterList() {
var data = {
model: {
AnimalType: null,
SearchType: null,
Latitude: lat,
Longitude: lon,
Miles: filterMiles
}
};
var url = '/Utility/getShelterListByLatLon';
getShelterList(data, url);
}

function LostFoundAnimalListLatLon(searchType) {
//gtag('event', 'navigation_custom', {
// 'navigation_destination': searchType.toLowerCase()
//});
//gtag('event', searchType.toLowerCase() + ' navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name': searchType.toLowerCase() + ' search',
'value': searchType.toLowerCase(),
});


scrollToTop();
filterBreedReqId = '';

$('#searchSection').removeClass('d-none');
$('#IDsearchSection').addClass('d-none');

$('#adopt-tab').removeClass('active');
$('#found-tab').removeClass('active');
$('#lost-tab').removeClass('active');
$('#ID-tab').removeClass('active');
if (searchType.toLowerCase() == 'found') {
$('#found-tab').addClass('active');
$("#PetPlaceSearchContainer").css('display', 'none');
} else if (searchType.toLowerCase() == 'lost') {
$("#PetPlaceSearchContainer").css('display', 'none');
$('#lost-tab').addClass('active');
} else {
$("#PetPlaceSearchContainer").css('display', 'block');
$('#adopt-tab').addClass('active');
}

if (window.location.pathname != '/') {
window.history.pushState("Index", "Index", "/");
}
if (lat === 0 || lon === 0) {
$('#ChangeLocation').popup('show');
filterSearchType = searchType;
return false;
}

if (filterAnimalType == null || filterAnimalType == '') {
resetFilterButtons();
}
filterSearchType = searchType;
console.log(filterSearchType);

var url = '/PetHarbor/getAdoptableAnimalsByLatLon';
getAdoptableAnimals(url);
}

function IDSearch() {
$('#found-tab').removeClass('active');
$('#lost-tab').removeClass('active');
$('#ID-tab').addClass('active');
$('#adopt-tab').removeClass('active');

$('#searchSection').addClass('d-none');
$('#IDsearchSection').removeClass('d-none');
}

function IDSearchGet() {
var data = {
searchString: $('#idSearchTextbox').val()
};

//gtag('event', 'search_custom', {
//'search_string': data.searchString
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'search_custom',
'category': 'search',
'name' : 'Id freeform search',
'value': data.searchString,
});

var url = '/PetHarbor/GetAnimalBySearchId';
getSearchById(url);
}

function getReportImageContent() {
var url = '/Utility/ReportImageContent';
reportImageContent(url);
}

function BreedList() {
var data = {
model: {
AnimalType: filterAnimalType,
SearchType: filterSearchType,
}
};
var url = '/Utility/getBreedList';
getBreedList(data, url);
}


function AdoptableAnimals() {
console.log("top of adoptable animals")
if (filterSearchType == '' || typeof filterSearchType == 'undefined') {
filterSearchType = "ADOPT";
}

//gtag('event', 'navigation_custom', {
//'navigation_destination': filterSearchType.toLowerCase()
//});
//gtag('event', filterSearchType.toLowerCase() + ' navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name': filterSearchType.toLowerCase() + ' search',
'value': filterSearchType.toLowerCase(),
});

$('#found-tab').removeClass('active');
$('#lost-tab').removeClass('active');
$('#ID-tab').removeClass('active');
$('#adopt-tab').removeClass('active');

if (filterSearchType == 'FOUND') {
$('#found-tab').addClass('active');
} else if (filterSearchType == 'LOST') {
$('#lost-tab').addClass('active');
} else {
$('#adopt-tab').addClass('active');
}

$('#searchSection').removeClass('d-none');
$('#IDsearchSection').addClass('d-none');

if (window.location.pathname != '/' && filterBreedReqId == '') {
window.history.pushState("Index", "Index", "/");
}

if ((lat === 0 || lon === 0) && filterBreedReqId == '') {
$('#ChangeLocation').popup('show');
return false;
}
console.log(filterBreedReqId);
var url = '/PetHarbor/getAdoptableAnimalsByLatLon';
getAdoptableAnimals(url);
}

function ChangeMiles() {
filterShelterCheckboxes = [];
if ($('#zipPostalCodeSearchFilter').val().length < 1 && ((lat != 0 && lat != '') && (lon != 0 && lon != ''))) {
/// No zip code but there is a lat/lon
console.log('Change Miles: ' + lat);
console.log('Change Miles: ' + lon);
ShelterList();

} else if ($('#zipPostalCodeSearchFilter').val().length > 0 && $('#zipPostalCodeSearchFilter').val().length < 5) {
/// Do nothing until you get at least 5 digits
}
else {
/// if is Canadian rerturn until you have 7 characters
var cEx = new RegExp('.*[a-zA-Z].*');
if (cEx.test($('#zipPostalCodeSearchFilter').val()) == true && $('#zipPostalCodeSearchFilter').val().length < 6) {
console.log('canadian');
return;
}

$('#AInformation_AnimalLocation_lat').val(0);
$('#AInformation_AnimalLocation_lon').val(0);
changeLocation('F');
}
}


function changeLocation(referrer) {
filterShelterCheckboxes = [];
var validZipPostal = false;
var zipString = '';
if (referrer == 'F') {
zipString = $("#zipPostalCodeSearchFilter").val();
} else {
zipString = $("#zipPostalCodeSearch").val();
}

if (zipString == '') {
return false;
}

var usRegex = new RegExp('^[0-9]{5}(?:-[0-9]{4})?$');
var caRegex = new RegExp('^(?!.*[DFIOQU])[A-VXY][0-9][A-Z] ?[0-9][A-Z][0-9]$');

if (usRegex.test(zipString)) {
validZipPostal = true;
}
if (caRegex.test(zipString.toUpperCase())) {
validZipPostal = true;
}

if (validZipPostal == false) {
if (referrer == 'F') {
$("#zipPostalErrorFilter").html("Invalid zip/postal code.");
$("#zipPostalErrorFilter").removeClass('d-none');
} else {
$("#zipPostalError").html("Invalid zip/postal code.");
$("#zipPostalError").removeClass('d-none');
}
return false;
} else {
$("#zipPostalErrorFilter").html("");
$("#zipPostalError").html("");
$("#zipPostalErrorFilter").addClass('d-none');
$("#zipPostalError").addClass('d-none');
filterShelterList = '';
if (referrer != 'S') {
filterMiles = 10;
$('#milesRange').val(10);
$('#milesUpdate').html(10);
} else {
$('#milesRange').val(filterMiles);
$('#milesUpdate').html(filterMiles);
}

var data = {
model: {
ZipCode: zipString.toUpperCase(),
CityName: $("#cityNameSearch").val(),
Miles: filterMiles,
Filters: {
AnimalType: filterAnimalType,
SearchType: filterSearchType,
ShelterList: filterShelterList,
BreedList: filterBreedType,
Gender: filterGender,
Age: filterAge,
Size: filterSize,
SortBy: filterSortBy
}
}
};
var url = '/Utility/getChangeLocation';
getChangeLocation(data, url, referrer);
}
}

function FilterAnimalsBySortBy(element) {
console.log(element);
filterSortBy = element.value;
filterSoryByText = $('#SortByFilter option:selected').text();
}

function MoreAnimals(index, searchType) {
LayoutAdsenseBanner();
filterSearchType = searchType;
var data = {
model: {
AnimalType: filterAnimalType,
SearchType: filterSearchType,
Latitude: lat,
Longitude: lon,
Miles: filterMiles,
Index: index,
LocationChanged: filterLocationChanged,
AnimalFilter: {
AnimalType: filterAnimalType,
SearchType: filterSearchType,
ShelterList: filterShelterList,
BreedList: filterBreedType,
SimilarBreeds: filterSimilarBreeds,
Gender: filterGender,
Age: filterAge,
Size: filterSize,
SortBy: filterSortBy
}
},
BreedReqId: filterBreedReqId
};
var url = '/PetHarbor/getAdoptableAnimalsByLatLon';
getMoreAnimals(data, url);
}

function FilterAnimalsByType(element, type) {
//gtag('event', 'filter_selected', {
//'filter_name': 'animal_type',
//'filter_value': type.toLowerCase()
//});
//gtag('event', 'animal type filter', {
//'value': type.toLowerCase()
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'filter_selected',
'category': 'filter',
'name': 'Animal type filter',
'value': type.toLowerCase()
});

//window.dataLayer.push({
// 'event': 'Filter selected',
// 'category': 'Filter',
// 'name': 'Animal type',
// 'value': type.toLowerCase()
//});


resetFilterButtons();
$('#' + element.id).removeClass('.btn-24petmain').addClass('btn-24petmainactive');

filterAnimalType = type;
filterBreedType = '';
var data = {
model: {
AnimalType: filterAnimalType,
SearchType: filterSearchType,
ShelterList: filterShelterList,
BreedList: filterBreedType,
Gender: filterGender,
Age: filterAge,
Size: filterSize,
SortBy: filterSortBy
}
};

AdoptableAnimals();
BreedList();
}

function FilterAnimals() {
AdoptableAnimals();
}

function Details(shelterCode, animalId, imageIDN) {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'view_details'
//});

//gtag('event', 'view_details_by_shelter', {
//'details_shelter_id': shelterCode,
//'details_animal_id': animalId
//});

//gtag('event', 'details navigation', {
//});

window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'View animal details',
'value': 'view details',
});
window.dataLayer.push({
'event': 'view_details_by_shelter',
'category': 'details',
'name' : 'View animal details by shelter',
'shelter_id': shelterCode,
'animal_id': animalId
});

$("meta[property='og\\:image']").attr("content", "image/" + imageIDN);
var data = {
model: {
AnimalId: animalId,
ShelterId: shelterCode,
}
};
var url = '/PetHarbor/getAnimalDetails';
getAnimalDetails(data, url);
}

function FAQ() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'faq'
//});
//gtag('event', 'FAQ navigation', {
//});

//window.dataLayer = window.dataLayer || [];
//window.dataLayer.push({
// 'event': 'navigation_custom',
// 'category': 'navigation',
// 'value': 'faq',
//});

var url = '/PetHarbor/FAQ';
getFAQ(url);
}

function LPP() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'lpp'
//});
//gtag('event', 'LPP navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'Lost pet postcards FAQ',
'value': 'lost pet postcards',
});

var url = '/PetHarbor/LPP';
getFAQ(url);
}

function FlyerFAQ() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'flyer_faq'
//});
//gtag('event', 'Flyer FAQ navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'Flyer FAQ',
'value': 'flyer faq',
});

var url = '/PetHarbor/FlyerFAQ';
getFAQ(url);
}

function TermsOfUse() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'tos'
//});
//gtag('event', 'TOS navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'TOS',
'value': 'tos',
});

var url = '/PetHarbor/TermsOfUse';
getFAQ(url);
}

function PrivacyPolicy() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'privacy_policy'
//});
//gtag('event', 'privacy policy navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'Privacy Policy',
'value': 'privacy policy',
});

var url = '/PetHarbor/PrivacyPolicy';
getFAQ(url);
}

function Accessibility() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'accessibility'
//});
//gtag('event', 'accessibility navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'Accessibility',
'value': 'accessibility',
});
var url = '/PetHarbor/Accessibility';
getFAQ(url);
}

function RescuePartners() {
//gtag('event', 'navigation_custom', {
//'navigation_destination': 'shelter_rescue_partners'
//});
//gtag('event', 'SP navigation', {
//});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'navigation_custom',
'category': 'navigation',
'name' : 'Shelter partners portal',
'value': 'shelter partners portal',
});

var url = '/ShelterPartners/Index';
window.location.href = "/ShelterPartners/Index";
}

function SendEmail(emailType) {
var url = '/Contact/SendRequestEmail';
getSendEmail(emailType, url);
}

function redirectToDetails() {
var animalId = $('#animalDetails').val();
if (animalId != null && animalId != '') {
window.location.href = "https://24Petconnect.com/IDSearch/" + animalId;
}
}

</script>
</body>
</html>

Ads.Txt Alerts - A trading name of Red Volcano Limited

Waterloo Buildings, Second Floor Rear, 53 London Road, Southampton, Hampshire, United Kingdom, SO15 2AD

© Red Volcano 2020. All Rights Reserved.