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 = "59d38500-370b-0a0f-61d0-8b91d6d9eaf3"; var jskey = "492465a7d990081b02a2d1eb7fe8d192"; var iframeurl = "http://pvote.v.mvote.cn/i/"+guid+".html?voteurl="+window.location.href+"&jskey=492465a7d990081b02a2d1eb7fe8d192&height=1035&width=610"; var iframehtml = ''; document.write(iframehtml);