<!--
 function checkKeywords()
 {
   frm = document.qSearch;            
   if (!validateMandatoryFields(frm, 'CARS'))
   {
     return false;
   }
   else
   {
     if (frm.keywords && frm.keywords.value =='Keywords e.g. Blue')
     {
       frm.keywords.value = '';
     }
     if (frm.variant && frm.variant.value == 'Trim e.g. GTi or TDi')
     {
       frm.variant.value = '';
     }
     return true;
   }
 }

 function doLists()  
 {
   num++;
   if (num < 100)  
   {
     if (typeof get_makes == 'function' && typeof get_range =='function' && typeof _model=='object' && typeof make_v=='object' && typeof make_d=='object')
     {
       get_makes('');
       if (document.qSearch && document.qSearch.make && typeof document.qSearch.make.selectedIndex == 'number')  
       {
         mkIndex = document.qSearch.make.selectedIndex;
       }
       get_range(_model[mkIndex], '');
       clearInterval(interval);
     }
   }
   else 
   {
     clearInterval(interval);
   }
 }
 interval=setInterval("doLists()", 100);
-->