/* 住所検索ウィンドウを開くためのスクリプト SC add start */
function getvalueFrm(){
  formname = "form";
  zip = document.form.zip.value;
  url = "../customer/addrsearch.aspx?zip=" +  zip + "&formname=" + formname;

  opw(url,'master','500','300','no');
}

function getvalueFrmTrial(){
  formname = "FrmTrial";
  zip = document.FrmTrial.zip.value;
  url = "../customer/addrsearch.aspx?zip=" +  zip + "&formname=" + formname;

  opw(url,'master','500','300','no');
}

function getvalueFrmTrialDest(){
  formname = "FrmTrial";
  zip = document.FrmTrial.d_zip.value;
  url = "../customer/addrsearch.aspx?dest_zip=" +  zip + "&formname=" + formname;

  opw(url,'master','500','300','no');
}

function getvalueFrmSample(){
  formname = "FrmSample";
  zip = document.FrmSample.zip.value;
  url = "../customer/addrsearch.aspx?zip=" +  zip + "&formname=" + formname;

  opw(url,'master','500','300','no');
}

function getvalueFrmSampleDest(){
  formname = "FrmSample";
  zip = document.FrmSample.d_zip.value;
  url = "../customer/addrsearch.aspx?dest_zip=" +  zip + "&formname=" + formname;

  opw(url,'master','500','300','no');
}

function opw(url, windowname, width, height, toolbar) {
    window.status='Loading...';
    var t=new Date();
    var oWin = window.open(url,windowname,'width=' + width + ',height=' + height + ',toolbar=' + toolbar + ',location=no,directories=no,scrollbars=yes,resizable=yes,status=yes');
    if (oWin == null) { window.alert('再度クリックしてください'); return false; };
    oWin.focus();window.self.status='';
    return false;
}

/* 住所検索ウィンドウを開くためのスクリプト   add end */
function formSubmit(){
	return true;
}

