Hallo Sven,
der Browser-Quelltext:
Viele Grüsse aus Frankreich
Airis
der Browser-Quelltext:
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
<link rel="stylesheet" type="text/css" href="style.css">
<SCRIPT LANGUAGE = "JavaScript">
<!--
if (document.images)
{
bild0 = new Image(13,13);
bild0.src = "stern_aus.gif";
bild1 = new Image(13,13);
bild1.src = "stern_an.gif";
}
function testCOMPANY()
{
var bild = document['img01'];
if(t1.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testALTFIELD3()
{
var bild = document['img02'];
if(t2.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testLASTNAME()
{
var bild = document['img03'];
if(t3.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testADDRESS()
{
var bild = document['img04'];
if(t4.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testPOSTALCODE()
{
var bild = document['img05'];
if (t5.value < '00000' || t5.value > '99999' || t5.value.length != 5 && isNaN(t5.value)==false)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testCITY()
{
var bild = document['img06'];
if(t6.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testCOUNTRY()
{
var bild = document['img07'];
if(t7.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testPHONEWORK()
{
var bild = document['img08'];
if(t8.value.length == 0)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testEMAIL()
{
var bild = document['img09'];
if ((t9.value == "") || (t9.value.indexOf ('@') == -1) || (t9.value.indexOf ('.') == -1))
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testALTFIELD2()
{
var bild = document['img10'];
if(!(t10.value==t9.value))
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testURL()
{
var bild = document['img11'];
if ((t11.value == "")|| (t11.value.indexOf ('http://') == -1)|| (t11.value.indexOf ('.') == -1))
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function testAGB()
{
var bild = document['img12'];
if(t12.checked == false)
{
bild.src = bild1.src;
return false;
}
else
{
bild.src = bild0.src;
return true;
}
}
function allRight()
{
var retVal = true;
if (retVal)
retVal = testCOMPANY();
if (retVal == false)
alert("Sie haben das Feld Firma noch nicht ausgefüllt!");
if (retVal)
retVal = testALTFIELD3();
if (retVal == false)
alert("Sie haben Ihre USt-IdNr. noch nicht eingegeben!");
if (retVal)
retVal = testLASTNAME();
if (retVal == false)
alert("Sie haben Ihren Namen noch nicht eingegeben!");
if (retVal)
retVal = testADDRESS();
if (retVal == false)
alert("Ihre Strasse und die Hausnummer fehlen noch!");
if (retVal)
retVal = testPOSTALCODE();
if (retVal == false)
alert("Sie haben die Postleitzahl noch nicht eingegeben!");
if (retVal)
retVal = testCITY();
if (retVal == false)
alert("Sie haben den Ort noch nicht eingegeben!");
if (retVal)
retVal = testCOUNTRY();
if (retVal == false)
alert("Sie haben Ihr Land noch nicht eingegeben!");
if (retVal)
retVal = testPHONEWORK();
if (retVal == false)
alert("Sie haben Ihre Telefon-Nr. noch nicht eingegeben!");
if (retVal)
retVal = testEMAIL();
if (retVal == false)
alert("Sie haben Ihre E-Mail-Adresse noch nicht eingegeben!");
if (retVal)
retVal = testALTFIELD2();
if (retVal == false)
alert("Sie haben Ihre E-Mail-Adresse noch nicht wiederholt!");
if (retVal)
retVal = testURL();
if (retVal == false)
alert("Ihre Homepage ist nicht korrekt eingetragen!");
if (retVal)
retVal = testAGB();
if (retVal == false)
alert("Sie haben unsere AGB noch nicht akzeptiert!");
if (retVal == false){
var kette=text();
kette="<div align='center'><font face='Arial' size='2' color='#FF0000'> <b>FEHLER</b><br>Es wurden nicht alle Pflichtfelder korrekt ausgefüllt.</font><br><br><input type='button' class='bm5' onclick='window.close()' value='Schließen'></div>"
Fenster=window.open('','Fenster','toolbar=no,status=no, width=450,height=100,left=380,top=395');
Fenster.document.write(kette);
Fenster.document.close();
}
return retVal;
}
function text(){
var COMPANY=document.Form1.COMPANY.value;
var ALTFIELD3=document.Form1.ALTFIELD3.value;
var ausgewaehlt=document.Form1.PREFIX.selectedIndex;
var PREFIX=document.Form1.PREFIX.options[ausgewaehlt].text;
var ausgewaehlt=document.Form1.NAME_DRUCKEN.selectedIndex;
var NAME_DRUCKEN=document.Form1.NAME_DRUCKEN.options[ausgewaehlt].text;
var FIRSTNAME=document.Form1.FIRSTNAME.value;
var LASTNAME=document.Form1.LASTNAME.value;
var POSITION=document.Form1.POSITION.value;
var ausgewaehlt=document.Form1.BRANCHE.selectedIndex;
var BRANCHE=document.Form1.BRANCHE.options[ausgewaehlt].text;
var ADDRESS=document.Form1.ADDRESS.value;
var POSTALCODE=document.Form1.POSTALCODE.value;
var CITY=document.Form1.CITY.value;
var COUNTRY=document.Form1.COUNTRY.value;
var PHONEWORK=document.Form1.PHONEWORK.value;
var FAX=document.Form1.FAX.value;
var EMAIL=document.Form1.EMAIL.value;
var ALTFIELD2=document.Form1.ALTFIELD2.value;
var URL=document.Form1.URL.value;
var k=
"<html><head><title>Bestätigung</title>"
+"<link rel='stylesheet' type='text/css' href='style.css'>"
+"<script language='javascript'>alert('Die Schreibweise der eingegebenen USt-IdNr. ist nicht korrekt.')</script></head>"
+"<body leftMargin='0' topMargin='0' MARGINWIDTH='0' MARGINHEIGHT='0' background='../base-Dateien/background.jpg' width='900' height='900' border='0' alt=''><br>"
+"<table border=0 align=center cellspacing=0 cellpadding=0 class=bmborder width='620'>"
+"<tr><td class='bmcatbg' align='center' colspan='1'><font face='Arial' size='6' color='#FFFFFF'>@E@@</font></td></tr>"
+"<tr><td class='bm2' align='center' colspan='1'><font color='red' face='arial' size='2'><br><b>Hier können Sie Ihre eingegebenen Daten nochmals überprüfen,</b></font>"
+"<br><font color='red' face='arial' size='2'><b>wenn alle Daten richtig sein sollten, dann klicken Sie auf Eintragen.</b></font><p></td></tr>"
+"<tr><td class='bm2' align='center' colspan='1'><p align='center'><base target='base'><form action='paymodi_select.php' method='post' name='Form1'><input type='hidden' name='action' value='insert'></td></tr>"
+"<tr><td class='bm2' align='center' colspan='1'>"
+"<table><font face='Arial' size='2' color='#000000'>"
+"<tr><td><div align='right'>Firma: </div></td><td><div align='left'>" + COMPANY + "</div></td></tr>"
+"<tr><td><div align='right'>UST-IdNr.: </div></td><td><div align='left'>" + ALTFIELD3 + "</div></td></tr>"
+"<tr><td><div align='right'>Anrede: </div></td><td><div align='left'>" + PREFIX + "</div></td></tr>"
+"<tr><td><div align='right'>Name drucken.: </div></td><td><div align='left'>" + NAME_DRUCKEN + "</div></td></tr>"
+"<tr><td><div align='right'>Vorname: </div></td><td><div align='left'>" + FIRSTNAME + "</div></td></tr>"
+"<tr><td><div align='right'>Name: </div></td><td><div align='left'>" + LASTNAME + "</div></td></tr>"
+"<tr><td><div align='right'>Position: </div></td><td><div align='left'>" + POSITION + "</div></td></tr>"
+"<tr><td><div align='right'>Branche: </div></td><td><div align='left'>" + BRANCHE + "</div></td></tr>"
+"<tr><td><div align='right'> Straße und Nr.: </div></td><td><div align='left'>" + ADDRESS + "</div></td></tr>"
+"<tr><td><div align='right'>PLZ: </div></td><td><div align='left'>" + POSTALCODE + "</div></td></tr>"
+"<tr><td><div align='right'>Ort: </div></td><td><div align='left'>" + CITY + "</div></td></tr>"
+"<tr><td><div align='right'>Land: </div></td><td><div align='left'>" + COUNTRY + "</div></td></tr>"
+"<tr><td><div align='right'>Telefon: </div></td><td><div align='left'>" + PHONEWORK + "</div></td></tr>"
+"<tr><td><div align='right'>Telefax: </div></td><td><div align='left'>" + FAX + "</div></td></tr>"
+"<tr><td><div align='right'>E-Mail: </div></td><td><div align='left'>" + EMAIL + "</div></td></tr>"
+"<tr><td><div align='right'>E-Mail Wiederholung: </div></td><td><div align='left'>" + ALTFIELD2 + "</div></td></tr>"
+"<tr><td><div align='right'>Homepage: </div></td><td><div align='left'>" + URL + "</div></td></tr></font></table>"
+"</td></tr>"
+'<input type="hidden" name="COMPANY" value="' + COMPANY + '" />'
+'<input type="hidden" name="ALTFIELD3" value="' + ALTFIELD3 + '" />'
+'<input type="hidden" name="PREFIX" value="' + PREFIX + '" />'
+'<input type="hidden" name="NAME_DRUCKEN" value="' + NAME_DRUCKEN + '" />'
+'<input type="hidden" name="FIRSTNAME" value="' + FIRSTNAME + '" />'
+'<input type="hidden" name="LASTNAME" value="' + LASTNAME + '" />'
+'<input type="hidden" name="POSITION" value="' + POSITION + '" />'
+'<input type="hidden" name="BRANCHE" value="' + BRANCHE + '" />'
+'<input type="hidden" name="ADDRESS" value="' + ADDRESS + '" />'
+'<input type="hidden" name="POSTALCODE" value="' + POSTALCODE + '" />'
+'<input type="hidden" name="CITY" value="' + CITY + '" />'
+'<input type="hidden" name="COUNTRY" value="' + COUNTRY + '" />'
+'<input type="hidden" name="PHONEWORK" value="' + PHONEWORK + '" />'
+'<input type="hidden" name="FAX" value="' + FAX + '" />'
+'<input type="hidden" name="EMAIL" value="' + EMAIL + '" />'
+'<input type="hidden" name="ALTFIELD2" value="' + ALTFIELD2 + '" />'
+'<input type="hidden" name="URL" value="' + URL + '" />'
+"<tr><td class='bm2' align='center' colspan='1'><br><INPUT type='submit' class='bm5' align='MIDDLE' value='Eintragen' onclick='window.close()'>"
+" <input type='button' class='bm5' onclick='window.close()' value='Abbrechen'></form></td></tr></table></head></body></html>";
return k;
}
function bestaetigung()
{
var kette=text();
//
Fenster=window.open('','Fenster','toolbar=no,status=no,width=600,height=500,left=305,top=195');
Fenster.document.write(kette);
Fenster.document.close();
}
// -->
</SCRIPT>
</head>
<body onLoad="this.document.Form1.COMPANY.focus();" leftMargin="0" topMargin="0" MARGINWIDTH="0" MARGINHEIGHT="0" background="../base-Dateien/background.jpg" width="900" height="900" border="0" alt="" bgproperties=fixed style="overflow-x: hidden; overflow-y: auto"><br>
<pre>
<form name="Form1">
<table border=0 align=center cellspacing=0 cellpadding=0 class=bmborder width="620">
<tr>
<td class="bmcatbg" align="center" colspan="1" ><font face="Arial" size="6" color="#FFFFFF">Ihre Zahlungsabwicklung</font></td>
</tr>
<tr>
<td class=bm2 align=right> </td>
</tr>
<tr>
<td class=bm2 align=center><font face="Arial" size="4" color="#000000">
Nachstehende Angaben benötigen wir zum Erstellen Ihrer Rechnung:</font></td>
</tr>
<tr>
<td class=bm2 align=right> </td>
</tr>
<tr>
<td class=bm2><div align="center"><table border="0" width="620">
<tr>
<td class=bm2 align=right> </td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img01" id="img01">
Firma:</font></td>
<td class=bm2>
<input value "ss" type="text" name="COMPANY" maxlength="50" size="40" class="bm5" onChange="testCOMPANY()">
</td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img02" id="img02">
UST-IdNr.:</font></td>
<td class=bm2>
<input value "ss" type="text" name="ALTFIELD3" maxlength="50" size="40" class="bm5" onChange="testALTFIELD3()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">Anrede: / Name drucken.:</font></td>
<td class=bm2>
<SELECT SIZE="1" NAME="PREFIX" maxlength="50" size="40" class="bm5">
<OPTION>--Auswahl---</OPTION>
<OPTION VALUE="" SELECTED="SELECTED"></OPTION>
<OPTION>Frau</OPTION>
<OPTION>Herr</OPTION>
</SELECT>
<SELECT SIZE="1" NAME="NAME_DRUCKEN" maxlength="50" size="40" class="bm5">
<OPTION>--Auswahl---</OPTION>
<OPTION VALUE="" SELECTED="SELECTED"></OPTION>
<OPTION>ja</OPTION>
<OPTION>nein</OPTION>
</SELECT><br></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
Vorname: / <img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img03" id="img03">
Name:</font></td>
<td class=bm2><input type="text" name="FIRSTNAME" maxlength="50" size="17" class="bm5">
<input value "ss" type="text" name="LASTNAME" maxlength="50" size="16" class="bm5" onChange="testLASTNAME()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
Position:</font></td>
<td class=bm2><input value "ss" type="text" name="POSITION" maxlength="50" size="40" class="bm5"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">Branche:</font></td>
<td class=bm2>
<SELECT SIZE="1" NAME="BRANCHE" maxlength="50" size="40" class="bm5">
<OPTION>--Auswahl---</OPTION>
<OPTION VALUE="" SELECTED="SELECTED"></OPTION>
<OPTION>Rathaus / Fremdenverkehrsamt</OPTION>
<OPTION>Hotel</OPTION>
<OPTION>Villen- / Appartmentvermietung</OPTION>
<OPTION>priv. Vermietung</OPTION>
<OPTION>Immobilien</OPTION>
<OPTION>Camping</OPTION>
<OPTION>Autovermietung</OPTION>
<OPTION>Restaurant / Bar</OPTION>
<OPTION>Diskothek / Club</OPTION>
<OPTION>Park / Freizeit</OPTION>
<OPTION>Golf</OPTION>
<OPTION>Sport</OPTION>
</SELECT><br></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img04" id="img04">
Straße und Nr..:</font></td>
<td class=bm2><input value "ss" type="text" name="ADDRESS" maxlength="50" size="40" class="bm5" onChange="testADDRESS()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img05" id="img05">
PLZ: /
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img06" id="img06">
Ort:</font></td>
<td class=bm2>
<input value "ss" type="text" name="POSTALCODE" maxlength="50" size="6" class="bm5" onChange="testPOSTALCODE()">
<input value "ss" type="text" name="CITY" maxlength="50" size="27" class="bm5" onChange="testCITY()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img07" id="img07">
Land:</font></td>
<td class=bm2>
<SELECT SIZE="1" name="COUNTRY" maxlength="50" size="40" class="bm5" onChange="testCOUNTRY()">
<OPTION> EU-LÄNDER</OPTION>
<OPTION VALUE="" SELECTED="SELECTED"></OPTION>
<OPTION value="Belgien">Belgien</OPTION>
<OPTION value="Dänemark">Dänemark</OPTION>
<OPTION value="Deutschland">Deutschland</OPTION>
<OPTION value="Estland">Estland</OPTION>
<OPTION value="Finnland">Finnland</OPTION>
<OPTION value="Frankreich">Frankreich</OPTION>
<OPTION value="Griechenland">Griechenland</OPTION>
<OPTION value="Irland">Irland</OPTION>
<OPTION value="Italien">Italien</OPTION>
<OPTION value="Lettland">Lettland</OPTION>
<OPTION value="Litauen">Litauen</OPTION>
<OPTION value="Luxemburg">Luxemburg</OPTION>
<OPTION value="Malta">Malta</OPTION>
<OPTION value="Niederlande">Niederlande</OPTION>
<OPTION value="Österreich">Österreich</OPTION>
<OPTION value="Polen">Polen</OPTION>
<OPTION value="Portugal">Portugal</OPTION>
<OPTION value="Schweden">Schweden</OPTION>
<OPTION value="Slowakei">Slowakei</OPTION>
<OPTION value="Slowenien">Slowenien</OPTION>
<OPTION value="Spanien">Spanien</OPTION>
<OPTION value="Tschechische Republik">Tschechische Republik</OPTION>
<OPTION value="Ungarn">Ungarn</OPTION>
<OPTION value="England und Nordirland">England und Nordirland</OPTION>
<OPTION value="Zypern">Zypern</OPTION>
<OPTION></OPTION>
<OPTION> NO-EU-LÄNDER</OPTION>
<OPTION value="Andorra">Andorra</OPTION>
<OPTION value="Liechtenstein">Liechtenstein</OPTION>
<OPTION value="Monaco">Monaco</OPTION>
<OPTION value="Norwegen">Norwegen</OPTION>
<OPTION value="Russland">Rußland</OPTION>
<OPTION value="Schweiz">Schweiz</OPTION>
<OPTION value="Ukraine">Ukraine</OPTION>
<OPTION></OPTION>
</SELECT>
</td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img08" id="img08">
Telefon:</font></td>
<td class=bm2>
<input value "ss" type="text" name="PHONEWORK" maxlength="50" size="40" class="bm5" onChange="testPHONEWORK()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">Telefax:</font></td>
<td class=bm2><input type="text" name="FAX" maxlength="50" size="40" class="bm5"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img09" id="img09">
E-Mail:</font></td>
<td class=bm2>
<input value "ss" type="text" name="EMAIL" maxlength="50" size="40" class="bm5" onChange="testEMAIL()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img10" id="img10">
wiederholen Sie Ihre E-Mail:</font></td>
<td class=bm2>
<input value "ss" type="text" name="ALTFIELD2" maxlength="50" size="40" class="bm5" onChange="testALTFIELD2()"></td>
</tr>
<tr>
<td class=bm2 align=right><font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img11" id="img11">
Homepage:</font></td>
<td class=bm2>
<input type="text" name="URL" value="http://" maxlength="50" size="40" class="bm5" onChange="testURL()">
</tr>
<tr>
<td class=bm2 align=right>AGB:</td>
<td class=bm2 align=left><textarea class=bm5 rows="10" cols="80" name="agb1">
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
</textarea></td>
</tr>
<tr>
<td class=bm2 align=right></td>
<td class=bm2 align=left>
<img src="stern_an.gif" alt="" width="13" height="13" border="0" name="img12" id="img12">
<input type="checkbox" name="AGB" onsubmit="testAGB()">AGB gelesen und akzeptiert.
<font face="Arial" size="2" color="#000000">
<img src="stern_an.gif" alt="" width="13" height="13" border="0">= Pflichtfelder</font></td>
</tr>
<tr>
<td class=bm2 align=right>
</td>
</tr>
</div>
<tr>
<td class=bm2 colspan=2 align=center>
<input type="button" value="Weiter" class="bm5" onClick="if(allRight()) bestaetigung();">
<input type="reset" value="Zuruecksetzen" class="bm5"><br>
</td>
</tr>
</td>
</td>
</tr>
</table>
</table>
</form>
</pre>
<script type="text/javascript">
<!--
var t1=document.Form1.COMPANY;
var t2=document.Form1.ALTFIELD3;
var t3=document.Form1.LASTNAME;
var t4=document.Form1.ADDRESS;
var t5=document.Form1.POSTALCODE;
var t6=document.Form1.CITY;
var t7=document.Form1.COUNTRY;
var t8=document.Form1.PHONEWORK;
var t9=document.Form1.EMAIL;
var t10=document.Form1.ALTFIELD2;
var t11=document.Form1.URL;
var t12=document.Form1.AGB;
//-->
</script>
<br><br><br><br><br><br>
<!--<body>-->
<!--Geladen von http://www.Ehmig.net -->
<!-- Webmasters World -->
<style>
.#PCL { font-family: Arial,Helvetica; text-decoration: none; font-size: 11px; letter-spacing: 1px; word-spacing: 1px }
.#PTT { font-family: Arial,Helvetica; font-size: 11px; letter-spacing: 1px; word-spacing: 1px }
.#PST { font-family: Arial,Helvetica; font-size: 11px; letter-spacing: 1px; word-spacing: 1px }
</style>
<div id="overDiv" style="position:absolute; visibility:hide;"></div>
<script language="JavaScript">
<!--
if (typeof fcolor == 'undefined') { var fcolor = "#FFFBF5";} // Hintergrundfarbe der Info
if (typeof backcolor == 'undefined') { var backcolor = "#FDAD57";} // Rand & Überschrifthintergrund
if (typeof textcolor == 'undefined') { var textcolor = "#000000";} // Schriftfarbe der Info
if (typeof capcolor == 'undefined') { var capcolor = "#FFFFFF";} // Farbe der Überschrift
if (typeof closecolor == 'undefined') { var closecolor = "#000000";} // Farbe des "Close"
if (typeof width == 'undefined') { var width = "200";} // Tabellenweite
if (typeof border == 'undefined') { var border = "1";} // Tabellenrand
if (typeof offsetx == 'undefined') { var offsetx = 11;}
if (typeof offsety == 'undefined') { var offsety = 11;}
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;
var tr = 1;
if ( (ns4) || (ie4) ) {
if (ns4) over = document.overDiv
if (ie4) over = overDiv.style
document.onmousemove = mouseMove
if (ns4) document.captureEvents(Event.MOUSEMOVE)
}
function drs(text) {
dts(1,text);
}
function drc(text, title) {
dtc(1,text,title);
}
function src(text,title) {
stc(1,text,title);
}
function dls(text) {
dts(0,text);
}
function dlc(text, title) {
dtc(0,text,title);
}
function slc(text,title) {
stc(0,text,title);
}
function dcs(text) {
dts(2,text);
}
function dcc(text, title) {
dtc(2,text,title);
}
function scc(text,title) {
stc(2,text,title);
}
function nd() {
if ( cnt >= 1 ) { sw = 0 };
if ( (ns4) || (ie4) ) {
if ( sw == 0 ) {
snow = 0;
hideObject(over);
} else {
cnt++;
}
}
}
function dts(d,text) {
txt = "<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=\""+backcolor+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\""+fcolor+"\"><TR><TD><SPAN ID=\"PST\"><FONT COLOR=\""+textcolor+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>"
layerWrite(txt);
dir = d;
disp();
}
function dtc(d,text, title) {
txt = "<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=\""+backcolor+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><SPAN ID=\"PTT\"><B><FONT COLOR=\""+capcolor+"\">"+title+"</FONT></B></SPAN></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\""+fcolor+"\"><TR><TD><SPAN ID=\"PST\"><FONT COLOR=\""+textcolor+"\">"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE>"
layerWrite(txt);
dir = d;
disp();
}
function stc(d,text, title) {
sw = 1;
cnt = 0;
txt = "<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=\""+backcolor+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><SPAN ID=\"PTT\"><B><FONT COLOR=\""+capcolor+"\">"+title+"</FONT></B></SPAN></TD><TD ALIGN=RIGHT><A HREF=\"javascript:;\" onClick=\"cClick();\" ID=\"PCL\"><FONT COLOR=\""+closecolor+"\">Close </FONT></A></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\""+fcolor+"\"><TR><TD><SPAN ID=\"PST\"><FONT COLOR=\""+textcolor+"\">"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE>"
layerWrite(txt);
dir = d;
disp();
snow = 0;
}
function disp() {
if ( (ns4) || (ie4) ) {
if (snow == 0) {
if (dir == 2) {
moveTo(over,x+offsetx-(width/2),y+offsety);
}
if (dir == 1) {
moveTo(over,x+offsetx,y+offsety);
}
if (dir == 0) {
moveTo(over,x-offsetx-width,y+offsety);
}
showObject(over);
snow = 1;
}
}
}
function mouseMove(e) {
if (ns4) {x=e.pageX; y=e.pageY}
if (ie4) {x=event.x; y=event.y}
if (snow) {
if (dir == 2) {
moveTo(over,x+offsetx-(width/2),y+offsety);
}
if (dir == 1) {
moveTo(over,x+offsetx,y+offsety);
}
if (dir == 0) {
moveTo(over,x-offsetx-width,y+offsety);
}
}
}
function cClick() {
hideObject(over);
sw=0;
}
function layerWrite(txt) {
if (ns4) {
var lyr = document.overDiv.document
lyr.write(txt)
lyr.close()
}
else if (ie4) document.all["overDiv"].innerHTML = txt
if (tr) { }
}
function showObject(obj) {
if (ns4) obj.visibility = "show"
else if (ie4) obj.visibility = "visible"
}
function hideObject(obj) {
if (ns4) obj.visibility = "hide"
else if (ie4) obj.visibility = "hidden"
}
function moveTo(obj,xL,yL) {
obj.left = xL
obj.top = yL
}
//--->
</script>
<body>
</body>
</html>
Viele Grüsse aus Frankreich
Airis