function Mvote_initFrame(iwin) { var iframeobj = null; if (document.getElementById) { iframeobj = document.getElementById(iwin); } else { eval('iframeobj = ' + iwin + ';'); } if (iframeobj && !window.opera) { iframeobj.style.display="block" if (iframeobj.contentDocument && iframeobj.contentDocument.body.offsetHeight) { //ns6 syntax //iframeobj.width = iframeobj.contentDocument.body.scrollWidth+20; iframeobj.height = iframeobj.contentDocument.body.offsetHeight +20 ; } else if ( iframeobj.Document && iframeobj.Document.body.scrollHeight){ //iframeobj.width = iframeobj.Document.body.scrollWidth; iframeobj.height = iframeobj.Document.body.scrollHeight ; } } } var guid = "0411f68d-b094-fa18-da4d-7d410e7f941f"; var jskey = "abcb39e8fa9c85ffb673dd361685c7b0"; var iframeurl = "http://pvote.a.mvote.cn/i/"+guid+".html?voteurl="+window.location.href+"&jskey=abcb39e8fa9c85ffb673dd361685c7b0&height=14999&width=610"; var iframehtml = ''; document.write(iframehtml);