function deleteEntity(url, type){
	var confirmed = confirm('Are you sure you want to delete this '+type+'?');
	if(confirmed) document.location.href = url;
}

function checkCustom(value){
	if($('check').checked){
		$('custom').value = "true";
	}
	else{
		$('custom').value = "false";
	}
}

function sendEmail(){
	var confirmed = confirm('You will now send your note out to your contact list, do you wish to continue?');
	if(confirmed) $("userCampaignEmail").submit();
}
