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

var Smena = newClass();

Smena.prototype = {

  init: function() {
	 var t = this;	
	 	 
	$(".DownloadPrise").mouseover(function() {
      t.dPmouseover();
    });
	
	$(".DownloadPrise").mouseout(function() {
      t.dPmouseout();
    });
	
	$(".Bg_VVNUslugi a").mouseover(function() {
      t.vVNmouseover();
    });
	
	$(".Bg_VVNUslugi a").mouseout(function() {
      t.vVNmouseout();
    });

  },

	dPmouseover: function() {
	  $(".DownloadPrise").addClass('OrangeBg');	  	
  },
  
  	dPmouseout: function() {
	  $(".DownloadPrise").removeClass('OrangeBg');	  	
  },
  
  	vVNmouseover: function() {
	  $(".Bg_VVNUslugi").addClass('OrangeBg');	  	
  },
  
 	 vVNmouseout: function() {
	  $(".Bg_VVNUslugi").removeClass('OrangeBg');	  	
  },

  
};




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