	jQuery(document).ready( function()
	{
			
		jQuery('#left_side_ads').css('position', 'fixed')
								.css('left', '50%')
								.css('bottom', 40)
								.css('width', 120)
								.css('height', 500)
								.css('margin', '0 0 0 -625px')
								
		
		jQuery('#right_side_ads').css('position', 'fixed')
								.css('left', '50%')
								.css('bottom', 40)
								.css('width', 120)
								.css('height', 500)
								.css('margin', '0 0 0 505px')
								
								
		checkLeftRightAds();
		
	});
	
	
	
	function checkLeftRightAds()
	{
		if (jQuery(document).width() > 
										jQuery('#left_side_ads').width() 
										+ jQuery('#right_side_ads').width()
										+ jQuery('#container').width()
			)
		{
			jQuery('#left_side_ads, #right_side_ads').show();
		}
		else
		{
			jQuery('#left_side_ads, #right_side_ads').hide();
		}
		
		setTimeout("checkLeftRightAds()", 200);
	}
