function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var iValue, rNumber;
var img1 = new Image();
var img2 = new Image();
img1 = "img/content_ph_key01.jpg";
img2 = "img/content_ph_key02.jpg";
function display_image(){
	iValue = Math.random() * 2;
	rNumber = Math.ceil(iValue);
	if(rNumber==0) rNumber++;
	document.key.src=eval("img" + rNumber);
}

/* jct_ic_a.html */

function jumpMenu_jct_ic_a(tf) {  
	if (tf.goArea.selectedIndex ==  1) {location.href="kobenishi.html"}
	if (tf.goArea.selectedIndex ==  2) {location.href="fusehata.html"}
	if (tf.goArea.selectedIndex ==  3) {location.href="/cgi-bin/use/jct_ic.cgi?map=tarumi01"}
	if (tf.goArea.selectedIndex ==  4) {location.href="/cgi-bin/use/jct_ic.cgi?map=awaji01"}
	if (tf.goArea.selectedIndex ==  5) {location.href="higashiura.html"}
	if (tf.goArea.selectedIndex ==  6) {location.href="hokudan.html"}
	if (tf.goArea.selectedIndex ==  7) {location.href="tsunaichinomiya.html"}
	if (tf.goArea.selectedIndex ==  8) {location.href="sumoto.html"}
	if (tf.goArea.selectedIndex ==  9) {location.href="seidanmihara.html"}
	if (tf.goArea.selectedIndex == 10) {location.href="awajishimaminami.html"}
	if (tf.goArea.selectedIndex == 11) {location.href="narutokita.html"}
	if (tf.goArea.selectedIndex == 12) {location.href="naruto.html"}
}

/* jct_ic_d.html */

function jumpMenu_jct_ic_d(tf) {  
	if (tf.goArea.selectedIndex ==  1) {location.href="hayashima.html"}
	if (tf.goArea.selectedIndex ==  2) {location.href="mizushima.html"}
	if (tf.goArea.selectedIndex ==  3) {location.href="kojima.html"}
	if (tf.goArea.selectedIndex ==  4) {location.href="sakaidekita.html"}
	if (tf.goArea.selectedIndex ==  5) {location.href="sakaide.html"}
}

/* jct_ic_e.html */

function jumpMenu_jct_ic_e(tf) {  
	if (tf.goArea.selectedIndex ==  1) {location.href="nishisetoonomichi.html"}
	if (tf.goArea.selectedIndex ==  2) {location.href="onomichiohashideiriguchi.html"}
	if (tf.goArea.selectedIndex ==  3) {location.href="mukaishima.html"}
	if (tf.goArea.selectedIndex ==  4) {location.href="innoshimakita.html"}
	if (tf.goArea.selectedIndex ==  5) {location.href="innoshimaminami.html"}
	if (tf.goArea.selectedIndex ==  6) {location.href="ikuchijimakita.html"}
	if (tf.goArea.selectedIndex ==  7) {location.href="ikuchijimaminami.html"}
	if (tf.goArea.selectedIndex ==  8) {location.href="omishima.html"}
	if (tf.goArea.selectedIndex ==  9) {location.href="hakatajima.html"}
	if (tf.goArea.selectedIndex == 10) {location.href="oshimakita.html"}
	if (tf.goArea.selectedIndex == 11) {location.href="oshimaminami.html"}
	if (tf.goArea.selectedIndex == 12) {location.href="imabarikita.html"}
	if (tf.goArea.selectedIndex == 13) {location.href="imabari.html"}
}

/* CS */
function cs(url){ 
window.open(url, "cs", "width=650,height=650,scrollbars=yes");
}
