vanrooijen
Gebruiker
- Lid geworden
- 7 jan 2007
- Berichten
- 16
Hallo hieronder het java script van een bestel formulie. Als de bestelling is afgerond opent dit script een pagina äntwoord.htm". Dit doet deze echter in een geminimaliseerd venster terwijl ik dit graag in een volledig web pagina wil. Welke variabele moet ik aanpassen?
// RESETTEN VAN DE VARIABELEN
var aantal=0;
var bedrag=0;
var subtotaal=0;
var totaal=0;
// OPMAKEN POPUP: HTML, HEAD, TITLE
function BestelLijst() {
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("")
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','html','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','head','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','title>',' ... EVEN GEDULD TOT DE FACTUUR IS OPGEMAAKT ... ','<','/title>','\n')
// SCRIPT VOOR CONTROLE OP GELDIG EMAIL-ADRES
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','script language=\"Javascript\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('function FControle','(formulier)',' {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('if','(formulier.Emailadres.value.length <= 6 ||')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'@\'\, 0) == -1 ||','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'.\'\, 0) == -1')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('){','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert(\" Je hebt geen geldig e-mailadres ingevuld.\")','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return false;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('else {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert (\"OK om te versturen? \")','\n')
// ***********************************************************************************
// * HOE WORDT HET FORMULIER VERSTUURD? INDIEN MET MAILTO: JOUW EMAIL-ADRES INVULLEN *
// ***********************************************************************************
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.action=\"mailto:info@bodycontroltynaarlo.nl\"','\n')
// ***************************************************************************************************
// * DE URL VAN DE BEDANKINGSPAGINA INVULLEN ("antwoord.htm" VERVANGEN DOOR DE NAAM VAN JOUW PAGINA) *
// ***************************************************************************************************
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('location.href=\"antwoord.htm"','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return true;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','/script>','<','/head>','\n')
// EINDE SCRIPT, EINDE HEAD, BEGIN BODY MET ACHTERGRONDKLEUR EN TEKSTKLEUR
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write('<','body')
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write(' bgcolor=\"#FFFFFF\" text=\"black\">')
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write('<','div align=\"center\">','\n')
// BEGIN TABEL JOUW BESTELLING
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','table border=0 cellpadding=0 cellspacing=0 width=400>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>JOUW BESTELLING<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','form name=\"formulier\" method=\"post\" enctype=\"text/plain\" onsubmit=\"JavaScript:return FControle(this);\">','\n')
// SCRIPT VOOR DE BEREKENING VAN PRODUCTEN EN PRIJZEN
// ******************************************************************************
// * 26 IS HET AANTAL PRODUCTEN: DIT GETAL AANPASSEN AAN JOUW AANTAL PRODUCTEN ! *
// ******************************************************************************
for (i=0;i<=26;i++){
if (document.tel.producten.checked){
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=300 colspan=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"',(i+1),'\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.producten.value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.producten.value);
// REGEL TOEGEVOEGD VOOR DE WEERGAVE VAN DE OPTIES IN HET BESTELFORMULIER:
// vanaf hier bijgevoegd
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' ' +document.tel.keuze.value);
// tot hier bijgevoegd
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.aantaly.value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" stuks ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" = ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" € ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Aantal stuks','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.aantaly.value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=50>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
aantal= (document.tel.aantaly.value);
bedrag= (document.tel.prijs.value);
subtotaal= aantal*bedrag;
totaal+=subtotaal ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(subtotaal.toFixed(2));
subtotaal=0 ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br>');
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
}
else {}
// ***********************************************************************************
// * 25 IS HET AANTAL PRODUCTEN - 1 : DIT GETAL AANPASSEN AAN JOUW AANTAL PRODUCTEN ! *
// ***********************************************************************************
if (i==25) break ;}
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td colspan=5>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br><font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','checkbox','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal bedrag','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(totaal),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' checked>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("<b>totaal: "+" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2));
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" EURO incl.btw<\/b>");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><br><br>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
// BEGIN BESTELFORMULIER: NAAM, TELEFOON, EMAIL, ADRES
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>BESTELFORMULIER<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=170 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=1 colspan=5 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Naam: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Naam besteller\" maxlength=\"20\"> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Telefoon: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=\"2\" color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=\"text\" name=\"Telefoon\" maxlength=20 size=20><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('</tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">E-mail: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Emailadres\" maxlength=\"30\" size=\"25\"><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 valign=\"top\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b></\font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">Adres: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 valign=\"middle\" colspan=4 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','textarea name=\"Besteladres\" rows=4 cols=40><\/textarea> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
// AANMAKEN VERZENDKNOP
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=500 height=12 align=\"center\" valign=\"middle\" colspan=\"5\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"submit\" name=\"Submit\" value=\"Versturen\"> <\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
// AFSLUITEN FORMULIER, TABEL, BODY, HTML
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}
// RESETTEN VAN DE VARIABELEN
var aantal=0;
var bedrag=0;
var subtotaal=0;
var totaal=0;
// OPMAKEN POPUP: HTML, HEAD, TITLE
function BestelLijst() {
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("")
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','html','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','head','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','title>',' ... EVEN GEDULD TOT DE FACTUUR IS OPGEMAAKT ... ','<','/title>','\n')
// SCRIPT VOOR CONTROLE OP GELDIG EMAIL-ADRES
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','script language=\"Javascript\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('function FControle','(formulier)',' {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('if','(formulier.Emailadres.value.length <= 6 ||')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'@\'\, 0) == -1 ||','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'.\'\, 0) == -1')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('){','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert(\" Je hebt geen geldig e-mailadres ingevuld.\")','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return false;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('else {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert (\"OK om te versturen? \")','\n')
// ***********************************************************************************
// * HOE WORDT HET FORMULIER VERSTUURD? INDIEN MET MAILTO: JOUW EMAIL-ADRES INVULLEN *
// ***********************************************************************************
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.action=\"mailto:info@bodycontroltynaarlo.nl\"','\n')
// ***************************************************************************************************
// * DE URL VAN DE BEDANKINGSPAGINA INVULLEN ("antwoord.htm" VERVANGEN DOOR DE NAAM VAN JOUW PAGINA) *
// ***************************************************************************************************
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('location.href=\"antwoord.htm"','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return true;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','/script>','<','/head>','\n')
// EINDE SCRIPT, EINDE HEAD, BEGIN BODY MET ACHTERGRONDKLEUR EN TEKSTKLEUR
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write('<','body')
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write(' bgcolor=\"#FFFFFF\" text=\"black\">')
window.open("","win","left=10,top=10,width=900,height=525,scrollbars=yes,resizable=yes").document.write('<','div align=\"center\">','\n')
// BEGIN TABEL JOUW BESTELLING
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','table border=0 cellpadding=0 cellspacing=0 width=400>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>JOUW BESTELLING<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','form name=\"formulier\" method=\"post\" enctype=\"text/plain\" onsubmit=\"JavaScript:return FControle(this);\">','\n')
// SCRIPT VOOR DE BEREKENING VAN PRODUCTEN EN PRIJZEN
// ******************************************************************************
// * 26 IS HET AANTAL PRODUCTEN: DIT GETAL AANPASSEN AAN JOUW AANTAL PRODUCTEN ! *
// ******************************************************************************
for (i=0;i<=26;i++){
if (document.tel.producten.checked){
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=300 colspan=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"',(i+1),'\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.producten.value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.producten.value);
// REGEL TOEGEVOEGD VOOR DE WEERGAVE VAN DE OPTIES IN HET BESTELFORMULIER:
// vanaf hier bijgevoegd
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' ' +document.tel.keuze.value);
// tot hier bijgevoegd
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.aantaly.value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" stuks ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" = ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" € ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Aantal stuks','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.aantaly.value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=50>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
aantal= (document.tel.aantaly.value);
bedrag= (document.tel.prijs.value);
subtotaal= aantal*bedrag;
totaal+=subtotaal ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(subtotaal.toFixed(2));
subtotaal=0 ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br>');
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
}
else {}
// ***********************************************************************************
// * 25 IS HET AANTAL PRODUCTEN - 1 : DIT GETAL AANPASSEN AAN JOUW AANTAL PRODUCTEN ! *
// ***********************************************************************************
if (i==25) break ;}
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td colspan=5>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br><font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','checkbox','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal bedrag','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(totaal),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' checked>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("<b>totaal: "+" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2));
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" EURO incl.btw<\/b>");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><br><br>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
// BEGIN BESTELFORMULIER: NAAM, TELEFOON, EMAIL, ADRES
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>BESTELFORMULIER<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=170 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=1 colspan=5 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Naam: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Naam besteller\" maxlength=\"20\"> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Telefoon: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=\"2\" color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=\"text\" name=\"Telefoon\" maxlength=20 size=20><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('</tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">E-mail: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Emailadres\" maxlength=\"30\" size=\"25\"><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 valign=\"top\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b></\font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">Adres: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 valign=\"middle\" colspan=4 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','textarea name=\"Besteladres\" rows=4 cols=40><\/textarea> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
// AANMAKEN VERZENDKNOP
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=500 height=12 align=\"center\" valign=\"middle\" colspan=\"5\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"submit\" name=\"Submit\" value=\"Versturen\"> <\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
// AFSLUITEN FORMULIER, TABEL, BODY, HTML
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}