﻿function DelCon(f,g) {
	var deletecheck=confirm("Are you sure you want to delete " + f);
	if (deletecheck==true) 
	{
		window.open(g,'_self')
	}
	else
	{}
}

function CanCon(g) {
	var deletecheck=confirm("Are you sure you want to cancel, your changes will not be saved.");
	if (deletecheck==true) 
	{
		window.open(g,'_self')
	}
	else
	{}
}

function ModuleDelete(f,g) {
	var deletecheck=confirm("Are you sure you want to delete " + f + " and all of its items and subitems?");
	if (deletecheck==true) 
	{
		window.open(g,'_self')
	}
	else
	{}
}

function MasterModuleDelete(f,g) {
	var deletecheck=confirm("Are you sure you want to delete " + f + "?  All of its subitem types will remain in the database.");
	if (deletecheck==true) 
	{
		window.open(g,'_self')
	}
	else
	{}
}


