function initPosts()
{
	var posts = document.getElementById("posts");
	var _posts = [];
	if(posts)
	{
		var posts_bottom = posts.getElementsByTagName("div");
		for (var i=0, q=0; i<posts_bottom.length; i++)
		{
			if(posts_bottom[i].className == "bottom")
			{
				_posts[q++] = posts_bottom[i];
			}
		}
		if(posts_bottom.length)
		{
			_posts[q-1].style.paddingBottom = 50 + "px";
		}
	}
}

				
if (window.addEventListener) 
	window.addEventListener("load", initPosts, false);
else if (window.attachEvent) 
	window.attachEvent("onload", initPosts);