function CallPodcastData(blnAdmin) {
	if (blnAdmin == null) blnAdmin = false;
	
	var strKeyword = document.getElementById("keyword").value;
	var objArchived = document.getElementById("archived");
	var blnArchived = (objArchived == null) ? false : objArchived.checked;
	
	var strDestination = "/_services/Podcast";
		if (blnAdmin) strDestination += "Admin";
		strDestination += "Listing.php?k=" +strKeyword
		
	ExecuteDivAjax(strDestination, "podcasts");
}

function CallPodcastTagData(strTarget, intPodcastID) {
	ExecuteDivAjax("/_services/PodcastTags.php?pcid=" +intPodcastID, strTarget);
}

function CallPodcastAddTags(strHost, intPodcastID, strTarget) {
	var objTags = document.getElementById(strHost);
	var strTags = objTags.value;
	objTags.value = "";
	
	ExecuteDivAjax("/_services/PodcastTags.php?pcid=" +intPodcastID+ "&t=" +escape(strTags), strTarget);
}