
var Homebox = Class.create();

Homebox.prototype = {
	
	
	
	initialize: function() { 
			this.updateBoxes();
	},
	
	updateBoxes: function() {   
        this.updateImageList = Prototype.emptyFunction;

        document.observe('mouseover', (function(event){
            var target = event.findElement('a[rel^=homeBox]');
            if (target) {
                event.stop();
				//alert(target.up().id);
				target.up().addClassName('high');
				target.up().up().addClassName('high');
            } 
        }).bind(this));
		
		document.observe('mouseout', (function(event){
            var target = event.findElement('a[rel^=homeBox]');
            if (target) {
                event.stop();
				//alert(target.up().id);
				target.up().removeClassName('high');
				target.up().up().removeClassName('high');
            } 
        }).bind(this));
		
	}
	
	
	
	
	
}



document.observe('dom:loaded', function () { new Homebox(); });
