// winkelwagentje.js

var aantal=0; 
var bedrag=0; 
var subtotaal=0; 
var totaal=0;
var totaal2=0;
var totaal3=0;
var transporte=0;
var transporte1=0;
var transporte2=0;
var transporte3=0;
var transporte4=0;
var transporte5=0;
var cobranca=0;
var subtotaal_aantal=0; 
var totaal_aantal=0;

// hier wordt het bestelformulier gemaakt

function BestelLijst() {
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes");
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("") 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0\/\/EN\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','html','>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','head','>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','title>','        ... Um momento, a sua conta será feito ...     ','<','/title>','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','link href=\"styles.css\" rel=\"stylesheet\" type=\"text/css\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','script language=\"Javascript\">','\n')
// controle op een geldig email-adres

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('function FControle','(formulier)',' {','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('if','(formulier.Emailadres.value.length <= 6 ||')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'@\'\, 0) == -1 ||','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'.\'\, 0) == -1')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('){','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('alert(\"Se faz favor, preencha um adresso de e-mail válido\")','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('return false;','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('else {','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('formulier.action=\"compras.php\"','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('return true;','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','/script>','<','/head>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','body>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','form name=\"formulier\" method=\"post\" onsubmit=\"return FControle(this);\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','div class=\"conta\" align=\"center\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','table width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"  align=\"center\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"80\" colspan=\"7\" valign="\bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><img src=\"afb/encomenda.gif\" width=\"300\" height=\"58\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/p><\/td><\/tr>','\n')

for (i=0;i<=37;i++){ //5 aanpassen aan het aantal producten !

if (document.tel.aantaly[i].value >0){ 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"20\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"285\" align=\"left\" class=\"style2\">','\n')
code= (i+1);
aantal= (document.tel.aantaly[i].value); 
bedrag= (document.tel.prijs[i].value);
product= (document.tel.producten[i].value);
subtotaal_aantal= parseInt(aantal);
totaal_aantal=totaal_aantal+subtotaal_aantal;
subtotaal= aantal*bedrag;
totaal+=subtotaal ;
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Product[]','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.producten[i].value),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(document.tel.producten[i].value); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"60\" align=\"right\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Aantal[]','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.aantaly[i].value),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(document.tel.aantaly[i].value); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" x "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" = &nbsp;"); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" € "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"45\" align=\"right\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(subtotaal.toFixed(2)); 
subtotaal=0 ; 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"160\" colspan=\"3\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
}

if (i==36) break ; //hier aanpassen !: 4 =( aantal producten - 1 )
}

if (totaal_aantal ==1){
	
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"70\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"390\" colspan=\"3\" align=\"left\" class=\"style4">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(totaal_aantal),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Bedrag','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(totaal.toFixed(2)),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" "+" "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(totaal_aantal); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" artigo =");
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"40\" align=\"right\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("€ ")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"70\" align=\"right\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2)); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}
else if (totaal_aantal >1 && totaal_aantal <50){

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height="70">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"390\" colspan=\"3\" align=\"left\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(totaal_aantal),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Bedrag','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(totaal.toFixed(2)),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" "+" "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(totaal_aantal); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" artigos =");
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"40\" align=\"right\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("€ ")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"70\" align=\"right\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2)); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}
else if (totaal_aantal >49){

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"30\" colspan=\"7\">','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}

if (totaal >1.00 && totaal <50.00){

transporte2= 0.00;
transporte= transporte2;
totaal2= totaal+transporte;
}
else if (totaal >50.00 && totaal_aantal <50){

transporte3= 0.00;
transporte= transporte3;
totaal2= totaal+transporte;
}

if (document.betaal.radiob[3].checked == true && totaal >1.00 && totaal <50.00){

transporte4= 2.00;
transporte= transporte4;
totaal2= totaal+transporte;
}
else if (document.betaal.radiob[3].checked == true && totaal >50.00 && totaal_aantal <50){

transporte5= 0.00;
transporte= transporte5;
totaal2= totaal+transporte;
}

if (totaal_aantal >0 && totaal_aantal <50){

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"30\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"390\" colspan=\"3\" align=\"left\" class=\"style5\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("Despesas de porte:")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"40\" align=\"right\" class=\"style5\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("€ ")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"70\" align=\"right\" class=\"style5\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Transport','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(transporte.toFixed(2)),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(" "+" "); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(transporte.toFixed(2)); 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" colspan=\"7\" >','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"bottom\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"20\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"390\" colspan=\"3\" align=\"left\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("<u>Total para pagar:<\/u>")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"40\" align=\"right\" class=\"style4\">','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(' name=','\"','Total','\"',' value=')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('\"',(totaal2.toFixed(2)),'\"')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write("<u>€<\/u>")
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"70\" align=\"right\" class=\"style4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write(totaal2.toFixed(2));
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/u>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"30\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr valign=\"middle\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"70\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><img src=\"afb/dados.gif\" width=\"450\" height=\"40\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/p><\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Nome:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Naam\" maxlength=\"50\" size=\"50\"><\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Morada:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Adres\" maxlength=\"50\" size=\"50\"><\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Codigo Postal/Localidade:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"PC-Plaats\" maxlength=\"50\" size=\"50\"><\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Telefone:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Telefoon\" maxlength=\"50\" size=\"50\"><\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')

if (document.betaal.radiob[1].checked == true){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Forma do pagamento:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"radio\" name=\"Betaalwijze\" value=\"cheque\" checked > Cheque/Vale postal','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}
else if (document.betaal.radiob[2].checked == true){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Forma do pagamento:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"radio\" name=\"Betaalwijze\" value=\"banco\" checked > Transferência bancária','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}
else if (document.betaal.radiob[3].checked == true){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">Forma do pagamento:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"radio\" name=\"Betaalwijze\" value=\"cobranca\" checked > À cobrança','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
}
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" height=\"60\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style3\">E-mail:*<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=\"middle\" colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style2\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Emailadres\" maxlength=\"50\" size=\"50\"><\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')


window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" valign=\"middle\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\" class=\"style9\">Envia-me uma copia deste pedido:<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" valign=middle colspan=\"4\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"checkbox\" name=\"stuurkopie\" value=\"1\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\" bgcolor=\"#E7DBDE\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('</tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" bgcolor=\"#E7DBDE\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"260\" height=\"12\" align=\"center\" valign=\"middle\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"submit\" name=\"Submit\" class=\"style3\" value=\"Enviar\"> <\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"240\" height=\"12\" align=\"center\" valign=\"middle\" colspan=\"4\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"reset\" name=\"Reset\" class=\"style3\" value=\"Limpar\"> <\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"50\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" align=\"center\" valign=\"middle\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
}

else if (totaal_aantal >49){

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"50\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"120\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><img src=\"afb/mais.gif\" width=\"500\" height=\"107\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/p><\/td><\/tr>','\n')

window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"250\" align=\"center\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\">','\n') 
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','input type=\"button\" name=\"Fechar\" class=\"style5\" value=\"Fechar página\" onClick=\"window.close()\"> <\/p><\/td>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}

if (document.betaal.radiob[1].checked == true && totaal_aantal <50){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"150\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\" class=\"style11\">Envie o seu cheque ou vale postal em:<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('P. van Zwol - O Quintal<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('Apt. Garatuja 5372<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('7630-445 São Luís - Odemira<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<i>A ordem de:<\/i> P. van Zwol<\/p>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}
else if (document.betaal.radiob[2].checked == true && totaal_aantal <50){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"150\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\" class=\"style11\">Os nossos dados bancário:<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('P. van Zwol de Jong<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('São Luís - Odemira <br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<i>Nome do banco:<\/i> &nbsp;Millenium <i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swift:<\/i> &nbsp;BCOMPTPL<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<i>No. da conta:<\/i> &nbsp;&nbsp;0033 0000 45356685319 05<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<i>IBAN:<\/i> &nbsp;&nbsp;PT50 0033 0000 45356685319 05<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<i>A menção de:<\/i> &nbsp;&nbsp;o seu nome e a data de pedido<\/p><\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"20\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}
else if (document.betaal.radiob[3].checked == true && totaal_aantal <50){
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"80\" colspan=\"7\" bgcolor=\"#693937\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<p align=\"center\" class=\"style11\">Obrigado para a sua encomenda<br>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('O seu pedido será enviado dentro 2 dias úteis<\/p>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<td width=\"600\" height=\"10\" colspan=\"7\">','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=0,width=750,height=750,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}
}









