function initialize() {		var latlng = new google.maps.LatLng(53.84341,-0.43453);		var myOptions = {		zoom: 16,		center: latlng,		mapTypeId: google.maps.MapTypeId.ROADMAP	};	var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);		var companyLogo = "/_inc/img/map_marker.png";	var marker = new google.maps.Marker({		position: new google.maps.LatLng(53.84341,-0.43453),		map: map,		animation: google.maps.Animation.DROP	});}$(document).ready(function(){	if ($('#map_canvas').length) {		initialize();	}	if($('#download').length) {				var boxHeight = $('#download').height();				if ($('#news').height() > boxHeight) {			boxHeight = $('#news').height();		}			$('#download, #news').height(boxHeight);				}	if($('#contact-info').length) {		var boxHeight = $('#contact-info').height();				if ($('#contact-form').height() > boxHeight) {			boxHeight = $('#contact-form').height();		}			$('#contact-info, #contact-form').height(boxHeight);				}	if($('#vacancy-info').length) {		var boxHeight = $('#vacancy-info').height();				if ($('#vacancy-form').height() > boxHeight) {			boxHeight = $('#vacancy-form').height();		}			$('#vacancy-info, #vacancy-form').height(boxHeight);				}		  $('#main-content .searchbutton').click(function() {    window.location.href = "/vacancies/category/" + $(this).prev('select').children('option:selected').val();  });    $('body#home form#entryform').submit(function() {    if(confirm("Are you sure you wish to apply for this Vacancy?")) {      // Check radio buttons      if ($('#applicant_cv_old').is(':checked')) {        window.location.href = "/vacancies/apply/" + $('#input_vacancy_url').val();        return false;      }      else        return true;    }    else      return false;  });    if ($('.latest-aviation-vacancies-ul li').size() < 1)    $('.latest-aviation-vacancies-ul').before("<p>Sorry we don't currently have any vacancies of this type but check back soon!</p>");      $("a[rel='external']").click(function(){    this.target = "_blank";  });  });
