var results = new Object(); var useDisplay = false; var useConfig = ''; function send_action() { var arithon_search = window.open('about:blank', 'arithon_search', 'width=220,height=40,scrollbars=yes,resizable=yes,status=yes'); url = document.location.href; var submit_string = ''; submit_string += '&location=' + document.getElementById('arithon_location').value; submit_string += '&keywords=' + document.getElementById('arithon_keywords').value; submit_string += '&industry=' + document.getElementById('arithon_industry').value; arithon_search.document.write('
'); } function change_div(div1, div2) { // swap between visable layers div_on(div2); div_off(div1); } function apply_now_window(vacId) { var apply_now_url = 'http://eu.arithon.com/apply_now.php?module=apply_now&clientid=544&jobid='+ vacId + '&use_config=' + useConfig; var apply_now = window.open(apply_now_url, 'arithon_search', 'width=650,height=500,scrollbars=yes,resizable=yes'); } function div_on(div) { document.getElementById(div).style.visibility = 'visible'; //var htmloutput = document.getElementById(div).innerHTML+'test'; //document.getElementById(div).innerHTML = htmloutput; } function div_off(div) { document.getElementById(div).style.visibility = 'hidden'; } function searchAgain() { document.getElementById('ResultBlock').style.visibility = 'hidden'; change_div('results_div', 'search_div'); } function writeResult() { document.getElementById('ResultBlock').innerHTML = ''; var resultCounter = 0; for (idName in results) { resultCounter++; } for (idName in results) { content = '| ' + results[idName].jobTitle + ' Salary: ' + results[idName].salaryFrom + ' - ' + results[idName].salaryTo + ' Location: ' + results[idName].location + ' ' + results[idName].jobDescription + ' Ref: ' + results[idName].vacID + ' Apply Now |
');
document.write('
| ');
document.write(' ||||||||
| ');
document.write(' '); document.write(' '); document.write(' Search powered by Arithon | ');
document.write('
| '); document.write(' | '); document.write(' | '); document.write(' |
| '); document.write(' | ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write(' '); document.write(' |
| '); document.write(' | Search Results: '); document.write(' | ');
document.write(' '); document.write(' |
| '); document.write(' | '); document.write(' | '); document.write(' |
| '); document.write(' | '); document.write(' | '); document.write(' |
| '); document.write(' | Search powered by Arithon | '); document.write(''); document.write(' |
| '); document.write(' | '); document.write(' | '); document.write(' |