/* $Id: style.js 17203 2008-10-07 18:49:58Z prichardk $ */

NYTD = typeof NYTD == 'undefined' ? {"Video":{}} : NYTD;

NYTD.HoverBox = Class.create({
initialize: function(element) {
  this.el = element;
  this.hoverin();
  this.hoverout();
},

hoverClassOn : function(){
	this.addClassName('hoverState');
},

hoverClassOff : function(){
	this.removeClassName('hoverState');
},

hoverin: function() {
	this.el.onmouseover = this.hoverClassOn;
},

hoverout: function() {
	this.el.onmouseout = this.hoverClassOff;
}
});

