
 function get_input_arraysa(){ var input_arraysa= new Array(); for(x=0; x<22; x++){ input_arraysa[x] = new Array(); } input_arraysa[0][0] = ''; input_arraysa[0][1] = ''; input_arraysa[0][2] = ''; input_arraysa[0][3] = ''; input_arraysa[0][4] = ''; input_arraysa[0][5] = ''; input_arraysa[0][6] = ''; input_arraysa[1][0] = ''; input_arraysa[1][1] = ''; input_arraysa[1][2] = ''; input_arraysa[1][3] = ''; input_arraysa[1][4] = ''; input_arraysa[1][5] = ''; input_arraysa[1][6] = ''; input_arraysa[2][0] = ''; input_arraysa[2][1] = ''; input_arraysa[2][2] = ''; input_arraysa[2][3] = ''; input_arraysa[2][4] = ''; input_arraysa[2][5] = ''; input_arraysa[2][6] = ''; input_arraysa[3][0] = ''; input_arraysa[3][1] = ''; input_arraysa[3][2] = ''; input_arraysa[3][3] = ''; input_arraysa[3][4] = ''; input_arraysa[3][5] = ''; input_arraysa[3][6] = ''; input_arraysa[4][0] = ''; input_arraysa[4][1] = ''; input_arraysa[4][2] = ''; input_arraysa[4][3] = ''; input_arraysa[4][4] = ''; input_arraysa[4][5] = ''; input_arraysa[4][6] = ''; input_arraysa[5][0] = ''; input_arraysa[5][1] = ''; input_arraysa[5][2] = ''; input_arraysa[5][3] = ''; input_arraysa[5][4] = ''; input_arraysa[5][5] = ''; input_arraysa[5][6] = ''; input_arraysa[6][0] = ''; input_arraysa[6][1] = ''; input_arraysa[6][2] = ''; input_arraysa[6][3] = ''; input_arraysa[6][4] = ''; input_arraysa[6][5] = ''; input_arraysa[6][6] = ''; input_arraysa[7][0] = ''; input_arraysa[7][1] = ''; input_arraysa[7][2] = ''; input_arraysa[7][3] = ''; input_arraysa[7][4] = ''; input_arraysa[7][5] = ''; input_arraysa[7][6] = ''; input_arraysa[8][0] = ''; input_arraysa[8][1] = ''; input_arraysa[8][2] = ''; input_arraysa[8][3] = ''; input_arraysa[8][4] = ''; input_arraysa[8][5] = ''; input_arraysa[8][6] = ''; input_arraysa[9][0] = ''; input_arraysa[9][1] = ''; input_arraysa[9][2] = ''; input_arraysa[9][3] = ''; input_arraysa[9][4] = ''; input_arraysa[9][5] = ''; input_arraysa[9][6] = ''; input_arraysa[10][0] = ''; input_arraysa[10][1] = ''; input_arraysa[10][2] = ''; input_arraysa[10][3] = ''; input_arraysa[10][4] = ''; input_arraysa[10][5] = ''; input_arraysa[10][6] = ''; input_arraysa[11][0] = ''; input_arraysa[11][1] = ''; input_arraysa[11][2] = ''; input_arraysa[11][3] = ''; input_arraysa[11][4] = ''; input_arraysa[11][5] = ''; input_arraysa[11][6] = ''; input_arraysa[12][0] = ''; input_arraysa[12][1] = ''; input_arraysa[12][2] = ''; input_arraysa[12][3] = ''; input_arraysa[12][4] = ''; input_arraysa[12][5] = ''; input_arraysa[12][6] = ''; input_arraysa[13][0] = ''; input_arraysa[13][1] = ''; input_arraysa[13][2] = ''; input_arraysa[13][3] = ''; input_arraysa[13][4] = ''; input_arraysa[13][5] = ''; input_arraysa[13][6] = ''; input_arraysa[14][0] = ''; input_arraysa[14][1] = ''; input_arraysa[14][2] = ''; input_arraysa[14][3] = ''; input_arraysa[14][4] = ''; input_arraysa[14][5] = ''; input_arraysa[14][6] = ''; input_arraysa[15][0] = ''; input_arraysa[15][1] = ''; input_arraysa[15][2] = ''; input_arraysa[15][3] = ''; input_arraysa[15][4] = ''; input_arraysa[15][5] = ''; input_arraysa[15][6] = ''; input_arraysa[16][0] = ''; input_arraysa[16][1] = ''; input_arraysa[16][2] = ''; input_arraysa[16][3] = ''; input_arraysa[16][4] = ''; input_arraysa[16][5] = ''; input_arraysa[16][6] = ''; input_arraysa[17][0] = ''; input_arraysa[17][1] = ''; input_arraysa[17][2] = ''; input_arraysa[17][3] = ''; input_arraysa[17][4] = ''; input_arraysa[17][5] = ''; input_arraysa[17][6] = ''; input_arraysa[18][0] = ''; input_arraysa[18][1] = ''; input_arraysa[18][2] = ''; input_arraysa[18][3] = ''; input_arraysa[18][4] = ''; input_arraysa[18][5] = ''; input_arraysa[18][6] = ''; input_arraysa[19][0] = ''; input_arraysa[19][1] = ''; input_arraysa[19][2] = ''; input_arraysa[19][3] = ''; input_arraysa[19][4] = ''; input_arraysa[19][5] = ''; input_arraysa[19][6] = ''; input_arraysa[20][0] = ''; input_arraysa[20][1] = ''; input_arraysa[20][2] = ''; input_arraysa[20][3] = ''; input_arraysa[20][4] = ''; input_arraysa[20][5] = ''; input_arraysa[20][6] = ''; input_arraysa[21][0] = ''; input_arraysa[21][1] = ''; input_arraysa[21][2] = ''; input_arraysa[21][3] = ''; input_arraysa[21][4] = ''; input_arraysa[21][5] = ''; input_arraysa[21][6] = ''; return input_arraysa; } 
 function get_input_arraysc(){ var input_arraysc= new Array(); for(x=0; x<22; x++){ input_arraysc[x] = new Array(); } input_arraysc[0][0] = ''; input_arraysc[0][1] = ''; input_arraysc[0][2] = ''; input_arraysc[0][3] = ''; input_arraysc[0][4] = ''; input_arraysc[0][5] = ''; input_arraysc[0][6] = ''; input_arraysc[1][0] = ''; input_arraysc[1][1] = ''; input_arraysc[1][2] = ''; input_arraysc[1][3] = ''; input_arraysc[1][4] = ''; input_arraysc[1][5] = ''; input_arraysc[1][6] = ''; input_arraysc[2][0] = ''; input_arraysc[2][1] = ''; input_arraysc[2][2] = ''; input_arraysc[2][3] = ''; input_arraysc[2][4] = ''; input_arraysc[2][5] = ''; input_arraysc[2][6] = ''; input_arraysc[3][0] = ''; input_arraysc[3][1] = ''; input_arraysc[3][2] = ''; input_arraysc[3][3] = ''; input_arraysc[3][4] = ''; input_arraysc[3][5] = ''; input_arraysc[3][6] = ''; input_arraysc[4][0] = ''; input_arraysc[4][1] = ''; input_arraysc[4][2] = ''; input_arraysc[4][3] = ''; input_arraysc[4][4] = ''; input_arraysc[4][5] = ''; input_arraysc[4][6] = ''; input_arraysc[5][0] = ''; input_arraysc[5][1] = ''; input_arraysc[5][2] = ''; input_arraysc[5][3] = ''; input_arraysc[5][4] = ''; input_arraysc[5][5] = ''; input_arraysc[5][6] = ''; input_arraysc[6][0] = ''; input_arraysc[6][1] = ''; input_arraysc[6][2] = ''; input_arraysc[6][3] = ''; input_arraysc[6][4] = ''; input_arraysc[6][5] = ''; input_arraysc[6][6] = ''; input_arraysc[7][0] = ''; input_arraysc[7][1] = ''; input_arraysc[7][2] = ''; input_arraysc[7][3] = ''; input_arraysc[7][4] = ''; input_arraysc[7][5] = ''; input_arraysc[7][6] = ''; input_arraysc[8][0] = ''; input_arraysc[8][1] = ''; input_arraysc[8][2] = ''; input_arraysc[8][3] = ''; input_arraysc[8][4] = ''; input_arraysc[8][5] = ''; input_arraysc[8][6] = ''; input_arraysc[9][0] = ''; input_arraysc[9][1] = ''; input_arraysc[9][2] = ''; input_arraysc[9][3] = ''; input_arraysc[9][4] = ''; input_arraysc[9][5] = ''; input_arraysc[9][6] = ''; input_arraysc[10][0] = ''; input_arraysc[10][1] = ''; input_arraysc[10][2] = ''; input_arraysc[10][3] = ''; input_arraysc[10][4] = ''; input_arraysc[10][5] = ''; input_arraysc[10][6] = ''; input_arraysc[11][0] = ''; input_arraysc[11][1] = ''; input_arraysc[11][2] = ''; input_arraysc[11][3] = ''; input_arraysc[11][4] = ''; input_arraysc[11][5] = ''; input_arraysc[11][6] = ''; input_arraysc[12][0] = ''; input_arraysc[12][1] = ''; input_arraysc[12][2] = ''; input_arraysc[12][3] = ''; input_arraysc[12][4] = ''; input_arraysc[12][5] = ''; input_arraysc[12][6] = ''; input_arraysc[13][0] = ''; input_arraysc[13][1] = ''; input_arraysc[13][2] = ''; input_arraysc[13][3] = ''; input_arraysc[13][4] = ''; input_arraysc[13][5] = ''; input_arraysc[13][6] = ''; input_arraysc[14][0] = ''; input_arraysc[14][1] = ''; input_arraysc[14][2] = ''; input_arraysc[14][3] = ''; input_arraysc[14][4] = ''; input_arraysc[14][5] = ''; input_arraysc[14][6] = ''; input_arraysc[15][0] = ''; input_arraysc[15][1] = ''; input_arraysc[15][2] = ''; input_arraysc[15][3] = ''; input_arraysc[15][4] = ''; input_arraysc[15][5] = ''; input_arraysc[15][6] = ''; input_arraysc[16][0] = ''; input_arraysc[16][1] = ''; input_arraysc[16][2] = ''; input_arraysc[16][3] = ''; input_arraysc[16][4] = ''; input_arraysc[16][5] = ''; input_arraysc[16][6] = ''; input_arraysc[17][0] = ''; input_arraysc[17][1] = ''; input_arraysc[17][2] = ''; input_arraysc[17][3] = ''; input_arraysc[17][4] = ''; input_arraysc[17][5] = ''; input_arraysc[17][6] = ''; input_arraysc[18][0] = ''; input_arraysc[18][1] = ''; input_arraysc[18][2] = ''; input_arraysc[18][3] = ''; input_arraysc[18][4] = ''; input_arraysc[18][5] = ''; input_arraysc[18][6] = ''; input_arraysc[19][0] = ''; input_arraysc[19][1] = ''; input_arraysc[19][2] = ''; input_arraysc[19][3] = ''; input_arraysc[19][4] = ''; input_arraysc[19][5] = ''; input_arraysc[19][6] = ''; input_arraysc[20][0] = ''; input_arraysc[20][1] = ''; input_arraysc[20][2] = ''; input_arraysc[20][3] = ''; input_arraysc[20][4] = ''; input_arraysc[20][5] = ''; input_arraysc[20][6] = ''; input_arraysc[21][0] = ''; input_arraysc[21][1] = ''; input_arraysc[21][2] = ''; input_arraysc[21][3] = ''; input_arraysc[21][4] = ''; input_arraysc[21][5] = ''; input_arraysc[21][6] = ''; return input_arraysc; } 
 function js_idrec(x){  document.getElementById(x).style.background="#F9F9F9";} 
 function checkSearch(){ var myarraysa = get_input_arraysa(); var _ba="Please correct the follow:\n\n"; var _sa=""; var _sc=""; var _ba="Please correct the follow:\n\n"; if(document.formSearchEmployers.textfield_keyword.value.length < 3 && (document.formSearchEmployers.textfield_industry.selectedIndex =="0" && document.formSearchEmployers.catlocationstart.selectedIndex =="0" ))  { document.getElementById("textfield_keyword").style.background="yellow"; if(document.formSearchEmployers.JFS.value=="JFJOBS"){myarraysa[0][0] ="Keyword Search must contain at least 3 characters OR select at least one option from Industry or Region.\n\n"; }else{myarraysa[0][0] ="Keyword Search must contain at least 3 characters OR select at least one option from Industry.\n\n"; }} if(document.formSearchEmployers.textfield_keyword.value.length < 3 && ((document.formSearchEmployers.textfield_industry.selectedIndex > "0" || document.formSearchEmployers.catlocationstart.selectedIndex > "0") && document.formSearchEmployers.textfield_keyword.value.length > "0"   ))  { document.getElementById("textfield_keyword").style.background="yellow"; myarraysa[1][0] ="Keyword Search must contain at least 3 characters or left blank when an option from at least one drop down box has been selected.\n\n"; } for(x=0;x<myarraysa.length;x++){ for(y=0;y<myarraysa[x].length;y++){ if(myarraysa[x][y]!=""){ _sa =_sa+myarraysa[x][y]; } } } if(_sa!=""){ alert(_ba+_sa); return false; } } 
 function get_industry_arrayCVhome(){ var myarray = get_industry_arraysearch(); var myarray2 = get_industry_arrayname(); var s=''; var x=0; for(x=0; x < myarray.length; x++){ if(x==0){ s=s+'<option value="" >Any Industry</option>'; } else{ s=s+'<option value="'+myarray[x]+'">'+myarray2[x]+'</option>'; } } document.getElementById('industryyCV_array').innerHTML =  '<select class="ffieldsel"  id="industryCV" name="textfield_industry"    onchange="js_idrec(\'industryCV\');fill_job_catCVhome();">'+s+'</select>'; } 
 function get_industry_arrayCVhomeSimple(){ var myarray = get_industry_arraysearch(); var myarray2 = get_industry_arrayname(); var s=''; var x=0; for(x=0; x < myarray.length; x++){ if(x==0){ s=s+'<option value="" >Any Industry</option>'; } else{ s=s+'<option value="'+myarray[x]+'">'+myarray2[x]+'</option>'; } } document.getElementById('industryyCV_array').innerHTML =  '<select class="ffieldsel"  id="industryCV" name="textfield_industry"    onchange="js_idrec(\'industryCV\');">'+s+'</select>'; } 
 function get_industry_arraysearch(){ var industry_array = new Array(); industry_array[0]='Industry'; industry_array[1]='Accommodation'; industry_array[2]='Accounting'; industry_array[3]='Administration'; industry_array[4]='Advertising'; industry_array[5]='Agriculture+Fisheries'; industry_array[6]='Airline'; industry_array[7]='Arts+Entertainment'; industry_array[8]='Automotive'; industry_array[9]='Banking+FinancialServices'; industry_array[10]='Bar+Cafe+Restaurant'; industry_array[11]='Building+Maintenance'; industry_array[12]='CallCentre'; industry_array[13]='Construction'; industry_array[14]='Consultancy'; industry_array[15]='Corporate'; industry_array[16]='Defence+Corrections'; industry_array[17]='Education+Training'; industry_array[18]='Engineering'; industry_array[19]='EntryLevel'; industry_array[20]='Farming'; industry_array[21]='Fashion'; industry_array[22]='FoodServices'; industry_array[23]='Government'; industry_array[24]='Hair+Beauty'; industry_array[25]='Healthcare+Medical'; industry_array[26]='Hospitality'; industry_array[27]='HumanResources'; industry_array[28]='Insurance'; industry_array[29]='InformationTechnology'; industry_array[30]='Legal'; industry_array[31]='Manufacturing'; industry_array[32]='Media'; industry_array[33]='PrimaryIndustry'; industry_array[34]='Printing+Publishing'; industry_array[35]='RealEstate'; industry_array[36]='Retail+CustomerService'; industry_array[37]='Sales+Marketing'; industry_array[38]='Science+Biotech'; industry_array[39]='SecurityServices'; industry_array[40]='Tourism+Travel'; industry_array[41]='Transport+Logistics'; industry_array[42]='VeterinaryServices'; industry_array[43]='Volunteer'; return industry_array; } 
 function get_industry_arrayname(){ var industry_array = new Array(); industry_array[0]='Industry'; industry_array[1]='Accommodation'; industry_array[2]='Accounting'; industry_array[3]='Administration'; industry_array[4]='Advertising'; industry_array[5]='Agriculture/Fisheries'; industry_array[6]='Airline'; industry_array[7]='Arts/Entertainment'; industry_array[8]='Automotive'; industry_array[9]='Banking/Financial Services'; industry_array[10]='Bar/Cafe/Restaurant'; industry_array[11]='Building/Maintenance'; industry_array[12]='Call Centre'; industry_array[13]='Construction'; industry_array[14]='Consultancy'; industry_array[15]='Corporate'; industry_array[16]='Defence/Corrections'; industry_array[17]='Education/Training'; industry_array[18]='Engineering'; industry_array[19]='Entry Level'; industry_array[20]='Farming'; industry_array[21]='Fashion'; industry_array[22]='Food Services'; industry_array[23]='Government'; industry_array[24]='Hair/Beauty'; industry_array[25]='Healthcare/Medical'; industry_array[26]='Hospitality'; industry_array[27]='Human Resources'; industry_array[28]='Insurance'; industry_array[29]='IT'; industry_array[30]='Legal'; industry_array[31]='Manufacturing'; industry_array[32]='Media'; industry_array[33]='Primary Industry'; industry_array[34]='Printing/Publishing'; industry_array[35]='Real Estate'; industry_array[36]='Retail/Customer Service'; industry_array[37]='Sales/Marketing'; industry_array[38]='Science/Biotech'; industry_array[39]='Security Services'; industry_array[40]='Tourism/Travel'; industry_array[41]='Transport/Logistics'; industry_array[42]='Veterinary Services'; industry_array[43]='Volunteer'; return industry_array; } 
 function get_location_array2home(){ var myarray = get_location_array(); var s='<select class="ffieldsel"  id="catlocationstart" name="catlocationstart"   onchange="js_idrec(\'catlocationstart\');fill_location_endhome()">'; var x=0; for(x=0; x < myarray.length; x++){ if(x==0){ s=s+'<option value="" >Any Region</option>';} else{ s=s+'<option>'+myarray[x]+'</option>';} } document.getElementById('location_array').innerHTML =  s+'</select>'; } 
 function get_location_array2homeSimple(){ var myarray = get_location_array(); var s='<select class="ffieldsel"  id="catlocationstart" name="catlocationstart"   onchange="js_idrec(\'catlocationstart\');">'; var x=0; for(x=0; x < myarray.length; x++){ if(x==0){ s=s+'<option value="" >Any Region</option>';} else{ s=s+'<option>'+myarray[x]+'</option>';} } document.getElementById('location_array').innerHTML =  s+'</select>'; } 
 function get_location_array(){ var myarray = new Array(); myarray[0] ='Please choose a Region '; myarray[1] ='Auckland'; myarray[2] ='Bay of Plenty'; myarray[3] ='Canterbury'; myarray[4] ='Coromandel'; myarray[5] ='Gisborne'; myarray[6] ='Hawkes Bay'; myarray[7] ='Manawatu'; myarray[8] ='Marlborough'; myarray[9] ='Nelson'; myarray[10] ='Northland'; myarray[11] ='Otago'; myarray[12] ='Southland'; myarray[13] ='Taranaki'; myarray[14] ='Waikato'; myarray[15] ='Wairarapa'; myarray[16] ='Wanganui'; myarray[17] ='Wellington'; return myarray; } 
 function get_salary_array2home(){ var myarray = get_salary_arrayhome(); var s='<select class="ffieldsel"  id="catsalarystart" name="textfield_salary_range"  onclick="js_idrec(\'catsalarystart\')" >'; var x=0; for(x=0; x < myarray.length; x++){ var q=eval(myarray.length)-eval(1); if(x==0){ s=s+'<option value="" >Any</option>'+'<option>Negotiable</option>';} else{ s=s+'<option value="salary:'+myarray[x]+'">'+'Annual salary - '+myarray[x]+'k+ </option>';} } var myarray = get_wage_arrayhome(); var x=0; for(x=0; x < myarray.length; x++){ var q=eval(myarray.length)-eval(1); if(x==0){ } else{ s=s+'<option value="wage:\$'+myarray[x]+'">'+'Hourly wage: $'+myarray[x]+'+ </option>';} } document.getElementById('salary_array').innerHTML =  s+'</select>'; } 
 function get_salary_arrayhome(){ var myarray = new Array(); var inc = 20; for(x=0; x<13; x++){ if(x==0){ myarray[x]= 'Amount';} if(x>0){  myarray[x] = inc; inc = inc+eval(10);} } return myarray; } 
 function get_wage_arrayhome(){ var myarray = new Array(); var first = '.00'; var inc = 8; var inc2 = 0; for(x=0; x<40; x++){ if(x==0){ myarray[x] = 'Amount';} if(x>0){ val=eval(inc)+eval(inc2++); myarray[x] = val; } } return myarray; } 
 function fill_location_endhome(){ var y=document.getElementById("catlocationstart"); var w = y.selectedIndex; document.formSearchEmployers.catlocationstart_index.value = document.formSearchEmployers.catlocationstart.selectedIndex; var s = location_arrayhome(w); document.getElementById("location_end_array").innerHTML = '<select class="ffieldsel"  name="area" id="catlocationend"  onchange="select_location_endhome()">'+s+'</select>'; } 
 function location_arrayhome(w){ var myarray = get_location_end_array(); var s=''; var x=0; for(x=0; x < myarray[w].length; x++){ if(x==0){ s=s+'<option value="" >Any Area</option>';} else{ s=s+'<option>'+myarray[w][x]+'</option>';} } return s; } 
 function get_location_end_array(){ var myarray = new Array(); for(x=0; x<18; x++){ myarray[x] = new Array();} myarray[0][0] ='Please first choose a Region'; myarray[1][0] ='Any area'; myarray[1][1] ='CBD Inner City'; myarray[1][2] ='East'; myarray[1][3] ='Manukau City'; myarray[1][4] ='North Shore'; myarray[1][5] ='South'; myarray[1][6] ='West'; myarray[2][0] ='Any area'; myarray[2][1] ='Other'; myarray[2][2] ='Rotorua'; myarray[2][3] ='Tauranga'; myarray[2][4] ='Western'; myarray[2][5] ='Whakatane'; myarray[3][0] ='Any area'; myarray[3][1] ='Ashburton'; myarray[3][2] ='Banks Peninsula'; myarray[3][3] ='Christchurch'; myarray[3][4] ='Christchurch City'; myarray[3][5] ='Timaru'; myarray[4][0] ='Any area'; myarray[4][1] ='Hauraki'; myarray[4][2] ='Other'; myarray[4][3] ='Thames Coromandel'; myarray[5][0] ='Any area'; myarray[5][1] ='Gisborne'; myarray[6][0] ='Any area'; myarray[6][1] ='Central'; myarray[6][2] ='Hastings'; myarray[6][3] ='Napier'; myarray[6][4] ='Other'; myarray[7][0] ='Any area'; myarray[7][1] ='Other'; myarray[7][2] ='Palmerston North City'; myarray[8][0] ='Any area'; myarray[8][1] ='Kaikoura'; myarray[8][2] ='Other'; myarray[9][0] ='Any area'; myarray[9][1] ='City'; myarray[9][2] ='Other'; myarray[10][0] ='Any area'; myarray[10][1] ='Far North'; myarray[10][2] ='Other'; myarray[10][3] ='Whangarei'; myarray[11][0] ='Any area'; myarray[11][1] ='Central '; myarray[11][2] ='Dunedin City'; myarray[11][3] ='North'; myarray[11][4] ='Other'; myarray[12][0] ='Any area'; myarray[12][1] ='Gore'; myarray[12][2] ='Invercargill City'; myarray[12][3] ='Other'; myarray[13][0] ='Any area'; myarray[13][1] ='New Plymouth'; myarray[13][2] ='Other'; myarray[14][0] ='Any area'; myarray[14][1] ='Hamilton City'; myarray[14][2] ='Other'; myarray[14][3] ='Taupo'; myarray[15][0] ='Any area'; myarray[15][1] ='Masterton'; myarray[15][2] ='Other'; myarray[16][0] ='Any area'; myarray[16][1] ='Wanganui'; myarray[17][0] ='Any area'; myarray[17][1] ='Hutt Valley'; myarray[17][2] ='Kapiti Coast'; myarray[17][3] ='Porirua'; myarray[17][4] ='CBD Inner City'; return myarray; } 
 function select_location_endhome(){ document.formSearchEmployers.catlocationend_index.value = document.formSearchEmployers.catlocationend.selectedIndex; } 
 function fill_job_catCVhome(){ var y=document.getElementById("industryCV"); var w =y.selectedIndex; document.formSearchEmployers.catindustrystart_index.value = document.formSearchEmployers.industryCV.selectedIndex; var s = cat_arrayhome(w); document.getElementById("job_catCV").innerHTML = '<select class="ffieldsel"  name="job_categoryCV" id="job_categoryCV"   onchange="js_idrec(\'job_categoryCV\');updateindustryendhome();" >'+s+'</select>'; } 
 function cat_arrayhome(w){ var myarray = getarraycatsearch(); var myarray2 = getarrayname(); var s=''; var x=0; for(x=0; x < myarray[w].length; x++){ if (x==0){ s=s+'<option value="" >Any Job Category</option>'; } else if (w==34 && x==6) { s=s+''; } else { s=s+'<option value="'+myarray[w][x]+'">'+myarray2[w][x]+'</option>'; } } return s; } 
 function getarraycatsearch(){ var myarray = new Array(); for(x=0; x<44; x++){ myarray[x] = new Array();} myarray[0][0]=''; myarray[1][0]='Job category'; myarray[1][1]='House Keeping'; myarray[1][2]='Management'; myarray[1][3]='Reception Staff'; myarray[2][0]='Job category'; myarray[2][1]='Accountant'; myarray[2][2]='Accounts Clerk+Admin'; myarray[2][3]='Accounts Payable'; myarray[2][4]='Accounts Receivable'; myarray[2][5]='Auditor'; myarray[2][6]='Bookkeeping'; myarray[2][7]='Chartered Accountant'; myarray[2][8]='Financial Controller'; myarray[2][9]='Graduate'; myarray[2][10]='Management'; myarray[2][11]='Other'; myarray[2][12]='Payroll'; myarray[2][13]='Pricing'; myarray[2][14]='Tax'; myarray[3][0]='Job category'; myarray[3][1]='DataEntry'; myarray[3][2]='Management'; myarray[3][3]='Other'; myarray[3][4]='Personal Assistant'; myarray[3][5]='Receptionist'; myarray[3][6]='Secretarial'; myarray[3][7]='Wordprocessing'; myarray[4][0]='Job category'; myarray[4][1]='Copywriters'; myarray[4][2]='Design+Graphics'; myarray[4][3]='Management'; myarray[4][4]='Other'; myarray[5][0]='Job category'; myarray[5][1]='Agriculture+Fisheries'; myarray[6][0]='Job category'; myarray[6][1]='Cabin Crew'; myarray[6][2]='Counter Staff'; myarray[6][3]='Pilot'; myarray[7][0]='Job category'; myarray[7][1]='Actors'; myarray[7][2]='Dancers'; myarray[8][0]='Job category'; myarray[8][1]='Automotive'; myarray[9][0]='Job category'; myarray[9][1]='Analyst'; myarray[9][2]='Branch Staff'; myarray[9][3]='Callcentre'; myarray[9][4]='Collections'; myarray[9][5]='Compliance'; myarray[9][6]='Funds Management'; myarray[9][7]='Investment'; myarray[9][8]='Management'; myarray[9][9]='Mortgage Management'; myarray[9][10]='Other'; myarray[9][11]='Risk Management'; myarray[9][12]='Stockbroking'; myarray[10][0]='Job category'; myarray[10][1]='Barista'; myarray[10][2]='Bartender'; myarray[10][3]='Chef'; myarray[10][4]='Kitchen Staff'; myarray[10][5]='Maitrede'; myarray[10][6]='Manager'; myarray[10][7]='Other'; myarray[10][8]='Waiting Staff'; myarray[11][0]='Job category'; myarray[11][1]='Building+Maintenance'; myarray[12][0]='Job category'; myarray[12][1]='Customer Service Operator'; myarray[12][2]='Manager'; myarray[12][3]='Other'; myarray[12][4]='Telemarketing'; myarray[13][0]='Job category'; myarray[13][1]='Architect'; myarray[13][2]='BrickLayer'; myarray[13][3]='Cabinetmaker'; myarray[13][4]='Carpenter'; myarray[13][5]='Carpet+Vinyllayer'; myarray[13][6]='Drafting'; myarray[13][7]='Draining'; myarray[13][8]='Estimating'; myarray[13][9]='HealthandSafety'; myarray[13][10]='Heavy Machinery Operator'; myarray[13][11]='Inspector'; myarray[13][12]='Interior design'; myarray[13][13]='Kitchen builder'; myarray[13][14]='Landscape design'; myarray[13][15]='Management'; myarray[13][16]='Masterbuilders'; myarray[13][17]='Other'; myarray[13][18]='Painter'; myarray[13][19]='Planning'; myarray[13][20]='Project Management'; myarray[13][21]='Site Management'; myarray[13][22]='SiteStaff'; myarray[13][23]='Surveyor'; myarray[14][0]='Job category'; myarray[14][1]='Consultancy'; myarray[15][0]='Job category'; myarray[15][1]='Analyst'; myarray[15][2]='Business Development'; myarray[15][3]='Consulting'; myarray[15][4]='Other'; myarray[15][5]='Policy and Planning'; myarray[15][6]='Strategy'; myarray[16][0]='Job category'; myarray[16][1]='Airforce'; myarray[16][2]='Army'; myarray[16][3]='Correctional staff'; myarray[16][4]='Navy'; myarray[16][5]='Other'; myarray[16][6]='Police'; myarray[16][7]='Policy Analyst'; myarray[16][8]='Prison workers'; myarray[16][9]='Territorial'; myarray[17][0]='Job category'; myarray[17][1]='Administration'; myarray[17][2]='Counselling'; myarray[17][3]='Early childhood'; myarray[17][4]='Language'; myarray[17][5]='Lecturer'; myarray[17][6]='Library'; myarray[17][7]='Other'; myarray[17][8]='Post doctoral'; myarray[17][9]='Primary Principal'; myarray[17][10]='Primary Teacher'; myarray[17][11]='Research'; myarray[17][12]='Secondary Principal'; myarray[17][13]='Secondary Teacher'; myarray[17][14]='Technical'; myarray[17][15]='Temp'; myarray[17][16]='Tutor'; myarray[18][0]='Job category'; myarray[18][1]='Aeronautical'; myarray[18][2]='Chemical'; myarray[18][3]='Civil+Structural'; myarray[18][4]='Drafting'; myarray[18][5]='Electrical'; myarray[18][6]='Environmental'; myarray[18][7]='Mechanical'; myarray[18][8]='Other'; myarray[18][9]='Piping'; myarray[18][10]='Process'; myarray[18][11]='Roading'; myarray[18][12]='Water+Waste'; myarray[19][0]='Job category'; myarray[19][1]='EntryLevel'; myarray[20][0]='Job category'; myarray[20][1]='Farming'; myarray[21][0]='Job category'; myarray[21][1]='Fashion'; myarray[22][0]='Job category'; myarray[22][1]='Food Services'; myarray[23][0]='Job category'; myarray[23][1]='Government'; myarray[24][0]='Job category'; myarray[24][1]='Other'; myarray[24][2]='Sales'; myarray[24][3]='Tanning'; myarray[24][4]='Barber'; myarray[24][5]='Colourist'; myarray[24][6]='Hairstylist'; myarray[24][7]='Makeup+Facial'; myarray[24][8]='Nail Technician'; myarray[25][0]='Job category'; myarray[25][1]='Administration'; myarray[25][2]='Dental assistant'; myarray[25][3]='Dental Hygienist+Technician'; myarray[25][4]='Dentist'; myarray[25][5]='Disabled Care'; myarray[25][6]='Doctors+Medical Specialist'; myarray[25][7]='Midwives'; myarray[25][8]='Nurses'; myarray[25][9]='Nutritionist'; myarray[25][10]='Other'; myarray[25][11]='Paramedic'; myarray[25][12]='Pharmacist+Pharmaceutical'; myarray[25][13]='Physiotherapy'; myarray[25][14]='Speech Therapy'; myarray[25][15]='Surgery Staff'; myarray[25][16]='Occupational Therapy'; myarray[26][0]='Job category'; myarray[26][1]='Hospitality'; myarray[26][2]='Management'; myarray[27][0]='Job category'; myarray[27][1]='Management'; myarray[27][2]='Occupational health and safety'; myarray[27][3]='Other'; myarray[27][4]='Professional Development'; myarray[27][5]='Recruitment'; myarray[28][0]='Job category'; myarray[28][1]='Actuary'; myarray[28][2]='Agent'; myarray[28][3]='Broker'; myarray[28][4]='Claimsassesor'; myarray[28][5]='Other'; myarray[28][6]='Risk+reserve management'; myarray[28][7]='Underwriting'; myarray[29][0]='Job category'; myarray[29][1]='Analyst'; myarray[29][2]='Database'; myarray[29][3]='Hardware Engineer'; myarray[29][4]='Network'; myarray[29][5]='Network Engineer'; myarray[29][6]='Other'; myarray[29][7]='Process Engineer'; myarray[29][8]='Programmer'; myarray[29][9]='Project Management'; myarray[29][10]='Quality control+testing'; myarray[29][11]='Sales'; myarray[29][12]='Security'; myarray[29][13]='Software Engineer'; myarray[29][14]='Support'; myarray[29][15]='Trainer'; myarray[29][16]='Website Design+Development'; myarray[30][0]='Job category'; myarray[30][1]='Associate'; myarray[30][2]='Consultant'; myarray[30][3]='Court Staff'; myarray[30][4]='General Support+Discovery Assistance'; myarray[30][5]='Graduate'; myarray[30][6]='InHouse counsel'; myarray[30][7]='IP+Patent Attorney'; myarray[30][8]='Legal Executive'; myarray[30][9]='Library+Information Services'; myarray[30][10]='Management'; myarray[30][11]='Other'; myarray[30][12]='Partner'; myarray[30][13]='Secretarial'; myarray[30][14]='Solicitor'; myarray[31][0]='Job category'; myarray[31][1]='Assemblyline worker'; myarray[31][2]='Fashion'; myarray[31][3]='Fitters+Machinists'; myarray[31][4]='Industrial Design'; myarray[31][5]='Machine Operators'; myarray[31][6]='Other'; myarray[31][7]='Packer+Filler'; myarray[31][8]='Plant Management'; myarray[31][9]='Process Workers'; myarray[31][10]='Purchasing'; myarray[31][11]='Quality Assurance'; myarray[31][12]='Storeperson+Warehousing'; myarray[31][13]='Supervisor'; myarray[31][14]='Toolmaker'; myarray[32][0]='Job category'; myarray[32][1]='Journalist Photographer'; myarray[32][2]='Other'; myarray[32][3]='Public Relations'; myarray[32][4]='Radio'; myarray[32][5]='Writer'; myarray[33][0]='Job category'; myarray[33][1]='Agriculture'; myarray[33][2]='Fishing'; myarray[33][3]='Forestry'; myarray[33][4]='Horticulture'; myarray[33][5]='Natural resources'; myarray[33][6]='Other'; myarray[33][7]='Services+Consultancy'; myarray[33][8]='Winery+Viticulture'; myarray[34][0]='Job category'; myarray[34][1]='Accounts'; myarray[34][2]='Administration'; myarray[34][3]='Bindery+Finishing'; myarray[34][4]='Estimating'; myarray[34][5]='Folding'; myarray[34][6]=''; myarray[34][7]='Guilotine'; myarray[34][8]='Ink Technician'; myarray[34][9]='Management'; myarray[34][10]='Other'; myarray[34][11]='Packer'; myarray[34][12]='Printer'; myarray[34][13]='Sales'; myarray[35][0]='Job category'; myarray[35][1]='Sales'; myarray[36][0]='Job category'; myarray[36][1]='Assistant Manager'; myarray[36][2]='Buying'; myarray[36][3]='Loss Prevention'; myarray[36][4]='Management'; myarray[36][5]='Merchandising'; myarray[36][6]='Other'; myarray[36][7]='Planning'; myarray[36][8]='Product Development'; myarray[36][9]='Sales Assistant'; myarray[36][10]='Store Manager'; myarray[37][0]='Job category'; myarray[37][1]='Account Management'; myarray[37][2]='Brand Management'; myarray[37][3]='Business Development'; myarray[37][4]='Category Management'; myarray[37][5]='Direct Marketing'; myarray[37][6]='Events and Promotions'; myarray[37][7]='Management'; myarray[37][8]='Market Research'; myarray[37][9]='Other'; myarray[37][10]='Product Development'; myarray[37][11]='Sales Assistant'; myarray[37][12]='Store manager'; myarray[38][0]='Job category'; myarray[38][1]='Other'; myarray[38][2]='Postdoc'; myarray[38][3]='Quality Control+Testing'; myarray[38][4]='Research'; myarray[38][5]='Scientist'; myarray[38][6]='Technician'; myarray[39][0]='Job category'; myarray[39][1]='Guards'; myarray[39][2]='Other'; myarray[40][0]='Job category'; myarray[40][1]='Travel Consultant'; myarray[40][2]='Tour Guide'; myarray[41][0]='Job category'; myarray[41][1]='Automotive'; myarray[41][2]='Aviation+Airline'; myarray[41][3]='Courier+Driver'; myarray[41][4]='Fleet Management'; myarray[41][5]='Freight Forwarding'; myarray[41][6]='Importer+Exporter'; myarray[41][7]='Management'; myarray[41][8]='Operations'; myarray[41][9]='Other'; myarray[41][10]='Supply Chain'; myarray[41][11]='Transport'; myarray[41][12]='Warehouse and Distribution'; myarray[42][0]='Job category'; myarray[42][1]='Veterinary Services'; myarray[42][2]='Companion Vet'; myarray[42][3]='Dairy Vet'; myarray[42][4]='Equine Vet'; myarray[42][5]='Large Animal Vet'; myarray[42][6]='Locum'; myarray[42][7]='Mixed Animal Vet'; myarray[42][8]='Small Animal Vet'; myarray[42][9]='Veterinary Nurse'; myarray[42][10]='Veterinary Technician'; myarray[43][0]='Job category'; myarray[43][1]='Volunteer'; return myarray; } 
 function getarrayname(){ var myarray = new Array(); for(x=0; x<44; x++){ myarray[x] = new Array();} myarray[0][0]=''; myarray[1][0]='Job category'; myarray[1][1]='House Keeping'; myarray[1][2]='Management'; myarray[1][3]='Reception Staff'; myarray[2][0]='Job category'; myarray[2][1]='Accountant'; myarray[2][2]='Accounts Clerk/Admin'; myarray[2][3]='Accounts Payable'; myarray[2][4]='Accounts Receivable'; myarray[2][5]='Auditor'; myarray[2][6]='Book Keeping'; myarray[2][7]='Chartered Accountant'; myarray[2][8]='Financial Controller'; myarray[2][9]='Graduate'; myarray[2][10]='Management'; myarray[2][11]='Other'; myarray[2][12]='Payroll'; myarray[2][13]='Pricing'; myarray[2][14]='Tax'; myarray[3][0]='Job category'; myarray[3][1]='Data Entry'; myarray[3][2]='Management'; myarray[3][3]='Other'; myarray[3][4]='Personal Assistant'; myarray[3][5]='Receptionist'; myarray[3][6]='Secretarial'; myarray[3][7]='Word Processing'; myarray[4][0]='Job category'; myarray[4][1]='Copywriters'; myarray[4][2]='Design/Graphics'; myarray[4][3]='Management'; myarray[4][4]='Other'; myarray[5][0]='Job category'; myarray[5][1]='Agriculture/Fisheries'; myarray[6][0]='Job category'; myarray[6][1]='Cabin Crew'; myarray[6][2]='Counter Staff'; myarray[6][3]='Pilot'; myarray[7][0]='Job category'; myarray[7][1]='Actors'; myarray[7][2]='Dancers'; myarray[8][0]='Job category'; myarray[8][1]='Automotive'; myarray[9][0]='Job category'; myarray[9][1]='Analyst'; myarray[9][2]='Branch Staff'; myarray[9][3]='Call Centre'; myarray[9][4]='Collections'; myarray[9][5]='Compliance'; myarray[9][6]='Funds Management'; myarray[9][7]='Investment'; myarray[9][8]='Management'; myarray[9][9]='Mortgage Management'; myarray[9][10]='Other'; myarray[9][11]='Risk Management'; myarray[9][12]='Stockbroking'; myarray[10][0]='Job category'; myarray[10][1]='Barista'; myarray[10][2]='Bartender'; myarray[10][3]='Chef'; myarray[10][4]='Kitchen Staff'; myarray[10][5]='Maitrede'; myarray[10][6]='Manager'; myarray[10][7]='Other'; myarray[10][8]='Waiting Staff'; myarray[11][0]='Job category'; myarray[11][1]='Building/Maintenance'; myarray[12][0]='Job category'; myarray[12][1]='Customer Service Operator'; myarray[12][2]='Manager'; myarray[12][3]='Other'; myarray[12][4]='Telemarketing'; myarray[13][0]='Job category'; myarray[13][1]='Architect'; myarray[13][2]='Brick Layer'; myarray[13][3]='Cabinet Maker'; myarray[13][4]='Carpenter'; myarray[13][5]='Carpet/Vinyl Layer'; myarray[13][6]='Drafting'; myarray[13][7]='Draining'; myarray[13][8]='Estimating'; myarray[13][9]='Health and Safety'; myarray[13][10]='Heavy Machinery Operator'; myarray[13][11]='Inspector'; myarray[13][12]='Interior Design'; myarray[13][13]='Kitchen Builder'; myarray[13][14]='Landscape Design'; myarray[13][15]='Management'; myarray[13][16]='Masterbuilders'; myarray[13][17]='Other'; myarray[13][18]='Painter'; myarray[13][19]='Planning'; myarray[13][20]='Project Management'; myarray[13][21]='Site Management'; myarray[13][22]='Site Staff'; myarray[13][23]='Surveyor'; myarray[14][0]='Job category'; myarray[14][1]='Consultancy'; myarray[15][0]='Job category'; myarray[15][1]='Analyst'; myarray[15][2]='Business Development'; myarray[15][3]='Consulting'; myarray[15][4]='Other'; myarray[15][5]='Policy and Planning'; myarray[15][6]='Strategy'; myarray[16][0]='Job category'; myarray[16][1]='Airforce'; myarray[16][2]='Army'; myarray[16][3]='Correctional staff'; myarray[16][4]='Navy'; myarray[16][5]='Other'; myarray[16][6]='Police'; myarray[16][7]='Policy Analyst'; myarray[16][8]='Prison workers'; myarray[16][9]='Territorial'; myarray[17][0]='Job category'; myarray[17][1]='Administration'; myarray[17][2]='Counselling'; myarray[17][3]='Early childhood'; myarray[17][4]='Language'; myarray[17][5]='Lecturer'; myarray[17][6]='Library'; myarray[17][7]='Other'; myarray[17][8]='Post doctoral'; myarray[17][9]='Primary Principal'; myarray[17][10]='Primary Teacher'; myarray[17][11]='Research'; myarray[17][12]='Secondary Principal'; myarray[17][13]='Secondary Teacher'; myarray[17][14]='Technical'; myarray[17][15]='Temp'; myarray[17][16]='Tutor'; myarray[18][0]='Job category'; myarray[18][1]='Aeronautical'; myarray[18][2]='Chemical'; myarray[18][3]='Civil/Structural'; myarray[18][4]='Drafting'; myarray[18][5]='Electrical'; myarray[18][6]='Environmental'; myarray[18][7]='Mechanical'; myarray[18][8]='Other'; myarray[18][9]='Piping'; myarray[18][10]='Process'; myarray[18][11]='Roading'; myarray[18][12]='Water/Waste'; myarray[19][0]='Job category'; myarray[19][1]='EntryLevel'; myarray[20][0]='Job category'; myarray[20][1]='Farming'; myarray[21][0]='Job category'; myarray[21][1]='Fashion'; myarray[22][0]='Job category'; myarray[22][1]='Food Services'; myarray[23][0]='Job category'; myarray[23][1]='Government'; myarray[24][0]='Job category'; myarray[24][1]='Other'; myarray[24][2]='Sales'; myarray[24][3]='Tanning'; myarray[24][4]='Barber'; myarray[24][5]='Colourist'; myarray[24][6]='Hairstylist'; myarray[24][7]='Makeup/Facial'; myarray[24][8]='Nail Technician'; myarray[25][0]='Job category'; myarray[25][1]='Administration'; myarray[25][2]='Dental assistant'; myarray[25][3]='Dental Hygienist/Technician'; myarray[25][4]='Dentist'; myarray[25][5]='Disabled Care'; myarray[25][6]='Doctors/Medical Specialist'; myarray[25][7]='Midwives'; myarray[25][8]='Nurses'; myarray[25][9]='Nutritionist'; myarray[25][10]='Other'; myarray[25][11]='Paramedic'; myarray[25][12]='Pharmacist/Pharmaceutical'; myarray[25][13]='Physiotherapy'; myarray[25][14]='Speech Therapy'; myarray[25][15]='Surgery Staff'; myarray[25][16]='Occupational Therapy'; myarray[26][0]='Job category'; myarray[26][1]='Hospitality'; myarray[26][2]='Management'; myarray[27][0]='Job category'; myarray[27][1]='Management'; myarray[27][2]='Occupational health and safety'; myarray[27][3]='Other'; myarray[27][4]='Professional Development'; myarray[27][5]='Recruitment'; myarray[28][0]='Job category'; myarray[28][1]='Actuary'; myarray[28][2]='Agent'; myarray[28][3]='Broker'; myarray[28][4]='Claimsassesor'; myarray[28][5]='Other'; myarray[28][6]='Risk/reserve management'; myarray[28][7]='Underwriting'; myarray[29][0]='Job category'; myarray[29][1]='Analyst'; myarray[29][2]='Database'; myarray[29][3]='Hardware Engineer'; myarray[29][4]='Network'; myarray[29][5]='Network Engineer'; myarray[29][6]='Other'; myarray[29][7]='Process Engineer'; myarray[29][8]='Programmer'; myarray[29][9]='Project Management'; myarray[29][10]='Quality control/testing'; myarray[29][11]='Sales'; myarray[29][12]='Security'; myarray[29][13]='Software Engineer'; myarray[29][14]='Support'; myarray[29][15]='Trainer'; myarray[29][16]='Website Design/Development'; myarray[30][0]='Job category'; myarray[30][1]='Associate'; myarray[30][2]='Consultant'; myarray[30][3]='Court Staff'; myarray[30][4]='General Support/Discovery Assistance'; myarray[30][5]='Graduate'; myarray[30][6]='InHouse counsel'; myarray[30][7]='IP/Patent Attorney'; myarray[30][8]='Legal Executive'; myarray[30][9]='Library/Information Services'; myarray[30][10]='Management'; myarray[30][11]='Other'; myarray[30][12]='Partner'; myarray[30][13]='Secretarial'; myarray[30][14]='Solicitor'; myarray[31][0]='Job category'; myarray[31][1]='Assemblyline worker'; myarray[31][2]='Fashion'; myarray[31][3]='Fitters/Machinists'; myarray[31][4]='Industrial Design'; myarray[31][5]='Machine Operators'; myarray[31][6]='Other'; myarray[31][7]='Packer/Filler'; myarray[31][8]='Plant Management'; myarray[31][9]='Process Workers'; myarray[31][10]='Purchasing'; myarray[31][11]='Quality Assurance'; myarray[31][12]='Storeperson/Warehousing'; myarray[31][13]='Supervisor'; myarray[31][14]='Toolmaker'; myarray[32][0]='Job category'; myarray[32][1]='Journalist Photographer'; myarray[32][2]='Other'; myarray[32][3]='Public Relations'; myarray[32][4]='Radio'; myarray[32][5]='Writer'; myarray[33][0]='Job category'; myarray[33][1]='Agriculture'; myarray[33][2]='Fishing'; myarray[33][3]='Forestry'; myarray[33][4]='Horticulture'; myarray[33][5]='Natural resources'; myarray[33][6]='Other'; myarray[33][7]='Services/Consultancy'; myarray[33][8]='Winery/Viticulture'; myarray[34][0]='Job category'; myarray[34][1]='Accounts'; myarray[34][2]='Administration'; myarray[34][3]='Bindery/Finishing'; myarray[34][4]='Estimating'; myarray[34][5]='Folding'; myarray[34][6]=''; myarray[34][7]='Guilotine'; myarray[34][8]='Ink Technician'; myarray[34][9]='Management'; myarray[34][10]='Other'; myarray[34][11]='Packer'; myarray[34][12]='Printer'; myarray[34][13]='Sales'; myarray[35][0]='Job category'; myarray[35][1]='Sales'; myarray[36][0]='Job category'; myarray[36][1]='Assistant Manager'; myarray[36][2]='Buying'; myarray[36][3]='Loss Prevention'; myarray[36][4]='Management'; myarray[36][5]='Merchandising'; myarray[36][6]='Other'; myarray[36][7]='Planning'; myarray[36][8]='Product Development'; myarray[36][9]='Sales Assistant'; myarray[36][10]='Store Manager'; myarray[37][0]='Job category'; myarray[37][1]='Account Management'; myarray[37][2]='Brand Management'; myarray[37][3]='Business Development'; myarray[37][4]='Category Management'; myarray[37][5]='Direct Marketing'; myarray[37][6]='Events and Promotions'; myarray[37][7]='Management'; myarray[37][8]='Market Research'; myarray[37][9]='Other'; myarray[37][10]='Product Development'; myarray[37][11]='Sales Assistant'; myarray[37][12]='Store manager'; myarray[38][0]='Job category'; myarray[38][1]='Other'; myarray[38][2]='Postdoc'; myarray[38][3]='Quality Control/Testing'; myarray[38][4]='Research'; myarray[38][5]='Scientist'; myarray[38][6]='Technician'; myarray[39][0]='Job category'; myarray[39][1]='Guards'; myarray[39][2]='Other'; myarray[40][0]='Job category'; myarray[40][1]='Travel Consultant'; myarray[40][2]='Tour Guide'; myarray[41][0]='Job category'; myarray[41][1]='Automotive'; myarray[41][2]='Aviation/Airline'; myarray[41][3]='Courier/Driver'; myarray[41][4]='Fleet Management'; myarray[41][5]='Freight Forwarding'; myarray[41][6]='Importer/Exporter'; myarray[41][7]='Management'; myarray[41][8]='Operations'; myarray[41][9]='Other'; myarray[41][10]='Supply Chain'; myarray[41][11]='Transport'; myarray[41][12]='Warehouse and Distribution'; myarray[42][0]='Job category'; myarray[42][1]='Veterinary Services'; myarray[42][2]='Companion Vet'; myarray[42][3]='Dairy Vet'; myarray[42][4]='Equine Vet'; myarray[42][5]='Large Animal Vet'; myarray[42][6]='Locum'; myarray[42][7]='Mixed Animal Vet'; myarray[42][8]='Small Animal Vet'; myarray[42][9]='Veterinary Nurse'; myarray[42][10]='Veterinary Technician'; myarray[43][0]='Job category'; myarray[43][1]='Volunteer'; return myarray; } 
 function updateindustryendhome(){ document.formSearchEmployers.catindustryend_index.value = document.formSearchEmployers.job_categoryCV.selectedIndex; } 
 function checkSearchResult(){ if(document.formSearchEmployers2.formsresults.value != ''){ 	document.getElementById("searchResult").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="padding:4px 0 0 0;text-align:left;width:800px;color:red;font-size:14pt; ">No jobs found for combined search parameters :  '+document.formSearchEmployers2.formsresults.value+document.formSearchEmployers2.formsresults6.value+'</td></tr><tr><td valign="top" style="padding:4px 0 0 0;text-align:left;width:800px;color:#000;font-size:10pt; ">Result for individual search parameters :  '+document.formSearchEmployers2.formsresults2.value+'</td></tr></table>'} if(document.formSearchEmployers2.formsresults3.value == 'noquery'){ document.getElementById("searchResult").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="padding:4px 0 0 0;text-align:left;width:800px;color:red;font-size:14pt; ">Please narrow your search. Either enter a keyword and/or select an Industry or a Region.  </td></tr></table>'}} 
 function checkSearchResulterror(){ if(document.formSearchEmployers2.formsresults.value != ''){ 	document.getElementById("searchResult").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="padding:4px 0 0 0;text-align:left;width:800px;color:red;font-size:14pt; ">No jobs found for   '+document.formSearchEmployers2.formsresults.value+document.formSearchEmployers2.formsresults6.value+'</td></tr></table>'} if(document.formSearchEmployers2.formsresults3.value == 'noquery'){ document.getElementById("searchResult").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="padding:4px 0 0 0;text-align:left;width:800px;color:red;font-size:14pt; ">Please narrow your search. Either enter a keyword and/or select an Industry or a Region.  </td></tr></table>'}} 
 function searchVis(){ document.getElementById("searchshort").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="color:#fff;text-align:left;width:324px;font-weight:bold;font-size:12pt; "><h1>SEARCH NZ JOBS</h1>  </td><td valign="top" style="color:#31363e;text-align:right;width:480px;font-weight:bold; "><div class="searchadv" style="" ><a href="http://www.jobfill.co.nz/em_2_searchcv.php" >Search Work wanted ads/cvs</a> | <a href="http://www.jobfill.co.nz/one-off-jobs/" rel="nofollow" >Quick Search One-off jobs</a> | <a href="#" onclick="searchHid();return false;">Advanced Search</a></div></td></tr></table><table  cellpadding="0"  style="width:100%; text-align:center;padding:0 0 0 0; "><tr><td valign="top" style="border:none;width:50%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;font-weight:bold;padding:3px 0 0 0; ">Keyword Search</td></tr><tr><td valign="top" style="width:200px;text-align:left; "><input name="textfield_keyword" class="ffieldinp" value="" id="textfield_keyword"  type="text" style="width:387px;" onclick="js_idrec(\'textfield_keyword\');"  /></td></tr></table></td><td valign="top" style="border:none;width:20%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold;padding:3px 0 0 1px; ">Industry</td></tr><tr><td valign="top" style="text-align:left;width:200px;padding:0 0 0 1px; "><div id="industryyCV_array"></div></td></tr></table></td><td valign="top" style="border:none;width:20%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold;padding:3px 0 0 0; ">Region</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="location_array"></div></td></tr></table></td><td valign="top" style="border:none;width:10%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#99cc00;text-align:left;width:200px;font-weight:bold; ">Search</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><input name="jobcatrep" type="hidden" value="" /><input type="submit" name="findButton" value="" style="width: 100%;height:33px;border:none; background-color:orange;margin:0 0 0 0;padding:0 30px 15px 55px;color:#fff; background: transparent url(images/searchbutton4green3.jpg) left top no-repeat;"/></td></tr></table></td></tr></table><div id="searchResult"></div></div><div style="clear:both;">';get_industry_arrayCVhomeSimple();get_location_array2homeSimple(); } 
function searchHid(){ document.getElementById("searchshort").innerHTML ='<table  cellpadding="0"  style=""><tr><td valign="top" style="color:#fff;text-align:left;width:324px;font-weight:bold;font-size:12pt; "><h1>SEARCH NZ JOBS</h1></td><td valign="top" style="color:#31363e;text-align:right;width:480px;font-weight:bold; "><div class="searchadv" style="" ><a href="http://www.jobfill.co.nz/em_2_searchcv.php" >Search Work wanted ads/cvs</a> | <a href="http://www.jobfill.co.nz/one-off-jobs/" rel="nofollow" >Quick Search One-off jobs</a> | <a href="javascript:searchVis();">Simple Search</a></div></td></tr></table><table  cellpadding="0"  style="width:100%; text-align:center;padding:0 0 0 0; "><tr><td valign="top" style="border:none;width:50%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;font-weight:bold;padding:3px 0 0 0; ">Keyword Search</td></tr><tr><td valign="top" style="width:400px;text-align:left; "><input name="textfield_keyword" class="ffieldinp" value="" id="textfield_keyword"  type="text" style="width:387px;" onclick="js_idrec(\'textfield_keyword\');"  /></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold;padding:3px 0 0 0; ">Industry</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="industryyCV_array"></div></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold;padding:3px 0 0 0; ">Region</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="location_array"></div></td></tr></table></td></tr></table><table  cellpadding="0"  style="width:100%; text-align:center;padding:0 0 0 0; "><tr><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold; ">Work Type</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><select class="ffieldsel"  name="textfield_work_type" ><option value="">Any Work Type</option><option value="Contract" >Contract</option><option value="Full - time" >Full-time</option><option value="One - off job" >One-off job</option><option value="Part - time" >Part-time</option><option value="Volunteer" >Volunteer</option></select></select></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold; ">Pay Range</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="salary_array"></div></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;font-weight:bold;width:200px; ">Job Category</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="job_catCV"><select class="ffieldsel"  name="job_categoryCV" ><option value="">Any Job Category</option></select></div></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold; ">Area</td></tr><tr><td valign="top" style="text-align:left;width:200px; "><div id="location_end_array"><select class="ffieldsel"  id="catlocationend" name="area" ><option value="">Any Area</option></select></div></td></tr></table></td></tr></table><table  cellpadding="0"  style="width:100%; text-align:center;padding:0 0 0 0; "><tr><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style=""><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:100px;font-weight:bold; ">Date Listed</td></tr><tr><td valign="top" style="text-align:left;width:100px; "><select class="ffieldsel"  name="textfield_job_listed" ><option value="0">All</option><option value="30d">Last 30 days</option><option value="15d">Last 15 days</option><option value="7d">Last 7 days</option><option value="2d">Last 2 days</option><option value="1d">Last 1 day</option><option value="12h">last 12 hours</option></select></td></tr></table></td><td valign="top" style=""><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:100px;font-weight:bold; ">Results/page</td></tr><tr><td valign="top" style="text-align:left;width:100px; "><select class="ffieldsel"  name="textfield_hits" ><option value="10">10</option> <option value="20">20</option><option value="50">50</option></select></td></tr></table></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold; "></td></tr><tr><td valign="top" style="text-align:left;width:200px; "></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:200px;font-weight:bold; "></td></tr><tr><td valign="top" style="text-align:left;width:200px; "></td></tr></table></td><td valign="top" style="border:none;width:25%; "><table  cellpadding="0"  style=""><tr><td valign="top" style=""><table  cellpadding="0"  style=""><tr><td valign="top" style="color:#31363e;text-align:left;width:100px;font-weight:bold; "></td></tr><tr><td valign="top" style="padding:0 0 0 0;text-align:left;width:100px; "></td></tr></table></td><td valign="top" style=""><table  cellpadding="0"  style=""><tr><td valign="top" style="padding:4px 0 0 0;text-align:right;width:100px; "><input type="submit" name="findButton" value="" style="width: 100%;height:33px;border:none; background-color:orange;padding:10px 30px 15px 55px;color:#fff; background: transparent url(images/searchbutton4green3.jpg) right bottom no-repeat;"/></td></tr></table></td></tr></table></td></tr></table></div><div style="clear:both;">';get_industry_arrayCVhome();get_location_array2home();get_salary_array2home();} 
function searchLess2(){ document.getElementById("searchMore").innerHTML ='';document.getElementById("searchLess").innerHTML =' <ul class="nav2" > <li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Accommodation/" rel="nofollow" >Accommodation</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Accounting/" rel="nofollow" >Accounting</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Administration/" rel="nofollow" >Administration</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Advertising/" rel="nofollow" >Advertising</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Agriculture+Fisheries/" rel="nofollow" >Agriculture/Fisheries</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Airline/" rel="nofollow" >Airline</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Arts+Entertainment/" rel="nofollow" >Arts/Entertainment</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Automotive/" rel="nofollow" >Automotive</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Banking+FinancialServices/" rel="nofollow" >Banking/Financial Services</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Bar+Cafe+Restaurant/" rel="nofollow" >Bar/Cafe/Restaurant</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Building+Maintenance/" rel="nofollow" >Building/Maintenance</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/CallCentre/" rel="nofollow" >Call Centre</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Construction/" rel="nofollow" >Construction</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Consultancy/" rel="nofollow" >Consultancy</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Corporate/" rel="nofollow" >Corporate</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Defence+Corrections/" rel="nofollow" >Defence/Corrections</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Education+Training/" rel="nofollow" >Education/Training</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Engineering/" rel="nofollow" >Engineering</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/EntryLevel/" rel="nofollow" >Entry Level</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Farming/" rel="nofollow" >Farming</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Government/" rel="nofollow" >Government</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Hair+Beauty/" rel="nofollow" >Hair/Beauty</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Healthcare+Medical/" rel="nofollow" >Healthcare/Medical</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Hospitality/" rel="nofollow" >Hospitality</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Insurance/" rel="nofollow" >Insurance</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/InformationTechnology/" rel="nofollow" >IT</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Legal/" rel="nofollow" >Legal</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Manufacturing/" rel="nofollow" >Manufacturing</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/PrimaryIndustry/" rel="nofollow" >Primary Industry</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/RealEstate/" rel="nofollow" >Real Estate</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Retail+CustomerService/" rel="nofollow" >Retail/Customer Service</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Sales+Marketing/" rel="nofollow" >Sales/Marketing</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Tourism+Travel/" rel="nofollow" >Tourism/Travel</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Transport+Logistics/" rel="nofollow" >Transport/Logistics</a></li> </ul><div  class="searchadv" style="" ><a href="#" onclick="searchMore2();return false;">More Categories...</a></div>'; } 
function searchMore2(){ document.getElementById("searchLess").innerHTML =' <ul class="nav2" > <li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Accommodation/" rel="nofollow" >Accommodation</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Accounting/" rel="nofollow" >Accounting</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Administration/" rel="nofollow" >Administration</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Advertising/" rel="nofollow" >Advertising</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Agriculture+Fisheries/" rel="nofollow" >Agriculture/Fisheries</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Airline/" rel="nofollow" >Airline</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Arts+Entertainment/" rel="nofollow" >Arts/Entertainment</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Automotive/" rel="nofollow" >Automotive</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Banking+FinancialServices/" rel="nofollow" >Banking/Financial Services</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Bar+Cafe+Restaurant/" rel="nofollow" >Bar/Cafe/Restaurant</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Building+Maintenance/" rel="nofollow" >Building/Maintenance</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/CallCentre/" rel="nofollow" >Call Centre</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Construction/" rel="nofollow" >Construction</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Consultancy/" rel="nofollow" >Consultancy</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Corporate/" rel="nofollow" >Corporate</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Defence+Corrections/" rel="nofollow" >Defence/Corrections</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Education+Training/" rel="nofollow" >Education/Training</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Engineering/" rel="nofollow" >Engineering</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/EntryLevel/" rel="nofollow" >Entry Level</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Farming/" rel="nofollow" >Farming</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Fashion/" rel="nofollow" >Fashion</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/FoodServices/" rel="nofollow" >Food Services</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Government/" rel="nofollow" >Government</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Hair+Beauty/" rel="nofollow" >Hair/Beauty</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Healthcare+Medical/" rel="nofollow" >Healthcare/Medical</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Hospitality/" rel="nofollow" >Hospitality</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/HumanResources/" rel="nofollow" >Human Resources</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Insurance/" rel="nofollow" >Insurance</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/InformationTechnology/" rel="nofollow" >IT</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Legal/" rel="nofollow" >Legal</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Manufacturing/" rel="nofollow" >Manufacturing</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Media/" rel="nofollow" >Media</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/PrimaryIndustry/" rel="nofollow" >Primary Industry</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Printing+Publishing/" rel="nofollow" >Printing/Publishing</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/RealEstate/" rel="nofollow" >Real Estate</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Retail+CustomerService/" rel="nofollow" >Retail/Customer Service</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Sales+Marketing/" rel="nofollow" >Sales/Marketing</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Science+Biotech/" rel="nofollow" >Science/Biotech</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/SecurityServices/" rel="nofollow" >Security Services</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Tourism+Travel/" rel="nofollow" >Tourism/Travel</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Transport+Logistics/" rel="nofollow" >Transport/Logistics</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/VeterinaryServices/" rel="nofollow" >Veterinary Services</a></li><li class="bullet"><a href="http://www.jobfill.co.nz/jobs/Volunteer/" rel="nofollow" >Volunteer</a></li></ul><div  class="searchadv" style="" ><a href="#" onclick="searchLess2();return false;">Less Categories</a></div>'; } 