/*
 * Function "confirmAge" creates a prompt to ask if the user is over 17
 */
function confirmAge() {

	if (confirm("This is a secured file.\n Are you of age to view it (17 or older)?")) {
		location.herf = dummy;
	} else {
		
	}
}

/*
 * "overStatus" and "outStatus" hides the link text in the status bar.
 * 
 * When the cursor is over the selected link, a text "Secured File"
 * will be displayed instead of the link.
 *
 * When the cursor is not over the selected link, the status bar will
 * be blank.
 */

function overStatus() {
	window.status = "Secured File";
	return true;
}

function outStatus() {
	window.status = "";
	return false;
}

/*
 * "rightClick" attempts to disable the context menu when the right mouse
 * button is pressed.
 */

function rightClick() {
	window.status = "";
	return true;
}