if (typeof mth ==='undefined') { mth = [];} var mthSense = {run : function () { while (mth.length > 0) { var adData = mth.shift(); var writingDiv = adData.placement;var content = ' '; var elem = document.getElementById(writingDiv); var iframe = document.createElement('iframe'); iframe.width = '728'; iframe.height = '90'; iframe.frameBorder = 0; iframe.scrolling = 'no'; elem.appendChild(iframe); iframe.contentWindow.document.open(); iframe.contentWindow.document.write(content); iframe.contentWindow.document.close();}}} if(document.addEventListener){ document.addEventListener('DOMContentLoaded', mthSense.run(), false);}else if(document.attachEvent){ document.attachEvent('onreadystatechange', function(){ if(document.readyState === 'complete'){mthSense.run();} });}