// JavaScript Document

function img1(n1, state1) {
        if (NNCheck()){
                document.images[n1].src = "/image/" + n1 + state1 + ".gif";
        }
}
function img2(n2, state2) {
        if (NNCheck()){
                document.images[n2].src = "/image/" + n2 + state2 + ".gif";
        }
}

function NNCheck() {
        var browser  = navigator.appName;
        var version  = navigator.appVersion.substring(0,1);
        if ((browser == "Netscape" && 2 < version)
        || (browser == "Microsoft Internet Explorer" && 3 < version)) {
                return true;
        } else {
                return false;
        }
}

function openWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function openShiryo(shiryo)
{
	window.open(shiryo, "_blank", "width=520,height=600,toolbar=0,menubar=0,location=0,directories=0,status=0,scrollbars=1,resizable=1");
}
