function OpenActionPopup(url) {	
//ActionConfiguration.cfm?ActionId=##&PageNo=#URL.PageNo#&ActionsPerPage=#URL.ActionsPerPage#&filter=#URL.Filter#&sortType=#sortType#&InsideCFWindow=1
	PopupWindowOpen(url);
	return false;
}

function CloseActionPopup(ref) {	
	PopupWindowClose(ref);
	return false;
}

function CloseAndGotoActionListPopup() {
	PopupWindowClose(false);
	window.location = "/ActionList.cfm";
	return false;
}

function CloseAndGotoHomePopup() {
	PopupWindowClose(false);
	window.location = "/";
	return false;
}

function CloseAndGotoMemberPopup() {
	PopupWindowClose(false);
	window.location = "/Member.cfm";
	return false;
}

function CloseAndGotoActionDetailPopup(aid) {
	PopupWindowClose(false);
	window.location = "/ActionDetail.cfm?ActionId="+aid;
	return false;
}

function CancelActionPopup() {	
//alert('CancelCommentPopup()');
/*
	var strInputCode = document.getElementById('CommentValue').value;
	if (strInputCode != '') {
		if (confirm('Descard your comment? Please click OK to proceed.')) {
			PopupWindowClose(false,0);
		}
	}
*/
	PopupWindowClose(false,0);
	return false;
}

function SubmitActionPopup() {	
	return true;
}
