﻿// JScript 文件
function loadgame()
{
    var flashgame = document.getElementById("flashgame");
    var newHeight;
    if (flashgame.Document)
    {
      newHeight = flashgame.Document.body.scrollHeight + 20 + "px";
    }
    else
    {
      newHeight = flashgame.contentDocument.body.scrollHeight+ 20 + "px";
    }
    flashgame.style.height = newHeight;
}
document.getElementById("game").innerHTML="<iframe id=\"flashgame\"  onload=\"loadgame()\"  scrolling=\"no\" src='../"+ gurl +"/index.htm' style=\"width: 750px; height: 500px;\" frameborder=\"no\"></iframe>";