function confirm_case_deletion(case_id){
	if(confirm('Are you sure you want to remove this case?'))
		document.location.href = "case.cfm?id=" + case_id + "&remove=1";
}

function confirm_portfolio_work_deletion(work_id){
	if(confirm('Are you sure you want to remove this work?'))
		document.location.href = "portfolio_work.cfm?id=" + work_id + "&remove=1";
}

function confirm_portfolio_other_deletion(portfolioId, otherPortfolioId_id){
	if(confirm('Are you sure you want to remove this view?'))
		ColdFusion.navigate('otherViewsPortfolio.cfm?portfolioId=' + portfolioId + '&idOther=' + otherPortfolioId_id + '&removeOther=1','cfdiv_otherViewsPortfolio');
}

function confirm_staff_deletion(staff_id){
	if(confirm('Are you sure you want to remove this staff member?'))
		document.location.href = "staff_member.cfm?id=" + staff_id + "&remove=1";
}

function confirm_product_deletion(product_id){
	if(confirm('Are you sure you want to remove this product/service?'))
		document.location.href = "product.cfm?id=" + product_id + "&remove=1";
}

function confirm_position_deletion(position_id){
	if(confirm('Are you sure you want to remove this position?'))
		document.location.href = "position.cfm?id=" + position_id + "&remove=1";
}

function confirm_song_deletion(song_id){
	if(confirm('Are you sure you want to remove this sound track?'))
		document.location.href = "song.cfm?id=" + song_id + "&remove=1";
}

function remove_otherView(otherId,caseId)
{
	if(confirm('Are you sure you want to remove this view?'))
		ColdFusion.navigate('othercase.cfm?caseId='+ caseId+'&otherId=' + otherId,'cfdiv_table');
}

function confirm_media_deletion(media_id){
	if(confirm('Are you sure you want to remove this press release?'))
		document.location.href = "media.cfm?id=" + media_id + "&remove=1";
}

function confirm_imageLarge_deletion(case_id,type){
	if (confirm('Are you sure you want to remove this large view?')) {
		if (type != 4)
			document.location.href = "case.cfm?id=" + case_id + "&removeView=" + type;
		else
			document.location.href = "portfolio_work.cfm?id=" + case_id + "&removeView=" + type;
	}
}