var debug = '';
$(document).ready(function() {
		    var jsHREF = 'javascript: void(0);',
		        smUrl =  $('#sourcemaker').attr('href'),
			smLogo = $('#sourcemaker').html()+'.png';
			smLogo = "\/alein\/rss\/logos\/" + smLogo;

		    var smEl = $('<a>').css({
					    "display": 'block',
					    "position": 'relative',
					    "top": '-10px',
					    "left": '340px',
					    "background-repeat": 'no-repeat',
					    "background-position": 'bottom right',
					    "text-decoration": 'none',
					    "background-image": "url('"+ smLogo +"')",
					    "width": '343px',
					    "height": '57px',
					    "color": '#444',
					    "font-size": '13px',
					    "text-align": 'left',
					    "font-family": 'Arial, Tahoma, Verdana, Helvetica, sans-serif'
					    }).attr({ "class": 'sourcemaker', "target": "_blank", "href": smUrl });
			smEl.append($('<span>').css({ "display": 'block', "padding": '30px 0 0 0' }).html('Материалы предоставлены'));
		    $('#sourcemaker').replaceWith(smEl);
		    $('.sourcemaker').parent().attr({ "class": "sourcemaker" });

		    /* NEWS STYLE */ /*
		    $('*[class*=news_height]').find('p[class!="sourcemaker"]').each(function(){
							$(this).css({ "text-align": 'justify' });
						}); */
		    $('.fPhone').html('+7 (495) 682-38-56');
		    /* var midHeight = $('#indexSidebar1').parent().height() - $('#indexSidebar1').height();
		    var spacerElement = $('<div>').css({ "color": '#FFF', "height": midHeight+'px' }).html('&nbsp;');
		    $('#indexSidebar1').append(spacerElement);
		    $('#indexSidebar1').css({ "margin-bottom": "0" }); */
		    $('#indexSidebar1').parent().css({ "border-right": '260px solid #F0F1F1' });
});

