<!-- ============== ESCOLHIDAS=========================================================================================== -->
var quadrados = document.valores.valores_qtde.value;
{
document.write('<table border=0 width=100% border=0 cellspacing=0 cellpadding=0><tr><td background=../../img/fundomoeda.gif><center>')
  for(w=0; w< (quadrados)-1; w++)
  {
    document.write('<input size="2" name=N'+w+'  onChange=ReCheck('+w+') onFocus=nextfield=N'+(w+1)+' maxlength="2" >');
      if(w==11|w==23|w==35|w==47|w==59|w==71|w==83|w==95)
       {document.write('<br>');};
   }
         document.write('<input size="2" name=N'+(w)+'  onChange=ReCheck'+(w)+' maxlength="2" >');
   
   
   if (12 >= (quadrados))
   for (p=(quadrados);p< 12; p++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
   else if (24 >= (quadrados))
   for (p1=(quadrados);p1< 24; p1++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
   else if (36 >= (quadrados))
   for (p2=(quadrados);p2< 36; p2++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
    else if (48 >= (quadrados))
   for (p3=(quadrados);p3< 48; p3++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
    else if (60 >= (quadrados))
   for (p4=(quadrados);p4< 60; p4++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
    else if (72 >= (quadrados))
   for (p5=(quadrados);p5< 72; p5++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
    else if (84 >= (quadrados))
   for (p6=(quadrados);p6< 84; p6++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
    else if (96 >= (quadrados))
   for (p7=(quadrados);p7< 96; p7++)   {document.write('<input size="2" name="ee" maxlength="2" disabled>')}
                     
document.write('</center></td></tr></table>')
}
<!-- ================== FIM DAS ESCOLHIDAS ================================================================================ -->



function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Megabolao - Combinações & Fechamentos \n Site: http://www.megabolao.com \n e-mail: mega@megabolao.com ");
return false;
}
return true;
}
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


function sfocus()
{
document.form1.N1.select();
document.form1.N1.focus();
return;
}

