function buildReadSpeaker() {
//    document.write('<span id="rs_player"></span>'); 
//    document.write('<div style="float:right; right:3px; height:17px; width:17px; border:none">');
    document.write('<a href="#" onclick="javascript:toggleSpeakerButton(this);" class="anchorReadSpeakPlay"  title="Listen to page" alt="Listen to page">Listen to page</a>');
//    document.write('</div>');
    document.write('<iframe src="" style="height:0px; width:0px;" id="readspeakerIFrame" frameborder=0></iframe>');
}
function toggleSpeakerButton(thisObj) {
    if (thisObj.className=="anchorReadSpeakPlay") {
         thisObj.className="anchorReadSpeakStop";
         document.getElementById("readspeakerIFrame").src="http://asp.readspeaker.net/cgi-bin/dbankrsonersone?customerid=1004035&type=7&lang=us&url="+location.href;
    } else {
         thisObj.className="anchorReadSpeakPlay";
         document.getElementById("readspeakerIFrame").src="";
    }
}
function buildReadSpeakerBox() {
    document.write('<div style="margin-top:-8px;">');
    document.write('<div id="readspeak_swf" style="float:left;"><a href="javascript:toggleReadSpeakerBoxButton(this,\''+location.href+'\');" class="anchorReadSpeakPlay"  title="Listen to page" alt="Listen to page">Listen to page</a></div>');
    document.write('<div id="readspeak_divider" style="width:0px; float:left; height:39px; margin-top:-2px; border-top:1px solid #FFFFFF;"></div>');
    document.write('<div style="display:block; float:left; line-height:22px;" ><a class="anchorMP3" href="http://asp.readspeaker.net/cgi-bin/dbankrsone?customerid=1004035&save=1&type=podcast&lang=us&url='+encodeURIComponent(location.href)+'" title="This news as MP3 file" alt="This news as MP3 file">MP3 version</a></div>');
    document.write('</div><br style="clear:both">');
}
function toggleReadSpeakerBoxButton(thisObj,pageURL) {
    pathvar="src="+encodeURIComponent("http://asp.readspeaker.net/cgi-bin/dbankrsone?customerid=1004035&type=podcast&lang=us&url="+encodeURIComponent(pageURL));
    var so3525 = new SWFObject("/presse/flash_media/readspeaker.swf?"+pathvar, "mymovie", "180", "18", "8", "#FFFFFF");
    so3525.write("readspeak_swf");
    document.getElementById("readspeak_swf").style.marginTop="-2px";
    document.getElementById("readspeak_swf").style.borderTop="1px solid #CFDAEB";
    document.getElementById("readspeak_swf").style.borderBottom="1px solid #CFDAEB";
    document.getElementById("readspeak_swf").style.padding="4px 0px 4px 0px";
    document.getElementById("readspeak_divider").style.width="6px";
 }