


function sub_menu(){
	document.write("<div id='sub_menu'>");
	document.write("History Menu　 |　 <A HREF='index.html#1998'>1998-2005</A> 　|　 <A HREF='index.html#2006'>2006-2008</A> 　|　 <A HREF='index.html#2009'>2009-</A> 　|");
	document.write("</div>");
}







/* ===========（↓）CONTENT WORKS 1998-1999　一日一枚シリーズ　表示用 ===================　*/


function OpenWindow(string){
	myWin=window.open("",""," width=350, height=494, scrollbars=no, resizable=no");
	myWin.document.write("<HTML><HEAD><TITLE>MOZAIKO</TITLE></HEAD><BODY BACKGROUND=");
	myWin.document.write("'"+ string + ".gif' leftmargin='7' marginheight='7' marginwidth='7' topmargin='7'>");
	myWin.document.write("<CENTER>");
	myWin.document.write("<INPUT type='button' value='ウィンドウを閉じる' onClick='window.close()'></CENTER>");
	myWin.document.write("</BODY></HTML>");
	myWin.document.close();
	}


/* ===========（↓）CONTENT WORKS 1998-1999　超低解像度イラスト　表示用 ===================　*/

function OpenWindow2(string){
	myWin=window.open("",""," width=494, height=350, scrollbars=no, resizable=no");
	myWin.document.write("<HTML><HEAD><TITLE>MOZAIKO</TITLE></HEAD><BODY BACKGROUND=");
	myWin.document.write("'"+ string + ".gif' leftmargin='7' marginheight='7' marginwidth='7' topmargin='7'>");
	myWin.document.write("<CENTER>");
	myWin.document.write("<INPUT type='button' value='ウィンドウを閉じる' onClick='window.close()'></CENTER>");
	myWin.document.write("</BODY></HTML>");
	myWin.document.close();
	}



/* ===========（↓）CONTENT WORKS 1998-1999　超低解像度マンガ　表示用 ===================　*/


function OpenComic(string){
	myWin=window.open("",""," width=300, height=494, scrollbars=yes, resizable=no");
	myWin.document.write("<HTML><HEAD><TITLE>MOZAIKO</TITLE></HEAD><BODY BACKGROUND=");
	myWin.document.write("'"+ string + ".gif' leftmargin='7' marginheight='7' marginwidth='7' topmargin='7'>");
	myWin.document.write("<CENTER>");
	myWin.document.write("<INPUT type='button' value='ウィンドウを閉じる' onClick='window.close()'></CENTER><IMG SRC='data1/7grid/99comic0.gif'>");
	myWin.document.write("</BODY></HTML>");
	myWin.document.close();
	}




/* ===========（↓）CONTENT WORKS 2000-2002　EX.2D GIFアニメーション表示用 ===================　*/


imgnum=1;
function ChangeImage01(){
    if(imgnum==1){
        document.myimg01.src="data2/0/a_0007hall.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg01.src="data2/0/0007hall.gif";
        imgnum=1;
    }
}
function ChangeImage02(){
    if(imgnum==1){
        document.myimg02.src="data2/0/a_0102walk1.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg02.src="data2/0/0102walk1.gif";
        imgnum=1;
    }
}
function ChangeImage03(){
    if(imgnum==1){
        document.myimg03.src="data2/0/a_0102walk2.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg03.src="data2/0/0102walk2.gif";
        imgnum=1;
    }
}
function ChangeImage04(){
    if(imgnum==1){
        document.myimg04.src="data2/0/a_0102walk3.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg04.src="data2/0/0102walk3.gif";
        imgnum=1;
    }
}


function ChangeImage05(){
    if(imgnum==1){
        document.myimg05.src="data2/ex2d/a_ex2d_1a.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg05.src="data2/ex2d/ex2d_1a.gif";
        imgnum=1;
    }
}
function ChangeImage06(){
    if(imgnum==1){
        document.myimg06.src="data2/ex2d/a_ex2d_1b.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg06.src="data2/ex2d/ex2d_1b.gif";
        imgnum=1;
    }
}
function ChangeImage07(){
    if(imgnum==1){
        document.myimg07.src="data2/ex2d/a_ex2d_1c.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg07.src="data2/ex2d/ex2d_1c.gif";
        imgnum=1;
    }
}
function ChangeImage08(){
    if(imgnum==1){
        document.myimg08.src="data2/ex2d/a_ex2d_1d.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg08.src="data2/ex2d/ex2d_1d.gif";
        imgnum=1;
    }
}


function ChangeImage09(){
    if(imgnum==1){
        document.myimg09.src="data2/ex2d/a_ex2d_2a.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg09.src="data2/ex2d/ex2d_2a.gif";
        imgnum=1;
    }
}
function ChangeImage10(){
    if(imgnum==1){
        document.myimg10.src="data2/ex2d/a_ex2d_2b.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg10.src="data2/ex2d/ex2d_2b.gif";
        imgnum=1;
    }
}
function ChangeImage11(){
    if(imgnum==1){
        document.myimg11.src="data2/ex2d/a_ex2d_2c.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg11.src="data2/ex2d/ex2d_2c.gif";
        imgnum=1;
    }
}
function ChangeImage12(){
    if(imgnum==1){
        document.myimg12.src="data2/ex2d/a_ex2d_2d.gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg12.src="data2/ex2d/ex2d_2d.gif";
        imgnum=1;
    }
}



/* これは（↓）今後の開発用。ChangeImageをもう少し普遍的にしたいが、画像のNAME属性をどう自動変換する？　*/

function changeImage(string){
    if(imgnum==1){
        document.myimg.src="data2/0/a_" + string + ".gif";
        imgnum=2;
    }else if(imgnum==2){
        document.myimg.src="data2/0/" + string + ".gif";
        imgnum=1;
    }
}








/* ===========（↓）CONTENT WORKS 2000-2002　FLASHワークス表示用 ===================　*/

	function FlashWorks(num){
	myWin=window.open("",""," width=660, height=515, scrollbars=no, resizable=no");
	myWin.document.write("<HTML><HEAD><TITLE>MOZAIKO</TITLE></HEAD><BODY BGCOLOR=000000 LEFTMARGIN=0 TOPMARGIN=0>");
	myWin.document.write("<CENTER>");
	myWin.document.write("<INPUT type='button' value='ウィンドウを閉じる' onClick='window.close()'><BR>");
	myWin.document.write("<EMBED src='data2/flash/" + num + ".swf' quality=high bgcolor=#FFFFFF  WIDTH='640' HEIGHT='480' NAME='4' ALIGN='center' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
	myWin.document.write("</CENTER></BODY></HTML>");
	myWin.document.close();
	}








