// JavaScript Document
function Update(){
	if(!window.confirm("Do you really want to delete this? It can't be undone")){
		return false;
	}else{
		return true;
	}
}

// Validate url for new Feed URLs.
function urlValidate() {
                                var pURL = document.getElementById("PodcastsPodcastURL").value;
                                if (pURL=='http://' || pURL=='https://' || pURL=='') {
                                        alert('Podcast URL must begin with http://');
                                        return false;
                                } else
                                        return true;
}


$(document).ready(function() {

// Header Search Bar
$('#PodcastKeywords').focus(function() {
	$('#PodcastKeywords').val('');
});

// Front page Feed URL Bar
$('#PodcastsPodcastURL').focus(function() {
        $('#PodcastsPodcastURL').val('');
});


});

