jQuery(document).ready(function() 

{
var leftPart=jQuery('.left_part');
if(leftPart.size()==0)
	 {leftPart=jQuery('<div class="left_part"></div>');
	 parentTag = jQuery('.mo-gbackgr').parent();
	  jQuery(parentTag).prepend(leftPart);
};
rightPart=jQuery('.right_part');
if (rightPart.size()==0){
	rightPart = jQuery('<div class="right_part"><div class="mo-gbackgr">'+jQuery('.mo-gbackgr').html()+'</div></div>');
	jQuery('.mo-gbackgr').replaceWith(rightPart);
	};

jQuery(' .right_part .mo-gbackgr a').hover(
 function (){		var imgPath=jQuery(this).attr('href');
					oldWrap =jQuery('.left_part   .wrapper');				
					var newImg = jQuery('<img src="' + imgPath +'" class="replaced" />');
					text=jQuery(this).children('.wrapper').html();
					newWrap =jQuery ('<div class="wrapper" style="display:inline;">'+ '<img src="' + imgPath +'" class="replaced" />' +text +'</div>');
					oldWrap.remove();
					newWrap.hide();
					jQuery('.left_part').append(newWrap);    
					newWrap.fadeIn(1000);
					},
  function (){oldWrap.fadeOut(1000,function(){jQuery(oldWrap).remove();}
						 )           																 	
	;})	
jQuery(' .right_part .mo-gbackgr a:first').hover(); 						 
});			


