<!--

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_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_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];}
}

function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' e-mailアドレスの内容を確認してください。\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' 半角の数字のみを入力してください。\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+'を入力してください。\n'; }
} if (errors) alert('次の項目が未入力か、形式が違っています。\n'+errors);
document.MM_returnValue = (errors == '');
}



function roll(){
str = "";
for (i=0; i<5; i++) str += stf[i+cnt];
document.auto.automes.value = str;
cnt++;
if (cnt>=num-5) cnt=0;
clearTimeout(timeID);
timeID = setTimeout('roll()',600);
}

function resize() {
resizeTo(728,748) ;
}

function hanbai() {
window.open('hanbai.html','617x680','toolbar=yes,status=no,scrollbars=yes,location=no,menubar=no,directories=no,width=617,height=680 left=0,top=0')}
function topl() {
window.open('toplhelp.html','550x230','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=550,height=230 left=0,top=0')}
function cat() {
window.open('cathelp.html','550x230','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=550,height=230 left=0,top=0')}
function cat2() {
window.open('cathelp2.html','550x230','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=550,height=230 left=0,top=0')}
function map() {
window.open('maphelp.html','550x260','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=550,height=260 left=0,top=0')}
function help1() {
window.open('keisaihelp.html','500x800','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=500,height=800 left=0,top=0')}

var target = "s_list"; 

function jump(){ 
var url = document.form1.select.options[document.form1.select.selectedIndex].value; 

if(url != "" ){ 

if(target == 'top'){ 
top.location.href = url; 
} 
else if(target == 'blank'){ 
window.open(url, 'window_name'); 
} 
else if(target != ""){ 
eval('parent.' + target + '.location.href = url'); 
} 
else{ 
location.href = url; 
} 
window.focus();
} 

} 

function topFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="550">\n');
    document.write('<param name="movie" value="top.swf?t=1">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="top.swf?t=1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="550"></embed>\n');
    document.write('</object>\n');
}

function sale_topFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="320" height="500">\n');
    document.write('<param name="movie" value="sale_top.swf?t=1">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="sale_top.swf?t=1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="500"></embed>\n');
    document.write('</object>\n');
}

function top2FLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="550">\n');
    document.write('<param name="movie" value="top2.swf?t=1">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="top2.swf?t=1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="550"></embed>\n');
    document.write('</object>\n');
}

function okiniFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_infoFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_info.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_info.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_kamidanaFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_kamidana.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_kamidana.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_productFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_product.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_product.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_qaFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_qa.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_qa.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_contactFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_contact.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_contact.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}
function okini_sitemapFLASH()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="18">\n');
    document.write('<param name="movie" value="okini_sitemap.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="okini_sitemap.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="18"></embed>\n');
    document.write('</object>\n');
}

function menuFLASH()
{
thisurl = location.href ;
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="122" height="335">\n');
    document.write('<param name="movie" value="menu.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<PARAM NAME=FlashVars VALUE="url='+thisurl+'">\n');
    document.write('<embed src="menu.swf" quality="high" FlashVars="url='+thisurl+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="122" height="335"></embed>\n');
    document.write('</object>\n');
}

function fudaFLASH()
{
thisurl = location.href ;
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="210" height="225">\n');
    document.write('<param name="movie" value="fuda.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="fuda.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="210" height="225"></embed>\n');
    document.write('</object>\n');
}

function fuda2FLASH()
{
thisurl = location.href ;
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="210" height="225">\n');
    document.write('<param name="movie" value="fuda2.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="fuda2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="210" height="225"></embed>\n');
    document.write('</object>\n');
}




function SubmitImage() {
  document.form1.submit();
}
function SubmitImage2() {
  document.form2.submit();
}
function SubmitImage3() {
  document.form3.submit();
}
function SubmitImage4() {
  document.form4.submit();
}

function GetFlash() {
  window.open("http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&Lang=Japanese"); 
}

function showthis(obj) {
   if(!obj) return false;
   if(document.getElementById) {
      document.getElementById("1").style.display = "none";
      document.getElementById("2").style.display = "none";
      document.getElementById("3").style.display = "none";
      document.getElementById("4").style.display = "none";
      document.getElementById(obj).style.display = "block";
      document.getElementById("5").style.display = "none";
   } else {
      return false;
   }
}


function showthis2(obj) {
   if(!obj) return false;
   if(document.getElementById) {
      document.getElementById("0").style.display = "none";
      document.getElementById("1").style.display = "none";
      document.getElementById("2").style.display = "none";
      document.getElementById("3").style.display = "none";
      document.getElementById("4").style.display = "none";
      document.getElementById("5").style.display = "none";
      document.getElementById("6").style.display = "none";
      document.getElementById("7").style.display = "none";
      document.getElementById("8").style.display = "none";
      document.getElementById("9").style.display = "none";
      document.getElementById("10").style.display = "none";
      document.getElementById("11").style.display = "none";
      document.getElementById("12").style.display = "none";
      document.getElementById("13").style.display = "none";
      document.getElementById("14").style.display = "none";
      document.getElementById("15").style.display = "none";
      document.getElementById(obj).style.display = "block";
      document.getElementById("16").style.display = "none";
   } else {
      return false;
   }
}
function showthis3(obj) {
   if(!obj) return false;
   if(document.getElementById) {
      document.getElementById("a").style.display = "none";
      document.getElementById("b").style.display = "none";
      document.getElementById("c").style.display = "none";
      document.getElementById("d").style.display = "none";
      document.getElementById("e").style.display = "none";
      document.getElementById("f").style.display = "none";
      document.getElementById("g").style.display = "none";
      document.getElementById("h").style.display = "none";
      document.getElementById("i").style.display = "none";
      document.getElementById("j").style.display = "none";
      document.getElementById("k").style.display = "none";
      document.getElementById("l").style.display = "none";
      document.getElementById(obj).style.display = "block";
      document.getElementById("m").style.display = "none";
   } else {
      return false;
   }
}

flg=true;
function Blink(){
if(flg){
document.getElementById("msgid2").innerHTML="<font color='#FF0000'><b>↑↑クリックして紹介ページへ↑↑</b></font>";
}else{
document.getElementById("msgid2").innerHTML="";
}
flg=!flg;
setTimeout("Blink()",1000);
}

//-->
