function initEntry(A){setupDoubleClick(A,null,false,"main-container",null,null,null);initBalloon(A);}function playSoundFromFlash(B,F){var C=window.location.href.replace("http://","");
var D=C.split("/")[0];D="http://"+D;if(!F&&window.location.href.search("/dictionary/")>-1){F=window.location.href.replace(/\/dictionary\/.*$/,"");
}C=F+"/external/flash/speaker.swf?song_url="+D+B;var E=document.getElementById("playSoundFromFlash");
if(!E){E=document.createElement("span");E.setAttribute("id","playSoundFromFlash");document.body.appendChild(E);
}$(E).html("");var A="speakerCache";playFlash(C,E,A);}function playFlash(B,D,A){if(D.firsChild){return ;
}B+="&autoplay=true";var C;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){C="<embed type='application/x-shockwave-flash' src='"+B+"' width='0' height='0'></embed>";
}else{C="<object type='application/x-shockwave-flash' width='0' height='0' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' data='"+B+"'><param name='wmode' value='transparent'/><param name='movie' value='"+B+"'/><embed src='"+B+"' width='0' height='0' ></embed></object>";
}if(!A){A="speakerActive";}D.className=A;$(D).html(C);}function seeMoreLessLink(){if(document.getElementById("readmore")){var B='<p id="showmore"><a  id="seemore" href="#" onclick="toggleDiv(\'readmore\'); return false;">see more</a></p>';
var A='<p id="showless" style="display:none"><a id="seeless" href="#"  onclick="toggleDiv(\'readmore\'); return false; ">see less</a></p>';
$("#readmore").before(B).after(A);}}function toggleDiv(A){try{$("#"+A).toggle(0);$("#showless").toggle(0);
$("#showmore").toggle(0);}catch(B){}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",seeMoreLessLink,false);
}else{if(document.all&&!window.opera){document.write('<script type="text/javascript" id="contentloadtag" defer="defer" src="javascript:void(0)"><\/script>');
var contentloadtag=document.getElementById("contentloadtag");contentloadtag.onreadystatechange=function(){if(this.readyState=="complete"){seeMoreLessLink();
}};}else{window.onload=seeMoreLessLink;}}
