﻿$(document).ready(function () {

    //Set link for when we click on these elements
    $('.jobCategoryRows').click(function () {
        $hdfCategory = $(this).find('input[name=hdfCategoryID]').val();
        //$hdfParentID = $(this).find('input[name=hdfParentCategoryID]').val();
        window.location.href = 'job_description.aspx?id=' + $hdfCategory;
    });

    //Change cursor when we hover over these elements
    $('.jobCategoryRows').hover(
			function () { $(this).addClass('divHoverSelect'); },
			function () { $(this).removeClass('divHoverSelect'); }
		);

    //add click functionality and show print link
    $("#extraNav a.printLink").click(function () { window.print(); }).show();

    //Change opacity on button rollover
    $('.button').hover(function () {
        $(this).animate({ opacity: 0.8});
    }, function () {
        $(this).animate({ opacity: 1.0});
    });

});






