function domain_docomo(url){
  window.open(url,'DoCoMo受信設定方法','width=400,height=510,outerHeight=550,scrollbars=yes,resizable=no');
}

function domain_au(url){
  window.open(url,'au受信設定方法','width=400,height=500,outerHeight=540,scrollbars=yes,resizable=no');
}

function domain_softbank(url){
  window.open(url,'SoftBank受信設定方法','width=400,height=660,outerHeight=710,scrollbars=yes,resizable=no');
}

function price(url){
  window.open(url,'料金表','width=450,height=500,outerHeight=550,scrollbars=yes,resizable=no');
}

/* scroll message */
var mess1;
var mess2;
mess1 = "　　　　　　　　　　　　　　　　　　　　";
mess2 = "待ち時間なし、アポイントメントあり　−−最寄りの喫茶店を知らせるだけで相手は時間を知らせてくれる　〜会社の帰り道、ランチのついでに　〜シークレットカフェは男女の交歓場。　。　";
mess = mess1 + mess2;

function strscroll_main(){
    setTimeout("strscroll_main()",220);
    mess = mess.substring(2,mess.length) + mess.substring(0,2);
    document.getElementById("mes").innerHTML = mess;
}

/* main time */
function Watch() {
  now = new Date();
  year = now.getYear();
  month = now.getMonth()+1;
  day = now.getDate();
  hour = now.getHours();
  minute = now.getMinutes();
  second = now.getSeconds();
  if (year < 1000) { year += 1900 }
  if (hour < 10) { hour = '0' + hour }
  if (minute < 10) { minute = '0' + minute }
  if (second < 10) { second = '0' + second }
  document.form.watch.value = year+'/' + month + '/' + day + '　'
  + hour + ':' + minute + ':' + second;
  setTimeout("Watch()",1000);
}
