// Detect DOM readiness var cm_alreadyrunflag=0 //flag to indicate whether target function has already been run if (document.addEventListener) { document.addEventListener("DOMContentLoaded", function(){ cm_alreadyrunflag=1; cmReady(); }, false); } else if (document.all && !window.opera) { document.write('