function deleteClassified(classified_id,catid,src) {
	var answer = confirm("Do you really want to delete this classified listing?");
	var location = "";
	if (answer) {
		
		location = "http://" + document.domain + "/classified_edit.php?act=upd&o=3&cid=" + classified_id + "&catid=" + catid + "&src=" + src;
	}
	else {
		//location = "http://" + document.domain + "/classifieds.php?catid=" + catid + "&msg=Classified delete cancelled";
		if (src == "cl") {
			location = "http://" + document.domain + "/classified_srch.php?" + "&msg=Classified delete cancelled";
		}
		else if (src == "myacc") {
			location = "http://" + document.domain + "/myaccount.php?" + "&msg=Classified delete cancelled";
		}
	}
	window.location = location;
}

