<!--

function setMovie(video_id, autoplay, playerid) {		  
			// allowScriptAccess must be set to allow the Javascript from one domain to access the swf on the youtube domain
	      var params = { allowScriptAccess: "always", bgcolor: "#000000", wmode: "transparent"};
	      // this sets the id of the object or embed tag to 'myytplayer'. You then use this id to access the swf and make calls to the player's API
	      var atts = { id: playerid };
	      swfobject.embedSWF("http://www.youtube.com/v/" + video_id + "&amp;border=0&amp;enablejsapi=1&amp;playerapiid=ytplayer&amp;autoplay=0" + autoplay ,playerid, "500", "331", "8", 0, 0, params, atts);
		  return false;
}

window.addEvent('domready', function(){
	mangle();	
})

function mangle() {
	if (!document.getElementsByTagName && !document.createElement &&
		!document.createTextNode) return;
	var nodes = document.getElementsByTagName("span");
	for(var i=nodes.length-1;i>=0;i--) {
		if (nodes[i].className=="change") {
			var at = / at /;
			var dot = / dot /g;
			var node = document.createElement("a");
			
			
			var address = nodes[i].firstChild.nodeValue;
			address = address.replace(at, "@");
			address = address.replace(dot, ".");

			
			node.style.color = "#ffffff";
			node.style.fontSize = "13px";
			node.style.textDecoration = "none";
			
			node.setAttribute("href", "mailto:"+address);
			
			
			node.appendChild(document.createTextNode(address));
			
			
			var prnt = nodes[i].parentNode;
			for(var j=0;j<prnt.childNodes.length;j++)
				if (prnt.childNodes[j] == nodes[i]) {
					if (!prnt.replaceChild) return;
					prnt.replaceChild(node, prnt.childNodes[j]);
					break;
				}
		}
	}
}
-->
