function removeAds(width) {
	width = parseInt(width);
    	if (width < 1200) {
			$(".side-ads").fadeOut(500);
			
    	} 
		else 
		{
				$(".side-ads").fadeIn(500);
			
		}
}

$(function() {
    removeAds($(this).width());
    $(window).resize(function() {
        removeAds($(this).width());
    });
});