// JavaScript Document
function subwin(url){
sbwin=
window.open(url,"newwin","width=750,height=850,location=0,scrollbars=1,resizable=1,menubar=0,toolbar=1,status=0");
}
function subwin2(url){
sbwin=
window.open(url,"newwin","width=1300,height=900,location=0,scrollbars=1,resizable=1,menubar=0,toolbar=1,status=0");
}

function CloseWin(){
window.close();
}

var scrj = 1;
function softScrollBack() {
   if(navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat") {
      var scdist = document.body.parentNode.scrollTop;
   } else {
      var scdist = document.body.scrollTop;
   }
   if(scrj<50 && scdist) {
      scdist = (scdist>2) ? Math.ceil(scdist*.2) : 1;
      scrj++;
      scrollBy(0,-scdist);
      setTimeout("softScrollBack()",30);
   } else {
      scrollTo(0,0);
      scrj = 1;
   }
}

<!--
// サブウィンドウから親ウィンドウのURLを変更する
function urlWindow01() {window.opener.location.href="../profile.html"}
function urlWindow02() {window.opener.location.href="../service.html"}
function urlWindow03() {window.opener.location.href="../recruiting.html"}
function urlWindow04() {window.opener.location.href="../shop.html"}
function urlWindow05() {window.opener.location.href="../howto/index.html"}
function urlWindow06() {window.opener.location.href="../gallery/index.html"}
