 window.name='jobDisplay';
 
function jobsIndustryListOptions(list,source)
{
  clear_selection(list);
  list.options.length = 0;

  if (source == '')
  {
    list.options[0] = new Option("Select","0");	
    list.options[1] = new Option('Accountancy','1');
	list.options[2] = new Option('Banking','2');
	list.options[3] = new Option('Construction','5');
	list.options[4] = new Option('Consultancy','3');
	list.options[5] = new Option('Education','4');
	list.options[6] = new Option('Engineering','5');
	list.options[7] = new Option('Energy','18');
	list.options[8] = new Option('Finance','2');
	list.options[9] = new Option('Financial Services','17');
	list.options[10] = new Option('Graduate','6');
	list.options[11] = new Option('HR','7');
	list.options[12] = new Option('Hospitality','16');
	list.options[13] = new Option('IT','8');
	list.options[14] = new Option('Legal','9');
	list.options[15] = new Option('Leisure','16');
	list.options[16] = new Option('Logistics','15');
	list.options[17] = new Option('Marketing','10');
	list.options[18] = new Option('Manufacturing','5');
	list.options[19] = new Option('Media','10');
	list.options[20] = new Option('Procurement','15');
	list.options[21] = new Option('Public','11');
	list.options[22] = new Option('Retail','12');
	list.options[23] = new Option('Sales','13');
	list.options[24] = new Option('Secretarial','14');
	list.options[25] = new Option('Supply Chain','15');
	list.options[26] = new Option('Telecoms','8');
}
  else 
  {
    
      if (source == 'TIMES APPOINTMENTS')
      { 
    list.options[0] = new Option("Select","");	
    list.options[1] = new Option('Accounting','2315');
	list.options[2] = new Option('Banking and Finance','462');
	list.options[3] = new Option('Consultancy','1878');
	list.options[4] = new Option('Education','465');
	list.options[5] = new Option('Engineering /  Building / Manufacturing','463');
	list.options[6] = new Option('Executive and General Management','467');
	list.options[7] = new Option('Graduates','466');
	list.options[8] = new Option('Human Resources','456');
	list.options[9] = new Option('IT & Telecoms','461');
	list.options[10] = new Option('Legal','460');
	list.options[11] = new Option('Public Sector','464');
	list.options[12] = new Option('Retail','1880');
	list.options[13] = new Option('Sales and Marketing and Media','457');
	list.options[14] = new Option('Secretarial and Administration','455');
	 }
    
      if (source == 'SUNDAY TIMES APPOINTMENTS')
      { 
        list.options[0] = new Option("Select","");	
        list.options[1] = new Option('Accounting','2315');
	list.options[2] = new Option('Banking and Finance','462');
	list.options[3] = new Option('Consultancy','1878');
	list.options[4] = new Option('Education','465');
	list.options[5] = new Option('Engineering /  Building / Manufacturing','463');
	list.options[6] = new Option('Executive and General Management','467');
	list.options[7] = new Option('Graduates','466');
	list.options[8] = new Option('Human Resources','456');
	list.options[9] = new Option('IT & Telecoms','461');
	list.options[10] = new Option('Legal','460');
	list.options[11] = new Option('Public Sector','464');
	list.options[12] = new Option('Retail','1880');
	list.options[13] = new Option('Sales and Marketing and Media','457');
	 }
    
      if (source == 'CREME')
      { 
        list.options[0] = new Option("All Below....","");	
        list.options[1] = new Option('Secretarial and Administration','455');
	 }
    
      if (source == 'LAW')
      { 
        list.options[0] = new Option("All Below....","");	
        list.options[1] = new Option('Legal','460');
	 }
    
      if (source == 'PUBLIC')
      { 
        list.options[0] = new Option("All Below....","");	
        list.options[1] = new Option('Public Sector','464');
	 }
    
      if (source == 'GRADUATE')
      { 
        list.options[0] = new Option("All Below....","");	
        list.options[1] = new Option('Graduates','466');
	 }
    
      if (source == 'EIRE')
      { 
        list.options[0] = new Option("All Below....","");	
         }
    
      if (source == 'NON PRINT')
      { 
        list.options[0] = new Option("All Below....","");	
         }
    
      if (source == 'NON PRINT-SUNDAY TIMES')
      { 
        list.options[0] = new Option("All Below....","");	
         }
    
      if (source == 'NON PRINT-TIMES')
      { 
        list.options[0] = new Option("All Below....","");	
         }
     }
  list.options.selectedIndex=0;
};

function jobsIndustryGetValues (source)
{

  
  if (source == 'TIMES APPOINTMENTS')
  { 
    return '2315,462,1878,465,463,467,466,456,461,460,464,1880,457,455';	
  }
  
  if (source == 'SUNDAY TIMES APPOINTMENTS')
  { 
    return '2315,462,1878,465,463,467,466,456,461,460,464,1880,457';	
  }
  
  if (source == 'CREME')
  { 
    return '455';	
  }
  
  if (source == 'LAW')
  { 
    return '460';	
  }
  
  if (source == 'PUBLIC')
  { 
    return '464';	
  }
  
  if (source == 'GRADUATE')
  { 
    return '466';	
  }
  
  if (source == 'EIRE')
  { 
    return '';	
  }
  
  if (source == 'NON PRINT')
  { 
    return '';	
  }
  
  if (source == 'NON PRINT-SUNDAY TIMES')
  { 
    return '';	
  }
  
  if (source == 'NON PRINT-TIMES')
  { 
    return '';	
  }
  };

function jobsProductListOptions(list)
{
  clear_selection(list);
  list.options.length = 0;

  list.options[0] = new Option("The Times and The Sunday Times","");	
   
    list.options[1] = new Option("The Times","TT");
  
    list.options[2] = new Option("The Sunday Times","ST");
   list.options.selectedIndex=0;
};

function jobsSalaryListOptions(list)
{
  clear_selection(list);
  list.options.length = 0;

  list.options[0] = new Option("Select","0");	
   
    list.options[1] = new Option("Not Specified","1");	
  
    list.options[2] = new Option("Under £19,999","2");	
  
    list.options[3] = new Option("£20 - 24,999","3");	
  
    list.options[4] = new Option("£25 - 29,999","4");	
  
    list.options[5] = new Option("£30 - 39,999","5");	
  
    list.options[6] = new Option("£40 - 49,999","6");	
  
    list.options[7] = new Option("£50 - 74,999","7");	
  
    list.options[8] = new Option("£75 - 99,999","8");	
  
    list.options[9] = new Option("£100,000 +","9");	
  
    list.options[10] = new Option("Per Hour","10");	
   list.options.selectedIndex=0;
};

function jobsLocationListOptions(list)
{
  clear_selection(list);
  list.options.length = 0;

  list.options[0] = new Option("Select","0");
   
    list.options[1] = new Option("Not Specified","16");	
  
    list.options[2] = new Option("London","2");	
  
    list.options[3] = new Option("South East","3");	
  
    list.options[4] = new Option("Yorkshire","4");	
  
    list.options[5] = new Option("Midlands","5");	
  
    list.options[6] = new Option("North East","6");	
  
    list.options[7] = new Option("North West","7");	
  
    list.options[8] = new Option("South West","8");	
  
    list.options[9] = new Option("Scotland","9");	
  
    list.options[10] = new Option("Wales","10");	
  
    list.options[11] = new Option("Ireland","11");	
  
    list.options[12] = new Option("Channel Islands","12");	
  
    list.options[13] = new Option("Europe","13");	
  
    list.options[14] = new Option("USA","14");	
  
    list.options[15] = new Option("Other","15");	
   list.options.selectedIndex=0;
};


function jobsSalaryChannelListOptions(list,source)
{
  clear_selection(list);
  list.options.length = 0;

  list.options[0] = new Option("All Below....","");
	
  
    
	  if (source == 'TIMES APPOINTMENTS')
      {
	    i = 1;
	    
          list.options[i++] = new Option("Not Specified","22");	
        
          list.options[i++] = new Option("Under £19,999","19");	
        
          list.options[i++] = new Option("£20 - 24,999","16");	
        
          list.options[i++] = new Option("£25 - 29,999","17");	
        
          list.options[i++] = new Option("£30 - 39,999","15");	
        
          list.options[i++] = new Option("£50 - 74,999","20");	
         }
     
    
	  if (source == 'SUNDAY TIMES APPOINTMENTS')
      {
	    i = 1;
	    
          list.options[i++] = new Option("Not Specified","22");	
        
          list.options[i++] = new Option("£50 - 74,999","20");	
        
          list.options[i++] = new Option("£75 - 99,999","23");	
        
          list.options[i++] = new Option("£100,000 +","24");	
         }
     
     
     
     
     
     
     
     
      list.options.selectedIndex=0;
};

function jobsLocationChannelListOptions(list,source)
{
  clear_selection(list);
  list.options.length = 0;
  
  list.options[0] = new Option("All Below....","");
	
  
     
     
     
     
     
     
    
	  if (source == 'EIRE')
      {
	    i = 1;
	    
          list.options[i++] = new Option("Ireland","13");	
         }
     
     
     
      list.options.selectedIndex=0;
};

function clear_selection(list)
{
   for (i=0; i < list.options.length; i++){
 		list.options[i] = new Option("","");
   };
};

 