﻿Cufon.replace('h1');
Cufon.replace('h2');

$(document).ready(function() {
    //$('.poweredBySitefinityLogo').remove();

    $('#page-nav li.horiz').mouseover(function() {
        $(this).find('ul.vert').show();
    });

    $('#page-nav li.horiz').mouseleave(function() {
        $(this).find('ul.vert').hide();
    });

    $('select.centre-region').change(function() {
        window.location.href = $(this).val();
    });

    $('input.centre-search').click(function() {
        window.location.href = $('select.centre-region').val();

        return false;
    });

    $('.job-inner').hover(
        function() {
            $(this).addClass('job-inner-hover');
        },
        function() {
            $(this).removeClass('job-inner-hover');
        }
    )

    $('.job-inner').click(function() {
        window.location.href = $(this).find('.job-url').html();
    });
});

