/*eingesetzt profilm.de/insel/mieten*/
window.defaultStatus="filmfundus.de";
offen=0;hoch="";

function neu()
{
var gespeichert="";
if(document.cookie)gespeichert=document.cookie;
var jetzt=new Date();
zeitwert=jetzt.getTime()/1000;
mn=document.forms[0].pruef.value;
kunde=document.forms[0].APP.value;
if(gespeichert == kunde)gespeichert="";
else if(zeitwert > mn){document.cookie=kunde;document.forms[0].submit();}
}

function pruefe()/*auslaufend*/
{
jetzt= new Date();heute=Number(jetzt.getMonth());
var monat= new Array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
mm=document.getElementById("pruef").value;
if(monat[heute] != mm){document.forms("aktuell").submit();}
}

function foto(nr,format,st)
{
stueck=Number(String(st).substr(0,1));
groesse=Number(String(st).substr(1,1));if(stueck>1 && groesse==1)groesse=2;
art="width";if(st.substr(2,1) =="h")art="height";
if(offen>0){if(Bilder.closed==false)Bilder.close();}
if(groesse=="1")
{
Bilder=window.open("leer.htm", 'bilder', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=190,height=220');
Bilder.moveTo(250,100);
Bilder.focus();
br="150";
}
if(groesse=="2")
{
Bilder=window.open("leer.htm", '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("leer.htm", '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=nr+"."+format;offen++;

Bilder.document.writeln("<html><head>\n<script language=\"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></head>\n<body onBlur=\"window.close();\" onmousedown=\"nichtsgeht();\">");
info="<center><img src=../../fundus/"+abbildung+" "+art+"="+br+"valign=\"bottom\"></center>";
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+" art="+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 fotos*/

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*/

function pay(nr,st)
{
stueck=st.charCodeAt(0)-87;if(stueck<0)stueck=st.substr(0,1);
art=st.substr(1,1);leer="leer.htm";
if(String(st).search( /t/) != -1){leer="../leer.htm";}

Bilder=window.open(leer,'bilder','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=750,height=480');
Bilder.moveTo(5,5);
Bilder.focus();

if(art=="b" || art=="d"){artikel=" ein größeres Bild ";if (stueck>1)artikel=" "+stueck+" größere Bilder ";artikel=artikel+"anzusehen und mit Hilfe der rechten Maustaste zu kopieren."}
if(art=="c"){artikel=" ein großes Bild + Downloaddatei ";if (stueck>1)artikel=" "+stueck+" größere Bilder + Downloaddatei";artikel=artikel+" anzusehen, zu kopieren oder downzuladen."}
if(art=="d"){artikel=" ein einseitiges Dokument  ";if (stueck>1)artikel=" eine Gruppe von "+stueck+" Bild- und/oder Textdokumenten";artikel=artikel+" einzusehen und zu kopieren (rechte Maustaste)";}

preis=stueck*35;summe=preis+" Cent";
if(preis>100)
{
summe=String(preis/100);
if(Math.floor(summe)==summe){cent="00"}
else{teil=summe.split(".");cent=teil[1]+"00";cent=cent.substr(0,2);summe=teil[0];}
summe=summe+","+cent+" Euro";
}

Bilder.document.writeln("<body bgcolor=\"#e4f3f5\">");

Bilder.document.writeln("<font color=blue><h3>profilm.de, Horst Decker, Kirchbergstr. 37, 63691 Ranstadt, USt-ID:DE-2258749 </h3></font>");
Bilder.document.writeln("<h2>Hier haben Sie die Möglichkeit "+artikel+"</h2>");
Bilder.document.writeln("<h2>Für diesen Service berechnen wir  demnächst <font color=\"red\"><u>"+summe+".</u></font></h2>");
Bilder.document.writeln("<br><center><table border=\"1\"><tr><td><h3><font color=\"blue\"><br>Durch die höhere Auflösung der Bilder und des größeren Formats kann es teilweise bis zu einer Minute und mehr dauern, bis das Bild zu sehen ist.</font></td></tr></table><br>");

Bilder.document.writeln("<font color=\"red\"><br>Diese Funktion befindet sich in der Testphase und ist, so lange dieser Hinweis erscheint, ohne die oben angeführte Kostenberechnung.</font></h3></td></tr></table></center>");
Bilder.document.writeln("<br><br><form><h3>Ich bin mit den Bedingungen einverstanden &nbsp; &nbsp; <input type=\"button\" value=\" go \" onClick=\"zahlbereit('"+nr+"',"+stueck+",'"+art+"',"+preis+");window.close();\"></h3>");
Bilder.document.writeln("<h3>Ich möchte den Vorgang abbrechen &nbsp; &nbsp &nbsp; &nbsp; <input type=\"button\" value=\"Abbruch\" onClick=\"window.close();\"></h3></form>");
pfad="paylink.js";if(art=='d')pfad="../insel/mieten/paylink.js";
Bilder.document.writeln("<script language=\"javascript\" src=\""+pfad+"\" type=\"text/javascript\"></script>");

Bilder.document.writeln("</body>");
return;
}
/*ende funktion pay*/

/* fuktion historische info*/
function histor(nr)
{
var gefunden="";
a=new Array(8);
a[0]=new Array("Kramer","11590","11591","11592","11592a","11593","11593a","11594","11590-1","11590-2","11590-3");
a[1]=new Array("goldsammlung.htm","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","13981","13983","13982","14363");
a[2]=new Array("feindbewaehrung.htm","11284","11600","12314");
a[3]=new Array("lager-bergen.htm","2180","7150","11686");
a[4]=new Array("partisanenkampf.htm","11276","11627","1743","1747","2165");
a[5]=new Array("verfolgung-NL.htm","10710","10711","10761","11832","12316","12513","12604","12866","12867","13948");
a[6]=new Array("verfolgung-AU.html","1503","1590","1763","2631","9933","9942","10797","10847","10952","11947","12213","12471","12574","12575","12635","12845","13950","13951","13992","7292","14051","14385","14391","14402");
a[7]=new Array("fs-frauen.htm","12703","12589","13923","12068","12094","13659","13480","12284","11550","13849","12133","11917","12075","11914","12291","13482","13903");

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;
if(z==7)information="http://www.autoveteranen.de/"+gefunden;
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)
{
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=no,copyhistory=no,width=720,height=200');}
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=720,height=200');
}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 der Einkaufswagen-Ikone, die Sie nur vor verkäuflichen Artikeln finden, werden Ihnen der Verkaufspreis und die verkäufliche Stückzahl angezeigt. Der angebenen Preis gilt immer pro Stück. <br>Artikel ohne dieses Zeichen sind <u>nicht</u> verkäuflich\!<br><br><font color=\"red\">English</font><br>Articles marked with the trolley 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.  The shown price is the price per piece. <br>Articles without the trolley  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?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 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 vrze(a)
{
neu="verze"+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++;

}

