// JavaScript Document

//ポップアップウィンドウ
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function fader(layName) { //arg は 0 〜 1、0は透明、1は不透明。
  var ua = navigator.userAgent;
  if(document.all) {  //Win版e5,e6
    if(document.getElementById(layName).filters.alpha.opacity == 50)
      {
        document.getElementById(layName).filters.alpha.opacity = 100;
      }
    else
      {
        document.getElementById(layName).filters.alpha.opacity = 50;
      }
  }
}
