$(document).ready(function(){
	
	screenHeight=$(window).height();
	screenWidth=$(window).width();
	
	balloonWidth=$("#balloon img").outerWidth();
	balloonHeight=$("#balloon img").outerHeight();
	
	balloonStartPosX=Math.round((screenWidth-balloonWidth)/2);
	balloonStartPosY=screenHeight+10;
	
	$("#balloon").css("left", balloonStartPosX+"px");
	$("#balloon").css("top", balloonStartPosY+"px");
	
	bCurrentPosY=balloonStartPosY;
	bSpeed=10;
	
	balloonFly();
});

function balloonFly()
{
	screenWidth=$(window).width();	
	balloonStartPosX=Math.round((screenWidth-balloonWidth)/2);	
	bCurrentPosY-=bSpeed;
	$("#balloon").css("top", bCurrentPosY+"px");
	$("#balloon").css("left", balloonStartPosX+"px");
	if (bCurrentPosY>-100) window.setTimeout("balloonFly()", 10);
}
