I was getting a cross domain permissions issue when trying to run the answer to this question so I went with:
function UrlExists(url) {
$('').load(function() {
return true;
}).bind('error', function() {
return false;
});
}
It seems to work great, hope this helps someone!