var topValue = $('.infowindow').css('top');
var intTopValue = parseInt(topValue, 10);
if (intTopValue > 240)
intTopValue = 235;
$('.infowindow').css('top', intTopValue);
var intTopValue = parseInt(topValue, 10);
if (intTopValue > 240)
intTopValue = 235;
$('.infowindow').css('top', intTopValue);