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

var Smena = newClass();

Smena.prototype = {

  init: function() {
	 var t = this;

	$(".PlanTable td").mouseover(function() {
	$(this).parent(".PlanTable tr").addClass("HoverTd");
    });
	
	$(".PlanTable td").mouseout(function() {
	$(this).parent(".PlanTable tr").removeClass("HoverTd");
    });
	
 }
};

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