/***************************************************************************
ポップアップウインド作成スプリクト　Ver 1.02

                             作成者 夕飯

****************************************************************************/





/*function 関数名(){
	nwin = window.open("リンク先の名前(ここではなにも書かない)", "名前","サイズ");
	nwin.document.open();
	nwin.document.write("タグ入力");
	nwin.document.write("<TITLE>タイトル</TITLE>");
	nwin.document.writeln("<BODY>");
	nwin.document.write("ここに文章");
	nwin.document.write("<IMG SRC=\"イメージリンク\">"); 
       nwin.document.write("ここに文章");	           
	nwin.document.write("</BODY></HTML>");
	nwin.document.close();

	return false;
      
}
*/

function test(){
	nwin = window.open("", "DINNER","width=320,height=300");
	nwin.document.open();
	nwin.document.write("<HTML>");
	nwin.document.write("<TITLE>テストテスト</TITLE>");
	nwin.document.writeln("<BODY>");
        nwin.document.write("<IMG SRC=\"test1.jpg\" width=\"320\" height=\"240\">"); 
	nwin.document.write("<BR>");
	nwin.document.write("これはサンプルです");
	nwin.document.write("</BODY></HTML>");
	nwin.document.close();

	return false; 
}

function newindow01(){
	nwin = window.open("", "Newwindow","top=160,left=420,width=310,height=310");
	nwin.document.open();
	nwin.document.write("<HTML>");
	nwin.document.write("<HEAD>");
	nwin.document.write("<meta http-equiv=\"content-type\" content=\"text/html;charset=x-sjis\">");
	nwin.document.write("<TITLE>今日の言葉の解説</TITLE>");
	nwin.document.write("</HEAD>");
	nwin.document.write("<BODY leftmargin=\"10\" topmargin=\"10\">");
	nwin.document.write("<td><div align=\"center\"><iframe src=\"http://www.kyobunsha.jp/parts/lightwords/kaisetsu-in.html\" width=\"280\" height=\"220\" frameborder=\"0\" scrolling=\"no\"></iframe></div></td>");
	nwin.document.write("<BR><BR>");
	nwin.document.write("<font style=\"font-size:12px; line-height:130%\">");
	nwin.document.write("<td><div align=\"center\"><iframe src=\"http://www.kyobunsha.jp/parts/lightwords/inyou-in.html\" width=\"280\" height=\"40\" frameborder=\"0\" scrolling=\"no\"></iframe></div></td>");
	nwin.document.write("</FONT>");
	nwin.document.write("</BODY></HTML>");
	nwin.document.close();

}
