
/**
 * This script is an extension for browsers which don't support the css pseudo class ':hover'
 * You have to insert the css class 'eventcss' into the affected html elements.
 *
 * you have to insert prototype into your html header before this script.
 *
 * @requirements prototype 1.6
 *
 * @author Helmut Wandl <helmut@wandls.net>
 * @version 0.beta
 *
 * @copy STERNWERK 2008
 *
 */
document.observe('dom:loaded', function()
{
	$$('.eventcss').each(function(e)
	{
		e.observe('mouseover', function() { this.addClassName('hover'); });
		e.observe('mouseout', function() { this.removeClassName('hover'); });
	});
});

