// This will fix the height of sidebars according to size of the tile
// 164 is the tile size
function fixHeight()
{
	var tileSize = 164;
	var h = 0;
	var con = document.getElementById('content_wrapper');
	if (con.offsetHeight)
	{
		h=con.offsetHeight;
	}
	else if (con.style.pixelHeight)
	{
		h=con.style.pixelHeight;
	}
	//alert(h);
	if (h%tileSize!=0)
		con.style.height = (Math.ceil(h/tileSize))*tileSize+'px';
}

