﻿
function newFullWindow(href) {
	var newWindow = window.open(href, "newFullWindow");
	if(!newWindow) return false;
	return true;
}

function popUp(href) {
	var newWindow = window.open(href, "newWindow", "width=637, height=420, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes");
	if(!newWindow) return false;
	return true;
}

function checkBoxConfirm(element, message)
{
    if (element.checked)
        alert(message);
}

function ResetAnswers(isClientReset)
{
    var isReset = confirm("Are you sure you want to clear your form data above and start over?");
    
    if (isReset && isClientReset)
    {
        document.forms[0].reset();
        return false;
    }
    
    return isReset;
}