function footerAdjustTop(objReference, pxAdditionalOffset, typeOffset) {
    contentHeight = document.getElementById(objReference).offsetHeight + pxAdditionalOffset;
    
    if (typeOffset == 'margin')
        document.write('<style type="text/css">#footerYOTG { margin-top: ' + contentHeight + 'px; }</style>');
    else if (typeOffset == 'padding')
        document.write('<style type="text/css">#footerYOTG { margin-left: 0; padding-top: ' + contentHeight + 'px; }</style>');
}


function Launch(path, width, height)
{
    window.open(path, 'child', 'width=' + width + ',height=' + height + ',scrollbars=yes,toolbar=no,status=no,resizable=no', false);
}
