// 最終更新日付の書き出し
function last_modified()
{
  dd = new Date(document.lastModified);
  yy = dd.getYear();
  mm = dd.getMonth() + 1;
  dd = dd.getDate();
  if( yy<200 ){
    yy += 1900;
  }
  document.write("Last modified: " + yy + "/" + mm + "/" + dd);
}

// ページの所在を書き出し
function location_href(file)
{
  var Location = window.location;
  var str = "This page is \"";
  str += Location.protocol;
  str += "//";
  str += Location.hostname;	// 実際（正確な）のURLはどうやって取得する？
  str += Location.pathname;
  temp = Location.pathname;
  n = temp.lastIndexOf(file);
  if( n == -1 ) {
    str += file;				// 指定せずに済む方法はない？
  }
  str += "\"";
  document.write(str);
}

// 問い合わせ方法の書き出し
function contact_me(mailto)
{
  var str = "Contact <a href=mailto:\"";
	str += mailto;
	str += "\">";
	str += mailto;
	str += "</a> with questions regarding this site.";
  document.write(str);
}

// 問い合わせ方法の書き出し
function contact_us()
{
  var str = "Contact <a href=\"mailto:support.nao4u.com\" title=\"nao4uに関するメールはこちらまで\">support@nao4u.com</a> with questions regarding this site.";
  document.write(str);
}

function copyright()
{
  var str = "Copyright &copy 2004-2008 nao4u All rights reserved.";
  document.write(str);
}
function return_home()
{
  var str = "<a href=\"/\">TopPage</a>";
  document.write(str);
}
function jump_to_mainsite()
{
  var str = "Jump to main website <a href=\"http://nao4u.com/\">http://nao4u.com/</a>";
  document.write(str);
}

