// //////////////////////////////////////////////////////
// page_trailer()
//
// This generates the page trailer used on all the 
// content pages to simplify updates for new content
// owners or other additional information. The data
// is written to the doc in a simple formatted table.
// //////////////////////////////////////////////////////


function page_trailer()
{
    var content_owner = "Matthew Heideman";
    var owner_email   = "matt.heideman@bearingpoint.com";
    var content_pub   = "John W. Mitchell";
    var pub_email     = "john.mitchell@pyxisengineering.com";

    // Set the basic table and web content owner to begin with
    // the spacing and new lines are not required but make
    // it easier to see the intended result from the code.
    var page_trailer_data = 
    '<center>\n' +
    '    <br>\n' +
    '    <table border="0" cellspacing="2" cellpadding="2" width="500px">\n' +
    '        <tr>\n' +
    '            <td style="text-align: right; white-space: nowrap; font-size: 8pt;"> Content Owner: </td>\n' +
    '            <td style="text-align: left; white-space: nowrap; font-size: 8pt;" >\n' +
    '                <a href="mailto:' + owner_email + '?Subject=International%20YAAC%20Website">\n' +
    '                    ' + content_owner + '\n' +
    '                </a>\n' +
    '            </td>\n' +
    '            <td style="text-align: right; white-space: nowrap; font-size: 8pt;"></td>' +
    '            <td style="text-align: left; white-space: nowrap; font-size: 8pt;"></td>' +
    '        </tr>\n' +
    '        <tr>\n' +
    '            <td style="text-align: right; white-space: nowrap; font-size: 8pt;"> Content Publisher : </td>\n' +
    '            <td style="text-align: left; white-space: nowrap; font-size: 8pt;" >\n' +
    '                <a href="mailto:' + pub_email + '?Subject=International%20YAAC%20Website">\n' +
    '                    ' + content_pub + '\n' +
    '                </a>\n' +
    '            </td>\n' +
    '            <td style="text-align: right; white-space: nowrap; font-size: 8pt;"> Last Modified : </td>' +
    '            <td style="text-align: left; white-space: nowrap; font-size: 8pt;">'; 
    


    // Assign the last modified date to the varibale lastModDate
    // and reset it to unknown if it can not be determined
    var lastmoddate = document.lastModified;
    if (lastmoddate == 0 )
    {
        lastmoddate = "Unknown";
    }
    page_trailer_data += lastmoddate  +
    '            </td>\n' +
    '        </tr>\n' +
    '    </table>\n' +
    '</center>\n';


    // close out the center tag and write it out.
    page_trailer_data += "</center>\n";

    document.write( page_trailer_data );
}

