function cPets(objName) {
this.name = objName;
window[objName] = this;
this.petFields = new Array();
this.petFields['animalID'] = Array();
this.petFields['animalID']['index'] = 0;
this.petFields['animalID']['name'] = 'Animal ID';
this.petFields['status'] = Array();
this.petFields['status']['index'] = 1;
this.petFields['status']['name'] = 'Status';
this.petFields['lastUpdated'] = Array();
this.petFields['lastUpdated']['index'] = 2;
this.petFields['lastUpdated']['name'] = 'Last Update';
this.petFields['rescueID'] = Array();
this.petFields['rescueID']['index'] = 3;
this.petFields['rescueID']['name'] = 'Rescue ID';
this.petFields['name'] = Array();
this.petFields['name']['index'] = 4;
this.petFields['name']['name'] = 'Name';
this.petFields['summary'] = Array();
this.petFields['summary']['index'] = 5;
this.petFields['summary']['name'] = 'Summary';
this.petFields['species'] = Array();
this.petFields['species']['index'] = 6;
this.petFields['species']['name'] = 'Species';
this.petFields['breed'] = Array();
this.petFields['breed']['index'] = 7;
this.petFields['breed']['name'] = 'Breed';
this.petFields['primaryBreed'] = Array();
this.petFields['primaryBreed']['index'] = 8;
this.petFields['primaryBreed']['name'] = 'Primary Breed';
this.petFields['secondaryBreed'] = Array();
this.petFields['secondaryBreed']['index'] = 9;
this.petFields['secondaryBreed']['name'] = 'Secondary Breed';
this.petFields['sex'] = Array();
this.petFields['sex']['index'] = 10;
this.petFields['sex']['name'] = 'Gender';
this.petFields['mixed'] = Array();
this.petFields['mixed']['index'] = 11;
this.petFields['mixed']['name'] = 'Mixed';
this.petFields['dogs'] = Array();
this.petFields['dogs']['index'] = 12;
this.petFields['dogs']['name'] = 'Good with Dogs';
this.petFields['cats'] = Array();
this.petFields['cats']['index'] = 13;
this.petFields['cats']['name'] = 'Good with Cats';
this.petFields['kids'] = Array();
this.petFields['kids']['index'] = 14;
this.petFields['kids']['name'] = 'Good with Kids';
this.petFields['declawed'] = Array();
this.petFields['declawed']['index'] = 15;
this.petFields['declawed']['name'] = 'Declawed';
this.petFields['housetrained'] = Array();
this.petFields['housetrained']['index'] = 16;
this.petFields['housetrained']['name'] = 'House Trained';
this.petFields['age'] = Array();
this.petFields['age']['index'] = 17;
this.petFields['age']['name'] = 'Age';
this.petFields['specialNeeds'] = Array();
this.petFields['specialNeeds']['index'] = 18;
this.petFields['specialNeeds']['name'] = 'Special Needs';
this.petFields['altered'] = Array();
this.petFields['altered']['index'] = 19;
this.petFields['altered']['name'] = 'Altered';
this.petFields['size'] = Array();
this.petFields['size']['index'] = 20;
this.petFields['size']['name'] = 'Size';
this.petFields['uptodate'] = Array();
this.petFields['uptodate']['index'] = 21;
this.petFields['uptodate']['name'] = 'Up-to-date';
this.petFields['color'] = Array();
this.petFields['color']['index'] = 22;
this.petFields['color']['name'] = 'Color';
this.petFields['coatLength'] = Array();
this.petFields['coatLength']['index'] = 23;
this.petFields['coatLength']['name'] = 'Coat Length';
this.petFields['pattern'] = Array();
this.petFields['pattern']['index'] = 24;
this.petFields['pattern']['name'] = 'Pattern';
this.petFields['courtesy'] = Array();
this.petFields['courtesy']['index'] = 25;
this.petFields['courtesy']['name'] = 'Courtesy Listing';
this.petFields['found'] = Array();
this.petFields['found']['index'] = 26;
this.petFields['found']['name'] = 'Found';
this.petFields['foundDate'] = Array();
this.petFields['foundDate']['index'] = 27;
this.petFields['foundDate']['name'] = 'Found Date';
this.petFields['foundZipcode'] = Array();
this.petFields['foundZipcode']['index'] = 28;
this.petFields['foundZipcode']['name'] = 'Found Zip Code';
this.petFields['killDate'] = Array();
this.petFields['killDate']['index'] = 29;
this.petFields['killDate']['name'] = 'Euth Date';
this.petFields['killReason'] = Array();
this.petFields['killReason']['index'] = 30;
this.petFields['killReason']['name'] = 'Euth Reason';
this.petFields['description'] = Array();
this.petFields['description']['index'] = 31;
this.petFields['description']['name'] = 'Description';
this.petFields['pic1'] = Array();
this.petFields['pic1']['index'] = 32;
this.petFields['pic1']['name'] = 'Picture';
this.petFields['pictmn1'] = Array();
this.petFields['pictmn1']['index'] = 33;
this.petFields['pictmn1']['name'] = 'Thumbnail';
this.petFields['pic2'] = Array();
this.petFields['pic2']['index'] = 34;
this.petFields['pic2']['name'] = 'Picture';
this.petFields['pictmn2'] = Array();
this.petFields['pictmn2']['index'] = 35;
this.petFields['pictmn2']['name'] = 'Thumbnail';
this.petFields['pic3'] = Array();
this.petFields['pic3']['index'] = 36;
this.petFields['pic3']['name'] = 'Picture';
this.petFields['pictmn3'] = Array();
this.petFields['pictmn3']['index'] = 37;
this.petFields['pictmn3']['name'] = 'Thumbnail';
this.petFields['pic4'] = Array();
this.petFields['pic4']['index'] = 38;
this.petFields['pic4']['name'] = 'Picture';
this.petFields['pictmn4'] = Array();
this.petFields['pictmn4']['index'] = 39;
this.petFields['pictmn4']['name'] = 'Thumbnail';
this.petFields['video1'] = Array();
this.petFields['video1']['index'] = 40;
this.petFields['video1']['name'] = 'Video';
this.petFields['contactName'] = Array();
this.petFields['contactName']['index'] = 41;
this.petFields['contactName']['name'] = 'Contact Name';
this.petFields['contactEmail'] = Array();
this.petFields['contactEmail']['index'] = 42;
this.petFields['contactEmail']['name'] = 'Contact Email';
this.petFields['contactCellPhone'] = Array();
this.petFields['contactCellPhone']['index'] = 43;
this.petFields['contactCellPhone']['name'] = 'Contact Cell Phone';
this.petFields['contactHomePhone'] = Array();
this.petFields['contactHomePhone']['index'] = 44;
this.petFields['contactHomePhone']['name'] = 'Contact Home Phone';
this.petFields['locationZipcode'] = Array();
this.petFields['locationZipcode']['index'] = 45;
this.petFields['locationZipcode']['name'] = 'Location Zipcode';
this.petFields['locationName'] = Array();
this.petFields['locationName']['index'] = 46;
this.petFields['locationName']['name'] = 'Location Name';
this.petFields['detailLink'] = Array();
this.petFields['detailLink']['index'] = 47;
this.petFields['detailLink']['name'] = 'Name';
this.petFields['created'] = Array();
this.petFields['created']['index'] = 48;
this.petFields['created']['name'] = 'Created';
this.mode = '';
this.pet = new Array();
this.listId = 'rgPetContainer';
this.detailId = 'rgPetDetails';
this.fields = 'name,breed,color,species,age,thumbnail';
this.orderby = this.petFields['name']['index'];
this.order = 'asc';
this.enableSearch = true;
this.smartBrowse = true;
this.sortbyField = 'name';
this.sortbyOrder = 'asc';
this.hideEmptyFields = false;
this.detailWidth = '600';
this.detailHeight = '620';
this.picMaxWidth = '400';
this.pictmnMaxWidth = '100';
this.picSize = 'thumbnail';
this.init = function() {
document.getElementById(this.listId).innerHTML = "Sorry, our pet list is unavailable at this time. Please check back again later.
Thank you!";
}
}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23218855-6']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();