var newClass = function() {
	return function() {
		return this.init.apply(this, arguments);
	}
}

var Smena = newClass();

Smena.prototype = {

  init: function() {
	 var t = this;	
	 
	
	$(".ViewHref a").mouseover(function() {
    $(this).parents(".Buying").addClass("BuyingSel");
    });
	
	$(".ViewHref a").mouseout(function() {
    $(this).parents(".Buying").removeClass("BuyingSel");
    });

 }

};

$(document).ready(function(){
	new	Smena();
});