// JavaScript Document
window.addEvent('domready', function(){
	//First Example
	var el = $$('a.link'),
		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0.5 and adding two events
	$$('a.link').set('opacity', 1).addEvents({
		mouseenter: function(){
			// This morphes the opacity and backgroundColor
			this.morph({
				'opacity': 1,
				'background-color': '#ff8500',
				'color': '#fff'
			});
		},
		mouseleave: function(){
			// Morphes back to the original style
			this.morph({
				opacity: 1,
				backgroundColor: color,
				'color': '#32373a'
			});
		}
	});
	});


function belink(name, domain, tld, link)
{
var link = "<a href='&#109;&#97;&#105;&#108;&#116;&#111;&#58;"
+name+"&#64;"+domain+"&#46;"+tld+"'>"+link+"</a>";
document.write(link);
}