if(navigator.appVersion.charAt(0) >= "3"){
  img = new Array();
  img[0] = new Image; img[0].src = "../vinyl-images/vs-block.gif";
  img[1] = new Image; img[1].src = "../vinyl-images/vs-block-blgr1.gif";
}
function chg_img(a,b){
  if(navigator.appVersion.charAt(0) >= "3"){
    document.images["img" +a].src=img[b].src;
  }
}

function timer(a, b, t) {
setTimeout("chg_img("+a+","+b+")", t);
}
function goURL()
	{
			location = "topic/this-week.html";
}

function show(id, flag) {
  if (document.all) {
    document.all.item(id).style.visibility = "visible";
  }
  if (document.layers) {
    document.layers[id].visibility = "show";
  }
}
function timerjump() {
setTimeout("goURL()", 500); 
}

  function newwindow() {
window.open("machigai-yuurei.html","Newwind","toolbar=No,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,height=200,top=120,left=0");
}

//■■■ 「width=280,height=200,top=120,left=88」の「width=280,」を削除、「left=88」をゼロに修正（大画面時代にポップアップがあまりに左寄りなので）
//■■■ line24-26を修正（zzz-index-20030104.htmlより転載）→しかし「正解」表示は上手くいかず。

//■■■ Mac用のスタイルシートを読ませる（トップページのみ関係）
 if(navigator.platform.indexOf("Mac") != -1)
  {
    cssSrc = "<link rel='stylesheet' type='text/css' href='style/style-vinylmac.css'>";
  document.write(cssSrc);
  }




