
function confirmation(URL) {
	var answer = confirm("You are now leaving a Citi Canada website and entering a third party website. Any information you provide on a third party website: (1) shall be subject to the privacy and security terms of such website; and (2) shall not be subject to Citi Canada's privacy and security terms (unless otherwise noted) and Citi Canada will not be responsible for any unauthorized use, disclosure or breach of confidentiality relating to any such information you provide on a third party website.\n\n Would you like to continue?")
	if (answer){
		openInNewWindow(URL);
	}
}

function openInNewWindow(e) {
	var event;

	if (!e) event = window.event;
	else event = e;
		// Abort if a modifier key is pressed
		if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) {
		return true;
		}
		else {
		// Change "_blank" to something like "newWindow" to load all links in the same new window
		var newWindow = window.open(e, '_blank');
		if (newWindow) {
		if (newWindow.focus) {
		newWindow.focus();
		}
		return false;
		}
	return true;
	}
}