//poptarts diary: setting 
window.onload = function() {
	enableTooltips("content")
	// myFadeSize = new fx.FadeSize('wrapper', {duration: 400});
	// myResize = new fx.Resize('wrapper', {duration: 400});
	myTextPX = new fx.Text('wrapper', {duration: 400, unit: "px"}); //now accepts px as unit.
	myTextEM = new fx.Text('wrapper', {duration: 400}); //do not set unit if you want to use ems.
	// myOpacity = new fx.Opacity('wrapper', {duration: 400});
	//myWidth = new fx.Width('wrapper', {duration: 400});
	myRememberText = new fx.RememberText('wrapper', {duration: 400}); //remembers text size with a cookie
	}
	
Event.observe(window, 'load', function() { // this binds the function() to the event window.onload
	// new Effect.Appear('wrapper'); create first Effect
	new Effect.Highlight('today', {queue: 'end'} ); // then execute second Effect
	new Effect.Pulsate('today', {queue: 'end'} );
	new Effect.Highlight('today', {queue: 'end'} );
	}
);