$(document).ready(popup)

function popup()
{
  var toLeft= offset()
  $('#flydiv').animate({
    opacity: 1,
    left: '+='+toLeft
  }, 2000, function() {
    // Animation complete.
  });

}

function closePop()
{
    
    
    $('#flydiv').hide()
    
}
function offset(){
   return 605+($(window).width()/4)
}