/* ===============
   Author: Jump Media
   =============== */
   
$(document).ready(function()
{
	$("#breadcrumbs ul li").not(":last").each(function()
	{ 
		$(this).append("//");
	});
	
	$('input[type="password"]').click(function()
	{
		$(this).attr("value", "");
	});
	
	$(".award").each(function()
	{
		var height = 0;
		if ( $(this).height() > height )
		{
			height = $(this).height();
		}
		$(".award").height(height);
	});
	
$(".staffMain").mouseenter(function() {
    $(this).attr("style", "display: none;");
	$(this).next(".staffHover").attr("style", "display: block;");
  });
  
  $(".staffHover").mouseleave(function() {
		
        $(this).prev(".staffMain").attr("style", "display: block;");
		$(this).attr("style", "display: none;");
  });

$('.trainingAcordion').accordion({ 
    active: false, 
    header: '.filter', 
    navigation: true, 
    event: 'click', 
    fillSpace: false, 
    animated: 'easeslide' 
});
	
});

/*
$(window).bind("load", function() 
{ 
	var footerHeight = 0,
    footerTop = 0,
    $footer = $("footer");

    positionFooter();

    function positionFooter() {

		footerHeight = $footer.height();
		footerTop = ($(window).scrollTop()+$(window).height()-footerHeight)+"px";

		if ( ($(document.body).height()+footerHeight) < $(window).height())
		{
			$("#container").css("height", $(window).height());
			
			$footer.css({
				position: "absolute"
			}).css({
				top: footerTop
			})
		} 
		else 
		{
			$footer.css({
				position: "static"
			})
		}

	}

	$(window)
		.scroll(positionFooter)
		.resize(positionFooter)

});
*/


$("a.courseEnquiry").colorbox({iframe:true, width:"900px", height:"550px"});




















