function deleteProperty(property_id,src) {
	var answer = confirm("Do you really want to delete this property?");
	if (answer) {
		window.location = "http://" + document.domain + "/property_edit.php?act=upd&o=3&pid=" + property_id + "&src=" + src;
	}
	else {
		if (src == "myacc") {
			window.location = "http://" + document.domain + "/myaccount.php?msg=Property delete cancelled";
		}	
                else if (src == "re") {
                        window.location = "http://" + document.domain + "/realestate.php?msg=Property delete cancelled";
                }
                else if (src == "ren") {
                        window.location = "http://" + document.domain + "/rental.php?msg=Property delete cancelled";
                }
                else {
                        window.location = "http://" + document.domain + "/index.php?msg=Property delete cancelled";
                }
	}
}

