function embedPlayer(){
 	var curURL = window.location +"";
	var curPath = curURL.replace(/\w*.htm$/i,"");	
	var curPath = curPath.replace(/\w*.html$/i,"");	
	var curPath = curPath.replace(/\/$/,"");
	var curPath = curPath.replace(/^https:\/\//i,"");
	var curPath = curPath.replace(/^http:\/\//i,"");
	
//	alert(curPath);

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="192" HEIGHT="83" id="player" ALIGN="center">');
	document.write('<PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME=wmode VALUE=transparent><PARAM NAME=movie VALUE="MRSplayer.swf?xmlURI='+curPath+'/feed.xml">');
 	document.write('<EMBED src="MRSplayer.swf?xmlURI='+curPath+'/feed.xml" quality="high" bgcolor="#FFFFFF" WIDTH="192" HEIGHT="83" NAME="player" ALIGN="center" WMODE="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
}
