  
  var obj_slide;      
  
  function slide_move (str_offset) {
//    if (parseInt (document.getElementById('body_container_left_content').style.top) + parseInt (str_offset) <= '0') {
//      slide_end ();
//    }
  
//    if (str_offset < 0 && parseInt (document.getElementById('body_container_left_content').offsetHeight) - 405 - (parseInt (document.getElementById('body_container_left_content').style.top) * -1) <= 0) {
//      slide_end ();        
//    }        
    if (str_offset > 0 && parseInt (document.getElementById('body_container_left_content').style.top) >= '0') {
      slide_end ();
    }
    
    else if (str_offset < 0 && parseInt (document.getElementById('body_container_left_content').offsetHeight) - 405 - (parseInt (document.getElementById('body_container_left_content').style.top) * -1) <= 0) {
      
      slide_end ();    
    }

    else {
      document.getElementById('body_container_left_content').style.top = (parseInt (document.getElementById('body_container_left_content').style.top) + parseInt (str_offset)) + 'px';
    }
    
    return true;
  }      
  
  function slide_start (str_offset) {
    obj_slide = setInterval ("slide_move('" + str_offset + "')", '50');
  }
  
  function slide_end () {
    clearInterval (obj_slide)
  }
  
  function bodyResize () {
    var str_height = (typeof window.innerHeight != 'undefined' ? window.innerHeight : document.body.offsetHeight);
    
    if (str_height > '620') {
      var str_off = Math.round ((str_height - 620) / 2) - 200;
      
      document.getElementById('body_container_1').style.top=str_off+'px';
    }
    
    else {
      document.getElementById('body_container_1').style.top='-200px';
    }
    
    return true;
  }
         
  window.onresize = bodyResize;
