var fish = new Array(47);
var veget = new Array(13);
var meat = new Array(10);
var other = new Array(86);
var otherBunrui = new Array(81);

function prevset(){
linkto = "index.shtml";
}

function JumpPage(url){
location.href=url;
}

function fish_link(){
        linkno = document.kuromon.fish.selectedIndex;
        linkto = document.kuromon.fish.options[linkno].value;
        if(document.kuromon.fish.selectedIndex > 0)
          { document.kuromon.Setsumei.value=fish[document.kuromon.fish.selectedIndex]; }
        
        document.kuromon.veget.selectedIndex = 0;
        document.kuromon.meat.selectedIndex = 0;
        document.kuromon.other.selectedIndex = 0;
}

function veget_link(){
        linkno = document.kuromon.veget.selectedIndex;
        linkto = document.kuromon.veget.options[linkno].value;
        if(document.kuromon.veget.selectedIndex > 0)
          { document.kuromon.Setsumei.value=veget[document.kuromon.veget.selectedIndex]; }

        document.kuromon.fish.selectedIndex = 0;
        document.kuromon.meat.selectedIndex = 0;
        document.kuromon.other.selectedIndex = 0;
}

function meat_link(){
        linkno = document.kuromon.meat.selectedIndex;
        linkto = document.kuromon.meat.options[linkno].value;
        if(document.kuromon.meat.selectedIndex > 0)
          { document.kuromon.Setsumei.value=meat[document.kuromon.meat.selectedIndex]; }

        document.kuromon.fish.selectedIndex = 0;
        document.kuromon.veget.selectedIndex = 0;
        document.kuromon.other.selectedIndex = 0;
}

function other_link(){
        linkno = document.kuromon.other.selectedIndex;
        linkto = document.kuromon.other.options[linkno].value;
        if(document.kuromon.other.selectedIndex > 0)
          { document.kuromon.Setsumei.value=other[document.kuromon.other.selectedIndex]; }

        document.kuromon.fish.selectedIndex = 0;
        document.kuromon.veget.selectedIndex = 0;
        document.kuromon.meat.selectedIndex = 0;
}

function popUpCenteredWindow() { 
var iMyWidth; 
var iMyHeight; 
iMyWidth = (window.screen.width/2) - (122 + 10); 
iMyHeight = (window.screen.height/2) - (27 + 50); 
var win2 = window.open('popsrch.phtml','Search','height=320,width=270,resizable=no,menubar=no,directories=no,location=no,left=' + iMyWidth + ',top=' + iMyHeight + ',screenX=' + iMyWidth + ',screenY=' + iMyHeight + ',scrollbars=no'); 
win2.focus(); 
} 

if (navigator.appVersion > "3") {
img0 = new Image(); img0.src = "img/left_b0.gif";
img1 = new Image(); img1.src = "img/left_b0b.gif";
}
function imgChange(imgName,imgNum) {
if (navigator.appVersion > "3") {
document.images[imgName].src = eval(imgNum + ".src");
}}

function openWin(url)
{
	madoName = "SHOP";
	fileName = url;
	Profile=window.open(fileName,madoName,"width=560,height=500,resizable=yes,scrollbars=yes,menubar=no,directories=no,status=yes,location=no,toolbar=no");
	if(navigator.appName == "Netscape"){
	SHOP.focus();
	}
	void(0);
}

function  Modoru(MotoW) {
	if (opener.closed) {
		NewW=window.open("","MWindow");
		NewW.location.href=MotoW;
	}
	else { self.close() }
}

function  Akeru(urls) {
		NewW=window.open("","AkeruW",'width=650,height=500,left=50,top=50');
		NewW.location.href=urls;
}

function  ShiteiMap(NewMap) {
	if (opener.closed) {
		NewW=window.open("","MWindow");
		NewW.location.href=NewMap;
	}
	else { 
        opener.location.href=NewMap;
    }
self.close()
}


