function Yoursign(birthform) {
    var inYY= 0;
    var inMM= 0;
    var inDD= 0;
    var FL= 0;

    MonthDay = new Array(13);
    MonthDay[0] = 0;
    MonthDay[1] = 31;
    MonthDay[2] = 29;
    MonthDay[3] = 31;
    MonthDay[4] = 30;
    MonthDay[5] = 31;
    MonthDay[6] = 30;
    MonthDay[7] = 31;
    MonthDay[8] = 31;
    MonthDay[9] = 30;
    MonthDay[10] = 31;
    MonthDay[11] = 30;
    MonthDay[12] = 31;

    in_date = new Date();
    var inYY = birthform.NEN.value;
    var inMM = birthform.TUKI.value;
    var inDD = birthform.HI.value;
    var w = 0;
     inYY = Math.abs(inYY);
     inMM = Math.abs(inMM);
     inDD = Math.abs(inDD);

    if ( inYY < 1911) {
	alert("西暦1911年以降を入力して下さい") ; 
	return -1;
    }
    if ( inMM > 0 && inMM < 13) {}
    else{
	alert("月の値を正しく入力して下さい") ; 
	return -1;
    }

    if ( inDD > 0 && inDD < MonthDay[inMM]+1) {}
   else{
	alert("日の値を正しく入力して下さい") ; 
	return -1;
   }
     w = window.open('','w','scrollbars=1,status=0,resizable=1,toolbar=0,menubar=0,location=0,width=650,height=720');
    w.document.clear();
    w.document.write('<HTML><HEAD><TITLE>銀河の署名</TITLE><META http-equiv="Content-Type" content="text/html; charset=x-sjis"><LINK rel="stylesheet" href="../utarun.css"></HEAD><BODY bgcolor=#FFFFFF>');
    w.document.write('<IMG SRC="../image/tittle.jpg" WIDTH="430" HEIGHT="61"><P><DIV ALIGN=CENTER>Ｇ暦 '+inYY+'年'+inMM+'月'+inDD+'日生まれのあなたの銀河の署名は');

   var Ms = monsyou(kin(inYY,inMM,inDD));
   var Ot = ontei(kin(inYY,inMM,inDD));

   w.document.write('<P>KIN:',kin(inYY,inMM,inDD),'<BR>');
   w.document.write("<span class=BIG>「"+Ms1[Ms]+OtG[Ot]+Ms2[Ms]+"」<BR>");
   w.document.write(Ms1e[Ms]+" "+OtGe[Ot]+" "+Ms2e[Ms]+"</span><BR><BR>");

   w.document.write('<IMG SRC="on',Ot,'.gif"><BR>');
   w.document.write('<IMG SRC="mon',Ms,'.gif"><P>');
   w.document.write('−　明言　−<BR>');
   w.document.write('私は',MsD[Ms],'を',OtC[Ot],'ことを',MsB[Ms],'ために',OtA[Ot],'。<BR>');
   w.document.write('私は',OtH[Ot],'という',OtG[Ot],'音で',MsF[Ms],'の',MsE[Ms],'を封印する。<P>');

   w.document.write('第',shiro(kin(inYY,inMM,inDD)),'の城：',SHIROt[shiro(kin(inYY,inMM,inDD))],'<BR>');
   w.document.write('wavespell:',Ms1[wavespell(kin(inYY,inMM,inDD))]+Ms2[wavespell(kin(inYY,inMM,inDD))],'（',MsX[wavespell(kin(inYY,inMM,inDD))],'）<BR>');
   if (GAP(kin(inYY,inMM,inDD)) == 1) {
             w.document.write('銀河の通路<BR>');
   }
   w.document.write("<BR>あなたは",OtX[Ot],"能力を使い、<BR>",MsX[wavespell(kin(inYY,inMM,inDD))],"を無意識の力の源とし、<BR>",MsB[Ms],"ことを担う人です。<P>");

   w.document.write('<IMG SRC="../image/star_r.gif" WIDTH="15" HEIGHT="14"><BR>あなたの「類似キン」となる太陽の紋章は、');
   if(Ms == 19) {
	w.document.write("「"+Ms1[20]+Ms2[20]+"」");
   	w.document.write('<IMG SRC="mon20.gif" WIDTH="36" HEIGHT="36"><BR>');
   }else if(Ms == 20) {
	w.document.write("「"+Ms1[19]+Ms2[19]+"」");
   	w.document.write('<IMG SRC="mon19.gif" WIDTH="36" HEIGHT="36"><BR>');
   }else{
	w.document.write("「"+Ms1[19-Ms]+Ms2[19-Ms]+"」");
   	w.document.write('<IMG SRC="mon',19-Ms,'.gif" WIDTH="36" HEIGHT="36"><BR>');
　 }	

   if(Ms > 10) { FT=Ms-10; }else{ FT=Ms+10; }
   w.document.write("あなたの「反対キン」となる太陽の紋章は、");
   w.document.write("「"+Ms1[FT]+Ms2[FT]+"」");
   w.document.write('<IMG SRC="mon',FT,'.gif" WIDTH="36" HEIGHT="36"><BR>');

   w.document.write("あなたの「神秘キン」となる太陽の紋章は、");
   w.document.write("「"+Ms1[21-Ms]+Ms2[21-Ms]+"」");
   w.document.write('<IMG SRC="mon',21-Ms,'.gif" WIDTH="36" HEIGHT="36"><BR>');

   if(Ot % 5 == 1) {
   	w.document.write("あなたの「ガイドキン」となる太陽の紋章は、");
   	w.document.write("「"+Ms1[Ms]+Ms2[Ms]+"」");
   	w.document.write('<IMG SRC="mon',Ms,'.gif" WIDTH="36" HEIGHT="36"><BR>');
   }  	
   if(Ot % 5 == 2) {
   	if(((Ms-8+20) % 20) == 0) { FT=20; }else{ FT=((Ms-8+20) % 20); }
   	w.document.write("あなたの「ガイドキン」となる太陽の紋章は、");
   	w.document.write("「"+Ms1[FT]+Ms2[FT]+"」");
   	w.document.write('<IMG SRC="mon',FT,'.gif" WIDTH="36" HEIGHT="36"><BR>');
   }  	
   if(Ot % 5 == 3) {
   	if(((Ms+4) % 20) == 0) { FT=20; }else{ FT=((Ms+4) % 20); }
   	w.document.write("あなたの「ガイドキン」となる太陽の紋章は、");
   	w.document.write("「"+Ms1[FT]+Ms2[FT]+"」");
   	w.document.write('<IMG SRC="mon',FT,'.gif" WIDTH="36" HEIGHT="36"><BR>');
   }  	
   if(Ot % 5 == 4) {
    	if(((Ms-4+20) % 20) == 0) { FT=20; }else{ FT=((Ms-4+20) % 20); }
  	w.document.write("あなたの「ガイドキン」となる太陽の紋章は、");
   	w.document.write("「"+Ms1[FT]+Ms2[FT]+"」");
   	w.document.write('<IMG SRC="mon',FT,'.gif" WIDTH="36" HEIGHT="36"><BR>');
   }  	
   if(Ot % 5 == 0) {
    	if(((Ms+8) % 20) == 0) { FT=20; }else{ FT=((Ms+8) % 20); }
   	w.document.write("あなたの「ガイドキン」となる太陽の紋章は、");
   	w.document.write("「"+Ms1[FT]+Ms2[FT]+"」");
   	w.document.write('<IMG SRC="mon',FT,'.gif" WIDTH="36" HEIGHT="36"><BR>');
   }  	

   w.document.write('<BR></DIV><DIV ALIGN="RIGHT"><IMG SRC="../image/line_g.gif" WIDTH="480" HEIGHT="2"><BR>DREAMSPELL INFORMATION (C) 1990 Jose  Lloydine Arguelles<BR>DREAMSPELL INTERPRETATION(C) 1994 Toru Takahashi</DIV>');
   w.document.write('<BR><HR>銀河の署名をより深く知るための本<BR><a href="http://www.amazon.co.jp/gp/product/4877951776?ie=UTF8&tag=utarunnourana-22&linkCode=as2&camp=247&creative=7399&creativeASIN=4877951776">古代マヤ暦「20の刻印」―本当の自分の天命を知る!!</a><img src="http://www.assoc-amazon.jp/e/ir?t=utarunnourana-22&l=as2&o=9&a=4877951776" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;"/>');
   w.document.write('</BODY></HTML>');
   w.document.close();
  return 1;
}

