// this function aligns the content window to the grid

window.onload = function(){
                                res = function(id){
                                if(document.getElementById(id)){
                                      h = document.getElementById(id).offsetHeight;
                                      g = 86;     // first value 90 !
                                      if(browser == "i") g = 82; // IE switch
                                      y = (Math.ceil(h / g)*90)-10;
                                      document.getElementById(id).style.height = y + "px";
                                        }
                                }
                                res('content');
                                res('latest-entry');
}

