// JavaScript Document
var Img = new Array(77);
var h_URL = "http://www.viva-ugu.com/";

Img[0]	= h_URL + "images/mb_top01.gif";
Img[1]	= h_URL + "images/mb_gourmet01.gif";
Img[2]	= h_URL + "images/mb_bar01.gif";
Img[3]	= h_URL + "images/mb_beauty01.gif";
Img[4]	= h_URL + "images/mb_night01.gif";
Img[5]	= h_URL + "images/mb_leisure01.gif";
Img[6]	= h_URL + "images/mb_hotel01.gif";
Img[7]	= h_URL + "images/mb_fuzoku01.gif";
Img[8]	= h_URL + "images/mb_parking01.gif";
Img[9]	= h_URL + "images/mb_others01.gif";
Img[10]	= h_URL + "images/mb_map01.gif";
Img[11]	= h_URL + "images/mb_top02.gif";
Img[12]	= h_URL + "images/mb_gourmet02.gif";
Img[13]	= h_URL + "images/mb_bar02.gif";
Img[14]	= h_URL + "images/mb_beauty02.gif";
Img[15]	= h_URL + "images/mb_night02.gif";
Img[16]	= h_URL + "images/mb_leisure02.gif";
Img[17]	= h_URL + "images/mb_hotel02.gif";
Img[18]	= h_URL + "images/mb_fuzoku02.gif";
Img[19]	= h_URL + "images/mb_parking02.gif";
Img[20]	= h_URL + "images/mb_others02.gif";
Img[21]	= h_URL + "images/mb_map02.gif";

Img[22]	= h_URL + "images/sb_gourmet01.gif";
Img[23]	= h_URL + "images/sb_bar01.gif";
Img[24]	= h_URL + "images/sb_beauty01.gif";
Img[25]	= h_URL + "images/sb_night01.gif";
Img[26]	= h_URL + "images/sb_leisure01.gif";
Img[27]	= h_URL + "images/sb_hotel01.gif";
Img[28]	= h_URL + "images/sb_fuzoku01.gif";
Img[29]	= h_URL + "images/sb_parking01.gif";
Img[30]	= h_URL + "images/sb_others01.gif";
Img[31]	= h_URL + "images/sb_map01.gif";
Img[32]	= h_URL + "images/sb_gourmet02.gif";
Img[33]	= h_URL + "images/sb_bar02.gif";
Img[34]	= h_URL + "images/sb_beauty02.gif";
Img[35]	= h_URL + "images/sb_night02.gif";
Img[36]	= h_URL + "images/sb_leisure02.gif";
Img[37]	= h_URL + "images/sb_hotel02.gif";
Img[38]	= h_URL + "images/sb_fuzoku02.gif";
Img[39]	= h_URL + "images/sb_parking02.gif";
Img[40]	= h_URL + "images/sb_others02.gif";
Img[41]	= h_URL + "images/sb_map02.gif";

Img[42]	= h_URL + "images/sb_sitemap01.gif";
Img[43]	= h_URL + "images/sb_inquiry01.gif";
Img[44]	= h_URL + "images/sb_sitemap02.gif";
Img[45]	= h_URL + "images/sb_inquiry02.gif";

Img[46]	= h_URL + "images/sb_grthe01.gif";
Img[47]	= h_URL + "images/sb_judge01.gif";
Img[48]	= h_URL + "images/sb_interview01.gif";
Img[49]	= h_URL + "images/sb_people01.gif";
Img[50]	= h_URL + "images/sb_horo01.gif";
Img[51]	= h_URL + "images/sb_kuchikomi01.gif";
Img[52]	= h_URL + "images/sb_grthe02.gif";
Img[53]	= h_URL + "images/sb_judge02.gif";
Img[54]	= h_URL + "images/sb_interview02.gif";
Img[55]	= h_URL + "images/sb_people02.gif";
Img[56]	= h_URL + "images/sb_horo02.gif";
Img[57]	= h_URL + "images/sb_kuchikomi02.gif";

Img[58]	= h_URL + "images/sb_story01.gif";
Img[59]	= h_URL + "images/sb_walk01.gif";
Img[60]	= h_URL + "images/sb_story02.gif";
Img[61]	= h_URL + "images/sb_walk02.gif";

Img[62]	= h_URL + "images/sb_itiosi01.gif";
Img[63]	= h_URL + "images/sb_itiosi02.gif";

Img[64]	= h_URL + "images/sb_beppin01.gif";
Img[65]	= h_URL + "images/sb_beppin02.gif";

Img[66]	= h_URL + "images/sb_toku01.gif";
Img[67]	= h_URL + "images/sb_toku02.gif";

Img[68]	= h_URL + "images/sb_back01.gif";
Img[69]	= h_URL + "images/sb_back02.gif";

Img[70]	= h_URL + "images/sb_sozoro01.gif";
Img[71]	= h_URL + "images/sb_sozoro02.gif";

Img[72]	= h_URL + "images/sb_diary01.gif";
Img[73]	= h_URL + "images/sb_diary02.gif";

Img[74]	= h_URL + "images/sb_link01.gif";
Img[75]	= h_URL + "images/sb_link02.gif";

Img[76]	= h_URL + "images/sb_toku05.gif";
Img[77]	= h_URL + "images/sb_toku06.gif";

function IconChange(ImgName,imgNo1){
	if(navigator.appVersion.charAt(0)>=3){
		document.images[ImgName].src=Img[imgNo1]; 
	}
}

function ImageChange(imgNo,imgChangeNo){
	if(navigator.appVersion.charAt(0)>=3){
		document.images[imgChangeNo].src=Img[imgNo]; 
	}
}

function jump(page) {
	location.href = page;
}

function OpenPopWindow(FileName,Xsize,Ysize){
	subwin = window.open('', 'MiniWindow', 'scrollbars=yes,width='+Xsize+',height='+Ysize);
	if (subwin){
		subwin.moveTo(0,0);
		subwin.location = FileName;
	}
}

function VeiwAlert(Fname){
	if (window.confirm('削除してもよろしいですか？')) {
		document.forms[Fname].submit();
	}
}

function UpAlert(formN){
	if (window.confirm('本アップしてもよろしいですか？')) {
		document.forms[formN].submit();
	}
}

function submitForm(formname) {
	document.forms[formname].button.disabled = true;
	submitForm = disableButton;
	document.forms[formname].submit();
	return false;
}

function disableButton() {
	alert('処理中です。しばらくお待ち下さい。');
	return false;
}