<!-- Begin
par_url = ('../');

par_url_1 = par_url+"pyramid/1.html";
function open1() {
msgWindow=window.open(par_url_1,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=450,left=50,top=50');
}
par_url_2 = par_url+"pyramid/2.html";
function open2() {
msgWindow=window.open(par_url_2,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=470,left=50,top=50');
}
par_url_3 = par_url+"pyramid/3.html";
function open3() {
msgWindow=window.open(par_url_3,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=470,left=50,top=50');
}
par_url_4 = par_url+"pyramid/4.html";
function open4() {
msgWindow=window.open(par_url_4,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=450,left=50,top=50');
}
par_url_5 = par_url+"pyramid/5.html";
function open5() {
msgWindow=window.open(par_url_5,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=450,left=50,top=50');
}
par_url_6 = par_url+"pyramid/6.html";
function open6() {
msgWindow=window.open(par_url_6,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=470,left=50,top=50');
}
par_url_7 = par_url+"pyramid/7.html";
function open7() {
msgWindow=window.open(par_url_7,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=520,left=50,top=50');
}
par_url_8 = par_url+"pyramid/8.html";
function open8() {
msgWindow=window.open(par_url_8,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=450,left=50,top=50');
}
par_url_9 = par_url+"pyramid/9.html";
function open9() {
msgWindow=window.open(par_url_9,'ZahlFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,scrollbars=1,width=780,height=510,left=50,top=50,');
}



function checkJahr() {
var ch2 = document.subform.jahr.value.substr(1,1); 
if (ch2 = document.subform.jahr.value.substr(1,1)) 
ch2 =  document.subform.jahr.value=eval(document.subform.jahr.value.substr(0,1))+eval(document.subform.jahr.value.substr(1,1));
if (ch2 = document.subform.jahr.value.substr(1,2)) 
ch2 =  document.subform.jahr.value=eval(document.subform.jahr.value.substr(0,1))+eval(document.subform.jahr.value.substr(1,1))+eval(document.subform.jahr.value.substr(1,2));
}    
function checkT1() {
var ch2 = document.subform.T1.value.substr(1,1); 
if (ch2 = document.subform.T1.value.substr(1,1)) 
ch2 =  document.subform.T1.value=eval(document.subform.T1.value.substr(0,1))+eval(document.subform.T1.value.substr(1,1));
if (ch2 = document.subform.T1.value.substr(1,2)) 
ch2 =  document.subform.T1.value=eval(document.subform.T1.value.substr(0,1))+eval(document.subform.T1.value.substr(1,1))+eval(document.subform.T1.value.substr(1,2));
}
function checkT2() {
var ch2 = document.subform.T2.value.substr(1,1); 
if (ch2 = document.subform.T2.value.substr(1,1)) 
ch2 =  document.subform.T2.value=eval(document.subform.T2.value.substr(0,1))+eval(document.subform.T2.value.substr(1,1));
if (ch2 = document.subform.T2.value.substr(1,2)) 
ch2 =  document.subform.T2.value=eval(document.subform.T2.value.substr(0,1))+eval(document.subform.T2.value.substr(1,1))+eval(document.subform.T2.value.substr(1,2));
}
function checkT3() {
var ch2 = document.subform.T3.value.substr(1,1); 
if (ch2 = document.subform.T3.value.substr(1,1)) 
ch2 =  document.subform.T3.value=eval(document.subform.T3.value.substr(0,1))+eval(document.subform.T3.value.substr(1,1));
if (ch2 = document.subform.T3.value.substr(1,2)) 
ch2 =  document.subform.T3.value=eval(document.subform.T3.value.substr(0,1))+eval(document.subform.T3.value.substr(1,1))+eval(document.subform.T3.value.substr(1,2));
}
function checkT4() {
var ch2 = document.subform.T4.value.substr(1,1); 
if (ch2 = document.subform.T4.value.substr(1,1)) 
ch2 =  document.subform.T4.value=eval(document.subform.T4.value.substr(0,1))+eval(document.subform.T4.value.substr(1,1));
if (ch2 = document.subform.T4.value.substr(1,2)) 
ch2 =  document.subform.T4.value=eval(document.subform.T4.value.substr(0,1))+eval(document.subform.T4.value.substr(1,1))+eval(document.subform.T4.value.substr(1,2));
}
function checkTest1() {
var ch2 = document.subform.test1.value.substr(1,1); 
if (ch2 = document.subform.test1.value.substr(1,1)) 
ch2 =  document.subform.test1.value=eval(document.subform.test1.value.substr(0,1))+eval(document.subform.test1.value.substr(1,1));
if (ch2 = document.subform.test1.value.substr(1,2)) 
ch2 =  document.subform.test1.value=eval(document.subform.test1.value.substr(0,1))+eval(document.subform.test1.value.substr(1,1))+eval(document.subform.test1.value.substr(1,2));
}
function checkTag() {
var ch2 = document.subform.tag.value.substr(1,1); 
if (ch2 = document.subform.tag.value.substr(1,1)) 
ch2 =  document.subform.tag.value=eval(document.subform.tag.value.substr(0,1))+eval(document.subform.tag.value.substr(1,1));
}
function uebertrag() {
{document.subform.bed1.value = eval(document.subform.T1.value)+0};
{document.subform.bed2.value = eval(document.subform.T2.value)+0};
{document.subform.bed3.value = eval(document.subform.T3.value)+0};
{document.subform.bed4.value = eval(document.subform.T4.value)+0};
}
function go1()
{
var input=document.subform.bed1.value
if (input==1)
{location="JavaScript:open1()"};

if (input==2)
{location="JavaScript:open2()"};

if (input==3)
{location="JavaScript:open3()"};

if (input==4)
{location="JavaScript:open4()"};

if (input==5)
{location="JavaScript:open5()"};

if (input==6)
{location="JavaScript:open6()"};

if (input==7)
{location="JavaScript:open7()"};

if (input==8)
{location="JavaScript:open8()"};

if (input==9)
{location="JavaScript:open9()"};

}
function go2()
{
var input=document.subform.bed2.value
if (input==1)
{location="JavaScript:open1()"};

if (input==2)
{location="JavaScript:open2()"};

if (input==3)
{location="JavaScript:open3()"};

if (input==4)
{location="JavaScript:open4()"};

if (input==5)
{location="JavaScript:open5()"};

if (input==6)
{location="JavaScript:open6()"};

if (input==7)
{location="JavaScript:open7()"};

if (input==8)
{location="JavaScript:open8()"};

if (input==9)
{location="JavaScript:open9()"};

}
function go3()
{
var input=document.subform.bed3.value
if (input==1)
{location="JavaScript:open1()"};

if (input==2)
{location="JavaScript:open2()"};

if (input==3)
{location="JavaScript:open3()"};

if (input==4)
{location="JavaScript:open4()"};

if (input==5)
{location="JavaScript:open5()"};

if (input==6)
{location="JavaScript:open6()"};

if (input==7)
{location="JavaScript:open7()"};

if (input==8)
{location="JavaScript:open8()"};

if (input==9)
{location="JavaScript:open9()"};

}
function go4()
{
var input=document.subform.bed4.value
if (input==1)
{location="JavaScript:open1()"};

if (input==2)
{location="JavaScript:open2()"};

if (input==3)
{location="JavaScript:open3()"};

if (input==4)
{location="JavaScript:open4()"};

if (input==5)
{location="JavaScript:open5()"};

if (input==6)
{location="JavaScript:open6()"};

if (input==7)
{location="JavaScript:open7()"};

if (input==8)
{location="JavaScript:open8()"};

if (input==9)
{location="JavaScript:open9()"};

}
function pyramide() {
document.subform.tag.value = eval(document.subform.text.value.substr(0,1)) + eval(document.subform.text.value.substr(1,1));checkTag();document.subform.monat.value = eval(document.subform.text.value.substr(3,1)) + eval(document.subform.text.value.substr(4,1));document.subform.jahr.value =  eval(document.subform.text.value.substr(6,1)) + eval(document.subform.text.value.substr(7,1)) + eval(document.subform.text.value.substr(8,1)) + eval(document.subform.text.value.substr(9,1));checkJahr();document.subform.T1.value = eval(document.subform.tag.value)+eval(document.subform.monat.value);checkT1();document.subform.T2.value = eval(document.subform.tag.value)+eval(document.subform.jahr.value);checkT2() ;document.subform.T3.value = eval(document.subform.T1.value)+eval(document.subform.T2.value);checkT3() ;document.subform.T4.value = eval(document.subform.monat.value) + eval(document.subform.jahr.value);checkT4();document.subform.test1.value = eval(document.subform.text.value.substr(0,1)) + eval(document.subform.text.value.substr(1,1)) + eval(document.subform.text.value.substr(3,1)) + eval(document.subform.text.value.substr(4,1)) + eval(document.subform.text.value.substr(6,1)) + eval(document.subform.text.value.substr(7,1)) + eval(document.subform.text.value.substr(8,1)) + eval(document.subform.text.value.substr(9,1));checkTest1();document.subform.A1.value = 36-eval(document.subform.test1.value); document.subform.A2.value = eval(document.subform.A1.value)+9; document.subform.A3.value = eval(document.subform.A2.value)+9; document.subform.A4.value = eval(document.subform.A3.value)+9;document.subform.J1.value = eval(document.subform.text.value.substr(6,4))+eval(document.subform.A1.value);document.subform.J2.value= eval(document.subform.J1.value)+9;document.subform.J3.value=eval(document.subform.J2.value)+9;document.subform.J4.value=eval(document.subform.J3.value)+9;uebertrag();write()}

function write() {
document.subform.S1.value="In the age of "+ document.subform.A1.value +" your personality is grown. The first phase in the pyramid begins "+ document.subform.J1.value +". You are "+ document.subform.A1.value +" years old, and your number is "+ document.subform.T1.value +".\r Your 2. Phase begins in the year "+ document.subform.J2.value +". You are "+ document.subform.A2.value +" years old, and your second number is "+ document.subform.T2.value +".\r Your 3. phase begins in the year "+ document.subform.J3.value +". Then you are "+ document.subform.A3.value +" years old and your number is "+ document.subform.T3.value +".\r Your 4. Phase begins in the year "+ document.subform.J4.value +". You are "+ document.subform.A4.value +" years old. Your number is "+ document.subform.T4.value +". This 4. phase reaches till the end of life.\r See below for more explanations.";

}
//  End -->




