<!--
function swImg(iName,str)
{
  document.images[iName].src = str;
}

function wopen(PNAME) {
        wx=750;
        wy=screen.height-55;
        x=(screen.width  - wx)-10;
        y=0;
        subwin = window.open("../active/winsubcall.cfm?PNAME=" + PNAME ,PNAME,"width=750,scrollbars=yes,location=no,menubar=no,top="+y+",left="+x+",height="+wy);}
function wopens(PNAME) {
        wx=750;
        wy=screen.height-55;
        x=(screen.width  - wx)-10;
        y=0;
        subwin = window.open("active/winsubcall.cfm?PNAME=" + PNAME ,PNAME,"width=750,scrollbars=yes,location=no,menubar=no,top="+y+",left="+x+",height="+wy);}

function bbswopen() {
        sw = screen.availwidth-580 ;
        sh = screen.availheight-500 ;
        w1 = window.open("imgdisp.cfm", "102","titlebar=no,toolbar=no,menubar=no,directories=no,scrollbars=no,resizable=yes,width=570,height=470,left="+sw+",top="+sh);
      }
function micon(n){document.kakiko.mi.src = n;} 
function bbswo(){
                 window.open("bbswo.cfm","bbswo","width=600,height=520,scrollbars=no,location=no,menubar=no,left=300,top=190");}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function popUp(url) {
					sealWin=window.open(url,"win",'toolbar=0,location=1,directories=0,status=1,menubar=1, scrollbars=1,resizable=1,width=500,height=450');
					self.name = "mainWin"; }

function LogOffsw(id){
	theDay = 0;
	setDay = new Date();
	setDay.setTime(setDay.getTime()+(theDay*1000*60*60*24));
	expDay = setDay.toGMTString();
	document.cookie = "RIGHTS=0;expires="+expDay;
	document.cookie = "RP=0;expires="+expDay;
	document.cookie = "NGV=0;expires="+expDay;
  location.href="logoff.cfm?ID="+id;
}

function macheck(n)
{
  txt = n;
  data = txt.match(/^\S+@\S+\.\S+$/);
  if (!data) alert("メールアドレスを正しく入力して下さい");
}

function ccp(cname,cvalue) {
  if(cvalue=="up"){
     if(document.all(cname).value<999){document.all(cname).value=eval(document.all(cname).value) + 1;}
      };
  else{
       if(document.all(cname).value > 1){document.all(cname).value=eval(document.all(cname).value) - 1;}
      };
}

function regoback(){
            wg = window.open("../shop/regoback.cfm", "re", "alwaysRaised=yes,z-locl=yes,locationvar=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,resizable=yes,width=50,height=50,left=1300,top=1030");
            top.location.href = "http://intertrade.jp/";
          }

function melmaga(){
  n=document.all("melmagamail").value;
  txt = n;
  data = txt.match(/^\S+@\S+\.\S+$/);
  if (!data) {alert("メールアドレスを正しく入力して下さい");}
         else{location.href="http://intertrade.jp/index.cfm?melmaga="+n}
}
// -->

function movk(i){
  i=i*2+4;
  tagList = document.all.tags("td");
  tagList[i].style.backgroundColor = "DA094E";
  tagList[i].style.color = "white";
  document.body.style.cursor= "hand"
}
function motk(i){
  i=i*2+4;
  tagList = document.all.tags("td");
  tagList[i].style.backgroundColor = "white";
  tagList[i].style.color = "DA094E";
  document.body.style.cursor= "auto"
}
function mclk(i){
  if(i==5){location.href="javascript:history.back();"};
  if(i==6){location.href="javascript:history.forward();"};
}


