
//Generic alert to be used with links to delete things.  Simply a confirmation of intent to delete.
function deleteCheck(objName) {
	return confirm("This will permanently delete this " + objName + ".  Are you sure you want to do this?");
}

//Variable pop-up window
function newWindow(filename,widthVal,heightVal,resizeVal) {
	if ((resizeVal != "yes") || (resizeVal != "no")) {
		resizeVal = "yes";
	}
	argVar = "width=" + widthVal + ",height=" + heightVal + ",scrollbars=yes,resizable="+ resizeVal;
	reportWindow = window.open(filename,"ExpertNetPopUp",argVar);
	if (reportWindow.opener == null) {
		reportWindow.opener = self;
	}
}

//Alert regarding unassociating inventors from properties or patents.
function unAssociateInventor(objName) {
	return confirm("This will remove this inventor from this " + objName + ".");
}

//Admin Alert for Leading Edge category change...
function catChgChk() {
	return confirm("Unsaved changes will be lost if the Category is changed.  Do you wish to continue?");
}
