
// 挨拶
function greeting(){
  myDate = new Date();
  h = myDate.getHours();
  if((h >= 5) && (h < 10)  ){
    document.write("おはようございます ");
  }
  else if((h >= 10) && (h < 18)  ){
    document.write("こんにちは ");
  }
  else if((h >= 18) || (h < 5)  ){
    document.write("こんばんは ");
  }
}

// New Window Open
// ヘルプ用
function WinOpen(JumpUrl) {
	window.open(JumpUrl, "HelpMenu", "scrollbar=yes,width=280,height=540");
}

// New Window Open
// 会員情報用
function WinOpen2(JumpUrl) {
	window.open(JumpUrl, "HelpMenu", "scrollbar=yes,width=280,height=300");
}

// New Window Open
// ログイン用
function WinOpen3(JumpUrl) {
	window.open(JumpUrl, "LOGIN", "scrollbar=yes,width=400,height=180");
}

// New Window Open
// 問い合わせ用1
function WinOpen4(JumpUrl) {
	window.open(JumpUrl, "Q", "scrollbar=yes,width=550,height=550");
}

// Date Disp
function DateDisp() {
	weeks=new Array("日","月","火","水","木","金","土")
	today = new Date();
	y = today.getFullYear();
	m = today.getMonth() + 1;
	d = today.getDate();
	w = weeks[today.getDay()];
	document.write(y ,"年");
	document.write(m ,"月");
	document.write(d ,"日 ");
	document.write(w ,"曜日");
}

