window.onload = function()
{
	var items = $$('#blogroll a');
	
	for (var i = 0; i < items.length; i++)
	{
		var item = items[i];
		item.addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.set('morph', {
				duration: 300,
				transition:  Fx.Transitions.Sine.easeOut // This could have been also 'bounce:out'
			}).morph({
				'color': '#FFF',
				'margin-left':'4px'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.set('morph', {
				duration: 300,
				transition:  Fx.Transitions.Sine.easeOut // This could have been also 'bounce:out'
			}).morph({
				'color': '#747474',
				'margin-left':'0px'
			});
		}
	});

	}	
	
	var boxs = $$('#team div.box');
	
	for (var i = 0; i < boxs.length; i++)
	{
		var box = boxs[i];
		
		box.addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.set('morph', {
				duration: 300,
				transition:  Fx.Transitions.Sine.easeOut // This could have been also 'bounce:out'
			}).morph({
				'margin-top':'-40px'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.set('morph', {
				duration: 300,
				transition:  Fx.Transitions.Sine.easeOut // This could have been also 'bounce:out'
			}).morph({
				'margin-top':'0px'
			});
		}
	});


	}	
	
}


/*

<script>
				var li = new Element("li");
				var link = new Element("a");
				link.addEvent('mouseover', function(e){
					f4de(e.target);
				});
				link.addEvent('mouseout', function(e){
					f4de(e.target);
				});
				link.textContent = "<?php the_title(); ?>";
				link.setAttribute('href', "<?php the_permalink() ?>");
				li.appendChild(link);
				$('recentPosts').appendChild(li);
			</script>
			
*/
