function createFloatingAd(url, image)
{
	var random = Math.floor(Math.random()*1000000);
	var div = $('<div id="floatingAd'+random+'" class="floatingAd" style="position: absolute; top: 100px; width: 200px; left: 50px; height: 300px; z-index: 100000"><a href="'+url+'"><img src="'+image+'" alt="" /></a></div>');
	$('body').append(div);
	div.width($('#floatingAd'+random+' img').width());
	div.height($('#floatingAd'+random+' img').height());
	div.css('left', Math.round(($('body').width() - $('#floatingAd'+random).width()) / 2));
	div.css('top', Math.round(($('body').height() - $('#floatingAd'+random).height()) / 2));
	$(div).append($('<a class="faClose" style="position: absolute; top: 5px; right: 5px;" href="#" onclick="$(\'#floatingAd'+random+'\').remove(); return false;">X</a>'));
}
