<!--
var __App = {
  init: function()
  {
    __initApp();
    window.onresize = function(e)
    {
      __chl();
      return true;
    }
  }
}

function __initApp()
{
  document.getElementById('vl').innerHTML = '<a href="http://validator.w3.org/check/referer" title="W3C Markup Validation" class="vl">XHTML 1.0 Strict</a>' + '<br />' + '<a href="http://jigsaw.w3.org/css-validator/check/referer" title="W3C CSS Validation" class="vl">CSS level 2.1</a>';
}

function __getW()
{
  var __width = 790;

  if(self.innerWidth)
    __width = self.innerWidth;
  else if (document.documentElement && document.documentElement.clientWidth)
    __width = document.documentElement.clientWidth;
  else if(document.body)
    __width = document.body.clientWidth;

  return(__width);
}

function __chl()
{
  document.getElementById('fpm').style.display = 'none';
  var __nWd = 110;
  var __nHg = 110;

  var __wWd    = __getW();
  var nodeList = document.getElementsByTagName("div");


  if(__wWd > 810)
  {
    __nWd = Math.round((__wWd - 185 - 282 - 100 - 20 - 20)/3);
    __nHg = 200;
  }

  for(var i = 0; i < nodeList.length; i++)
  {
    if(nodeList[i].className=='fpm_bl')
    {
      nodeList[i].style.width  = (__nWd+'Px');
      nodeList[i].style.height = (__nHg+'Px');
    }
  }
  document.getElementById('fpm').style.display = 'block';
}
window.onload = __App.init;
-->
