<!--

function removePhoto( photoNum ) {
    field = "document.ObjectForm.photo" + photoNum + "_remove.value";
    eval(field + " = true");
    document.ObjectForm.submit();
}

function removePersonalPhoto () {
    field = "document.PersonalInformation.photo_remove.value";
    eval(field + " = true");
    document.PersonalInformation.submit();
}

/**
 * Check or uncheck the checkbox with the given id
 *
 * @access  public
 * @param   int id  The id of the checkbox to check or uncheck
 * @return  void
 */
function selectRow(id) {
    if( document.getElementById(id).checked == true )
        document.getElementById(id).checked = false;
    else
        document.getElementById(id).checked = true;
}

function getCenteredScreenX(popupWidth) {
    var w = 480;

    w = screen.width;

    return (w-popupWidth)/2;
}

function getCenteredScreenY(popupHeight) {
    var h = 340;

    h = screen.height;

    return (h-popupHeight)/2;
}

-->