I'm still not sure how the elements on your page are positioned. Some more information would be helpful (Is Cuber an example or the page you are working on?). Still, this may be what you need:
jQuery
function positionMenu(){
if ( $(window).scrollTop() >= $('#image').height() - $('#bluebar').height() ) {
$('#menu').css({'position': 'fixed', 'top' : $('#bluebar').height() + 'px'});
} else {
$('#menu').css({'position': 'static'});
}
}
positionMenu(); // position once when ready
$(window).scroll(function () {
positionMenu(); // position every time the user scrolls
});
HTML
<div id="bluebar"></div>
<div id="image"></div>
<div id="menu"></div>
CSS
div {
width: 100%; }
#bluebar {
background: navy;
height: 80px;
position: fixed;
top: 0; }
#image {
background: #ddd;
height: 300px; }
#menu {
background: red;
height: 80px; }