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 = "80bfbfbf-d73c-8723-e327-c8b8710b2396"; var jskey = "6192819935b003333eb9dc4974a43fed"; var iframeurl = "http://pvote.a.mvote.cn/i/"+guid+".html?voteurl="+window.location.href+"&jskey=6192819935b003333eb9dc4974a43fed&height=1238&width=610"; var iframehtml = ''; document.write(iframehtml);