// -------------------------------------------------------------
// File     : products_search2.js
// Author   : F. Nembrini
// Company  : (C) Quarcom Teleinformatics
// Date     : May 10, 2006
// Modified : March 27, 2008
// Aim      : Manage DigitalTuning scripts
// -------------------------------------------------------------

function searchMake(form)
{
  if(form.model_id != undefined)
    form.model_id.options[form.model_id.selectedIndex].value = '';
  
  if(form.type_id != undefined)
    form.type_id.options[form.type_id.selectedIndex].value = '';
  
  form.method = "post";
  form.submit();
} // end searchMake()

function searchModel(form)
{
  if(form.type_id != undefined)
    form.type_id.options[ form.type_id.selectedIndex].value = '';
  
  form.method = "post";
  form.submit();
} // end searchModel()

function resetDP(form)
{
  form.cm3.selectedIndex = 0;
  form.p_ori.selectedIndex = 0;
  form.np_ori.selectedIndex = 0;
  form.c_ori.selectedIndex = 0;
  form.nc_ori.selectedIndex = 0;
  
  form.submit();
} // end resetDP()

function resetP(form)
{
  form.p_ori.selectedIndex = 0;
  form.np_ori.selectedIndex = 0;
  form.c_ori.selectedIndex = 0;
  form.nc_ori.selectedIndex = 0;

  form.submit();
} // end resetP()

function searchEng(form)
{
  form.submit();
} // end searchEng()



