$(document).ready(function(){
	$("#dhome").click(function(){window.open('http://www.abcpets.com/', '_self');});
	$("#dlogin").click(function(){window.open('members.html', '_self');});
	$("#dbd").click(function(){window.open('dogs.html', '_self');});
	$("#cbd").click(function(){window.open('cats.html', '_self');});
	$("#apb").click(function(){window.open('allbreeds.html', '_self');});
	$("#ddog").click(function(){window.open('dogs.html', '_self');});
	$("#dcat").click(function(){window.open('cats.html', '_self');});
	$("#dbirds").click(function(){window.open('ABC/birds.html', '_self');});
	$("#drep").click(function(){window.open('ABC/reptile.html', '_self');});
	$("#dfarm").click(function(){window.open('ABC/farmanimals.html', '_self');});
	$("#dexotic").click(function(){window.open('ABC/exotics.html', '_self');});
	$("#drescue").click(function(){window.open('ABC/rescue.html', '_self');});
	$("#dpsp").click(function(){window.open('http://www.abcpetsupplies.com/', '_self');});
	$("#dtrain").click(function(){window.open('ABC/trainer.html', '_self');});
	$("#getref").click(function(){window.open('references.html', '_self');});
	$("#demail").click(function(){window.open('contact.html', '_self');});
	$("#dadvert").click(function(){window.open('advertising.html', '_self');});
	
	$.get('ajax.php?action=breedlist',function(d){$('#breedjump').html(d);});
	$('#breedjump').change(
		function(){
			var val = $('#breedjump option:selected').val();
			if(val != 0){
				window.open('ABC/'+val+'.html', '_self');
			}
		});
});
