//var baseurl;
function getparam() {
  // frameのサイズを変更
  url2cmd(playmode);
}
window.onload=getparam;

function url2cmd(playmode) {
  var nMaxVars = 0;
  var sVarLine = "";
  var sName = new Array();
  var sValue = new Array();

  function getMaxVars() { return nMaxVars; }
  function getVarString() { return sVarLine; }
  function getNameArray() { return sName; }
  function getValueArray() { return sValue; }

  //http://pb1.m-telebee.com/ユーザ名/ムービーセット名
//alert("httpurl:" + httpurl);
//alert("path:" + path);
//alert("mwidth:" + mwidth);
//alert("mheight:" + mheight);
//alert("vmode:" + vmode);
//alert("vid:" + vid);
//alert("vlid:" + vlid);
//alert("chno:" + chno);
//alert("encType:" + encType);
//alert("playmode:" + playmode);
//alert("mode:" + mode);
  if(vid > 0) {
    LoadPlayer3(httpurl, path, mwidth, mheight, vmode, vid, encType, playmode);
  } else if(vlid > 0) {
    LoadPlayList(httpurl, path, mwidth, mheight, vmode, vlid, encType, playmode, mode);
  } else if(chno > 0) {
    LoadChnoList(httpurl, path, mwidth, mheight, vmode, chno, encType, playmode, mode);
  }
  return;
}