My LogiX is Undeniable.
function Hide_Ribbon()
{
setTimeout(function () { window.top.document.getElementById("minimizeribbon").fireEvent("onclick"); }, 0);
}