window.defaultStatus="autoveteranen.de";

function neu()
{
var jetzt = new Date();
jetztzeit=jetzt.getTime()/1000;
mn=document.forms("aktuell").pruef.value;
if(jetztzeit > mn){document.forms("aktuell").submit();}
}

offen=0;
function zeige(c,d)
{
if(d==1)pfad="../show/";
if(d==2)pfad="../fundus/";
if(d==3)pfad="../konversion/";
if(d==4)pfad="../nachkrieg/reise/";
if(d==5)pfad="../nachkrieg/gefangen/";
Bildangabe=c.split(".");
nr=Bildangabe[0];wert=Bildangabe[1];
stueck=Number(wert.substr(3,1));
groesse=Number(wert.substr(4,1));if(stueck>1 && groesse==1)groesse=2;
format=wert.substr(0,3);
art="width";if(wert.substr(5,1) =="h")art="height";

if(offen>0){if(Bilder.closed==false)Bilder.close();}

if(groesse=="1")
{
Bilder=window.open("", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=210,height=240');
Bilder.moveTo(250,100);
Bilder.focus();
br="150";
}
if(groesse=="2")
{
Bilder=window.open("", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=350,height=460');
Bilder.moveTo(150,50);
Bilder.focus();
br="300";
}
if(groesse=="3")
{
Bilder=window.open("", 'bilder','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=450,height=450');Bilder.moveTo(100,0);
Bilder.focus();
br="400";
}
/*hier Einzelbild*/

if(stueck=="1")
{
abbildung=Bildangabe[1].substr(0,3);
abbildung=nr+"."+abbildung;
offen++;
info="<center><img src=\""+pfad+abbildung+"\" "+art+"=\""+br+"\" valign=\"bottom\"></center>";
Bilder.document.writeln("<html><head>\n<script type=\"text/javascript\">\n");
Bilder.document.writeln("function nichtsgeht() \n\{if (event.button==2)\n");

Bilder.document.writeln("\{alert(\"diese Bilder unterliegen dem Urheberrecht von profilm.de\");\n\}\}\n");

Bilder.document.writeln("</script>\n</head>\n<body onblur=\"window.close();\" onmousedown=\"nichtsgeht();\">");

Bilder.document.writeln("<center><form><input type=\"button\" value=\"schließen\/close\" onclick=\"window.close();\" >");
Bilder.document.writeln("</form>");

Bilder.document.writeln(info);
Bilder.document.writeln("</center>");
Bilder.document.writeln("</body></html>");
}

/*ende Einzelbild*/
/*Diashow*/

if(stueck > "1")
{
offen++;
Bilder.document.writeln("<html><head>");
Bilder.document.writeln("<script language=\"javascript\">\n<\!--\nzahl=0;");
Bilder.document.writeln("Anzahl= new Array(\"\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\");");
Bilder.document.writeln("function weiter(nr,format,stueck)\n{");
Bilder.document.writeln("zahl++;if(zahl>stueck-1)zahl=0;\n");
Bilder.document.writeln("abbildung=\"../fundus\/\"+nr+Anzahl[zahl]+\".\"+format;\n");
Bilder.document.writeln("document.images[0].src=abbildung;\n");

Bilder.document.writeln("}\n\/\/-->\n<\/script><\/head>");
abbildung=nr+"."+format;
info="<center><img src=\"../fundus/"+abbildung+"\" width="+br+" valign=\"bottom\" name=\"foto\">";
Bilder.document.writeln("<body><center><form><nobr><h4><input type=\"button\" value=\"schließen\/close\" onClick=\"window.close();\">");
Bilder.document.write("<input type=\"button\" value=\"Bildergalerie\" onClick=\"weiter(");
Bilder.document.write(nr+",'"+format+"',"+stueck);
Bilder.document.writeln(");\">\n</h4></nobr></form>\n");

Bilder.document.writeln(info);
Bilder.document.writeln("<\/center>");
Bilder.document.writeln("<\/body><\/html>");
}
/*ende  diashow*/
}

/*ende funktion zeige*/


/* fuktion historische info*/
function histor(nr)
{
var gefunden="";
a=new Array(5);
a[0]=new Array("Kramer","11590","11591","11592","11592a","11593","11593a","11594","11590-1","11590-2","11590-3");
a[1]=new Array("goldsammlung","709","2595","2628","3040","3041","3038","4011","4425","4497","5861","6272","6332","6371","6390","6647","7094","8185","9254","9427","11097","11157","11566","11567","11579","11606","11660","11691","11818","11824","11941","12212","12226","12227","12378","12479","12922");
a[2]=new Array("feindbewaehrung","11284","11600","12314");
a[3]=new Array("lager-bergen","2180","7150","11686");
a[4]=new Array("partisanenkampf","11276","11627","1743","1747","2165");
a[5]=new Array("verfolgung-NL","10710","10711","10761","11832","12316","12513","12604","12866","12867");

for(i=0;i<a.length;i++)
{
for(z=0;z<a[i].length;z++)
{
if(String(nr) == String(a[i][z])){var gefunden=a[i][0];}
}
}
information="../../dokumente/"+gefunden+".htm";
Textdoku=window.open(information,'doku','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=750,height=480');
Textdoku.moveTo(5,5);
Textdoku.focus();
}

function english(text,datei)
{alert("furz");

if(offen>0){if(Bilder.closed==false)Bilder.close();}
Bilder=window.open("", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=480,height=140');
Bilder.moveTo(150,100);
Bilder.document.writeln("<html><body onBlur=\"window.close();\"><center>loading english description</center>");
Bilder.document.writeln("<form action=\"../cgi-bin/englisch.cgi\" method=\"get\" target=\"_self\" name=\"ueber\"><input type=\"hidden\" value=\""+text+"-"+datei+"\" name=\"engtext\"></form>");

Bilder.document.writeln("</body></html>");

Bilder.focus();
Bilder.document.forms['ueber'].submit();
offen++;
}

cform=0;
function geld()
{
if(cform==0){cform++;Waehrung=window.open('../geldrechner.htm', 'rechner', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=920,height=240');}
if(Waehrung.closed == true)
{
Waehrung=window.open('../geldrechner.htm', 'rechner', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=920,height=240');
}if(document.all)Waehrung.resizeTo(720,240);
Waehrung.focus();
Waehrung.moveTo(10,40);
}

function infom(i)
{
if(i==1)
{
info="If You click on the British flag, shown under the ID-No of an article, you will be supported with the English description. <br>Articles without this flag do not yet have a translation.<br><br>";hoch=190;
}

if(i==2){info="<font color=\"red\">Deutsch</font><br>Bei Anklicken dieser Icone, die Sie nur vor verkäuflichen Artikeln finden, wird Ihnen der Verkaufspreis angezeigt. <br>Artikel ohne dieses Zeichen sind <u>nicht</u> verkäuflich\!<br><br><font color=\"red\">English</font><br>Articles marked with the Ying-Yang symbol are also for sale. If You click on this icons, You will see the sales-price, which is not identical to the rental-price of corse. <br>Articles without the Ying-Yang symbol are <u>not</u> for sale!<br><br>";hoch=340;}

if(i==3){info="<font color=\"red\">Deutsch</font><br>So gekennzeichnete Artikel besitzen ein Bild, das Sie durch Anklicken des Fernglas-Symbols vor dem Artikel abrufen können.<br><font color=\"red\">English</font><br>So marked articles are with photo. If You click on the field glasses in front of an article, You are supported with this photo\.<br><br>";hoch=250;}

if(i==4){info="<script language=\"JavaScript\" src=\"anwendung.js\" type=\"text/javascript\"></script><font color=\"red\">Deutsch</font><br>In der Navigationsleiste finden Sie den Währungsumrechner 'Currency-Converter' mit dessen Hilfe Sie die Mietpreise in viele moderne, aber auch die ehemaligen Euro-Länder Währungen umrechnen können.<br>Sie können den Umrechner auch direkt durch Anklicken des Eurozeichens vor der gerade benutzten Link aktivieren.<br><br><font color=\"red\">English</font><br>With the button 'Currency-Converter' of the navigation-area, You can open a device, with which you can convert the rental-prices in international currencies, but also into the former Euro-Country currencies.<br>You can also activate the currency-converter by clicking on the Euro-symbol at the just used link.<br><br>";hoch=456;}

if(i==5){info="<script language=\"JavaScript\" src=\"anwendung.js\" type=\"text/javascript\"></script><font color=\"red\">Deutsch</font><br><br>Dokumente, die mit diesem Symbol gekennzeichnet sind können in Auflösung 600x600px/inch downgeloaden werden. Anzahl der Seiten und Preis werden bei Anklicken des Symbols angezeigt, bevor Sie sich für den Download entscheiden müssen.<br>Dreidimensionale Objekte werden hier in guter Fotowiedergabe gezeigt. Auch hier werden Anzahl der Bilder und Preis vorher mitgeteilt. Die Bilder können Sie unter Nutzung der rechten Maustaste kopieren und abspeichern.<br><br><font color=\"red\">English</font><br>This symbol shows, when more and better quality fotos or scans are schown or can be downloaded. This is a pay-service. But before you have to decide, a click on this symbol at the listing will tell you amount of pictures/scans and price for download/show.<br><br>";hoch=490;}
if(i==6){info="<script language=\"JavaScript\" src=\"anwendung.js\" type=\"text/javascript\"></script><font color=\"red\">Deutsch</font><br><br>Zu Dokumente, die mit diesem Symbol gekennzeichnet sind, bieten wir zusätzlich kostenlose Informationen zum historischen Bezug des Objekts. Hierin eventuell weiter enthaltene Bilder sind kostenpflichtig, worüber Sie vor Laden informiert werden.<br><br><font color=\"red\">English</font><br>This symbol shows, that we offer aditional informations about the history of the particular object. On this text-page may be some picture references from our pay-content. But before you have to decide to load them, you will be informed about eventual costs. Sorry, this infos are at present time only in German language.<br><br>";hoch=420;}

Erklaerung=window.open('blank.htm','infenster','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=300,height='+hoch);
Erklaerung.moveTo(150,50);

Erklaerung.document.writeln("<html><body bgcolor=\"#e4f3f5\" onBlur=\"window.close();\">");

Erklaerung.document.writeln("<center><form><input type=\"button\" value=\"schließen\/close\" onClick=\"window.close();\" >");
Erklaerung.document.writeln("</form></center>");
Erklaerung.document.writeln(info);
Erklaerung.document.writeln("</body></html>");
}

function brief()
{
Brief=window.open('../forward/serviz.php?autoveteranen&auto','brieffen','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=800,height=450');
Brief.moveTo(10,10);
}

function letter()
{
Brief=window.open('../../forward/maile.php?profilm&rent','brieffen','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=800,height=450');
Brief.moveTo(10,10);
}

function beding()
{
Bedingung=window.open("beding.htm",'bedfenster','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=800,height=450');
Bedingung.moveTo(10,10);
}


function engl()
{
Bedingung=window.open('engl.htm','bedfenster','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=650,height=450');
Bedingung.moveTo(10,10);
}

function schliessen()
{
if(top.window.length<1)window.close();
else history.back();
}

function vrz(a)
{
neu="verz"+a+".htm";
location.href=neu;
}

function wechsel()
{
parent.frames["liste"].location.href.value="#anfang";
}

function english(nr)
{
if(offen>0){if(Bilder.closed==false)Bilder.close();}
Bilder=window.open("", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=450,height=120');
Bilder.moveTo(150,100);
Bilder.document.writeln("<html><body onBlur=\"window.close();\"><center>loading english description</center>");
Bilder.document.writeln("<form action=\"../cgi-bin/tzdengl.cgi\" method=\"get\" target=\"_self\" name=\"ueber\"><input type=\"hidden\" value=\""+nr+"\" name=\"engtext\"></form>");

Bilder.document.writeln("</body></html>");

Bilder.focus();
Bilder.document.forms['ueber'].submit();
offen++;

}

function deutsch(nr)
{
if(offen>0){if(Bilder.closed==false)Bilder.close();}
Bilder=window.open("", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=480,height=140');
Bilder.moveTo(150,100);
Bilder.document.writeln("<html><body onBlur=\"window.close();\"><center>lade deutschen Text</center>");
Bilder.document.writeln("<form action=\"../cgi-bin/tzddeutsch.cgi\" method=\"get\" target=\"_self\" name=\"trans\"><input type=\"hidden\" value=\""+nr+"\" name=\"deutschtext\"></form>");

Bilder.document.writeln("</body></html>");

Bilder.focus();
Bilder.document.forms['trans'].submit();
offen++;

}

