// JavaScript Document
	  

<!--
myMsg = "今年も椎茸栽培始めました。** ** ** ** (2010/12/18 kyon.C)** ** ** ** ";
myMsg = myMsg + myMsg;
myCnt = 0;
function myFunc(){
  document.myForm.myFormMes.value = myMsg.substring(myCnt,myMsg.length);
  myCnt = ( myCnt == (myMsg.length/2)-1 ) ? 0 : myCnt+1;
}
// --></SCRIPT>

<!--
setInterval("myFunc()",200);
// -->



function OpeningFlash(){
		  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="550" title="オープニングフラッシュ">');
          document.write('<param name="movie" value="images/opening.swf" />');
          document.write('<param name="quality" value="high" />');
          document.write('<embed src="images/opening.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="550">');
		  document.write('</embed>');
		  document.write('</object>');
		  }			
		  

function FlashMenu(){
		  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="115" title="メインメニュー">');
          document.write('<param name="movie" value="images/indexmenu.swf" />');
          document.write('<param name="quality" value="high" />');
          document.write('<embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="115">');
		  document.write('</embed>');
		  document.write('</object>');
		  }			


function ProfileMenu(){
		　document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="185" title="menu">')
		  document.write('<param name="movie" value="images/profilemenu.swf" />');
  		  document.write('<param name="quality" value="high" />');
  		  document.write('<embed src="images/profilemenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="185">');
		  document.write('</embed>');
          document.write('</object>');
		  }



function PastimeMenu(){
		　document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="185" title="menu">')
		  document.write('<param name="movie" value="images/pastimemenu.swf" />');
  		  document.write('<param name="quality" value="high" />');
  		  document.write('<embed src="images/pastimemenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="185">');
		  document.write('</embed>');
          document.write('</object>');
		  }


function BlogMenu(){
			document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="185" title="menu">');
  			document.write('<param name="movie" value="images/blogmenu.swf" />');
  			document.write('<param name="quality" value="high" />');
  			document.write('<embed src="images/blogmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="185">');
			document.write('</embed>');
			document.write('</object>');
			}
	
	
function NovelMenu(){
			document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="185" title="menu">');
  			document.write('<param name="movie" value="images/novelmenu.swf" />');
  			document.write('<param name="quality" value="high" />');
  			document.write(' <embed src="images/novelmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="185">');
			document.write('</embed>');
			document.write('</object>');
			}

function VietnamFlash(){
			document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="270" height="200" title="ベトナムの空Flash">');
            document.write('<param name="movie" value="images/vietnam sky.swf" />');
            document.write('<param name="quality" value="high" />');
            document.write('<embed src="images/vietnam sky.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="270" height="200">');
			document.write('</embed>');
			}

function Welcome(){
	now=new Date();
	nowhours=now.getHours();
	tag1='<p  class="massage">';
	tag2="</p>"
	msg2="!　WELCOME!";

	if(nowhours<=3){
		msg="Good evening";
	}else if(nowhours<=10)
	{
		msg="Good morning";
	}else if(nowhours<=17)
	{
		msg="Good afternoon";
	}else{
		msg="Good evening";
	}
			document.write(tag1+msg+msg2+tag2);
	}


function Writer(){
	win=window.open("to_writer.html","win","menubar=0 toolbar=0");
	win.resizeTo(520,560);
	win.moveTO(150,100);
				}

function Press(){
	win=window.open("to_editor.html","win","menubar=0 toolbar=0");
	win.resizeTo(520,560);
	win.moveTO(50,10);
				}

function Link(){
	win=window.open("link.html","win","menubar=0 toolbar=0");
	win.resizeTo(520,610);
	win.moveTO(50,10);
				}
	
function Condition(){
	win=window.open("condition.html","win","menubar=0 toolbar=0");
	win.resizeTo(520,560);
	win.moveTO(50,10);
	
	}
	
function Contact(){
	win=window.open("contact.html","win","menubar=0 toolbar=0");
	win.resizeTo(520,600);
	win.moveTO(50,10);
	
	}	
				
function Shortshort(){
	win=window.open("short-short-kumoshiki.html","win","menubar=0 toolbar=1");
	win.resizeTo(800,1800);
	win.moveTO(150,100);
				}

function Close(){
	window.close();
	}


function back(){
	 history.go(-1);
	}
	


