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 = "92ee64bc-af28-267a-d528-9d71892dc307"; var jskey = "29db7b911fa211d2d707c1a99fa815ee"; var iframeurl = "http://pvote.v.mvote.cn/i/"+guid+".html?voteurl="+window.location.href+"&jskey=29db7b911fa211d2d707c1a99fa815ee&height=606&width=610"; var iframehtml = ''; document.write(iframehtml);