<!--
function setbacktotoptimeout() {
    setTimeout('parent.frames[0].open_top()',600000);
}
function setpagebacktimeout() {
    setTimeout('history.back()',600000);
}
function showbusy(){
  var obj, offsetY;
  MM_showHideLayers('BusyLayer','','show','BaseLayer','','hide');
  //MM_showHideLayers('BusyLayer','','show');
  if ((obj=MM_findObj('BusyLayer'))!=null) {
    if ((offsetY = self.pageYOffset)!=null ) {
      if(document.layers){ // NN4
        setTimeout('obj.style.top = ' + offsetY,500);
      }else{ // NN6, Opera
        obj.style.top = offsetY;
      }
    }else{ // IE
      if (obj.runtimeStyle) { // WIN
        obj.runtimeStyle.top = document.body.scrollTop;
      } else { // MAC
      	if (obj.style) obj.style.top = document.body.scrollTop;
      }
    }
  }
}
function getINNERWIDTH(){
  var pageWIDTH=null
  if(document.layers) pageWIDTH=window.innerWidth         //NN用
  if(document.all)    pageWIDTH=document.body.clientWidth //IE用
    return pageWIDTH
}
function getINNERHEIGHT(){
  var pageHEIGHT=null
  if(document.layers) pageHEIGHT=window.innerHeight         //NN用
  if(document.all)    pageHEIGHT=document.body.clientHeight //IE用
    return pageHEIGHT
}
function getScreenWIDTH() {
    //if(document.layers||document.all) {
        return window.screen.width;  //NN,IE共用
    //}
}
function getScreenHEIGHT() {
    //if(document.layers||document.all) {
        return window.screen.height;  //NN,IE共用
    //}
}
function resizeToWIN(widthPx,heightPx,oj) {
    var nw=-1;
    var nm=-1;
    var nu=-1;
    if(document.all) {  //--環境別微修正
        nw=navigator.userAgent.indexOf('Win');
        nm=navigator.userAgent.indexOf('Mac');
        nu=navigator.userAgent.indexOf('X11');
        
        if(nw!=-1) {
            widthPx  += 12;
            heightPx += 137;
        }
        if(nm!=-1) {
            widthPx += 0;
            heightPx -= 0;
        }
        if(nu!=-1) {
            widthPx +=0;
            heightPx -= 0;
        }
    }
    if(document.layers||document.all) {
        if(!oj) {
            oj=self;
        }
        oj.resizeTo(widthPx,heightPx); //NN,IE共用
        if(nm!=-1) {
            oj.location.reload(0); //Macはreloadでresizeバグ回避
        }
    }
    if(document.getElementById) { //NN6
        if(!oj) {
            oj=self;
        }
        oj.resizeTo(widthPx,heightPx);
    }
}
//-->

