<!--
// author     "Mr.Moo"
// copyright  "のがりゅう"
// reply-to   "nogaryu@nifty.com"
// build      "2001.03.01"
// references "JavaScriptHANDBOOK applied compilation/SOFT BANK Publishing"
//

var tIDbs1 = 0;
var iwidth  = 300 + 5;
var iheight = 100 + 5;
var jwidthIE = 10;
var jwidthNN = 20;

var mheight = 120;


//　ロゴを常に右下に表示
function movebase(){
        clearTimeout(tIDbs1);
        if(document.all){
                document.all("logo").style.pixelLeft = document.body.scrollLeft + document.body.clientWidth  - iwidth - jwidthIE;
                document.all("logo").style.pixelTop = document.body.scrollTop + document.body.clientHeight - iheight;
                document.all("menu").style.pixelTop = document.body.scrollTop + mheight;
        }
        else if(document.layers){
                document.layers["logo"].left = pageXOffset + self.innerWidth  - iwidth - jwidthNN;
                document.layers["logo"].top = pageYOffset + self.innerHeight - iheight;
                document.layers["menu"].top = pageYOffset + mheight;
        }
        else if(document.getElementById){
                document.getElementById("logo").style.left = scrollX + self.innerWidth  - iwidth - jwidthNN;
                document.getElementById("logo").style.top = scrollY + self.innerHeight - iheight;
                document.getElementById("menu").style.top = scrollY + mheight;
        }
        tIDbs1 = setTimeout("movebase()",500);
}


//　前のページに戻る
function rtnbefore(){
        window.location=document.referrer;
}


//-->