$(document).ready(function () {

$("a#lightbox").fancybox({
				'overlayShow'	: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
				scrolling:'auto',
				type: 'iframe',
				width:700,
				height:600
			});

$('#slider').nivoSlider({
        effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
      
        animSpeed:500, // Slide transition speed
        pauseTime:6000, // How long each slide will show
        startSlide:0, // Set starting Slide (0 index)
        directionNav:false, // Next & Prev navigation
        directionNavHide:false, // Only show on hover
        controlNav:false, // 1,2,3... navigation
        controlNavThumbs:false, // Use thumbnails for Control Nav
        controlNavThumbsFromRel:false, // Use image rel for thumbs
       
        keyboardNav:false, // Use left & right arrows
        pauseOnHover:false, // Stop animation while hovering
        manualAdvance:false, // Force manual transitions
        captionOpacity:0.8 // Universal caption opacity
     
    });
$('div#main_nav ul').superfish({
delay: 300,
animation: {height:'show'},
speed: 200,
 autoArrows:true,
  dropShadows: true 
});





$("ul#job_list li:has(a)").mouseover(function() {
	$(this).css("cursor","pointer"); 
	$(this).css("background-color","#F3F2F0"); 

	});  
	$("ul#job_list li:has(a)").mouseout(function() {
	$(this).css("background-color","#FFF"); 

	});

$("ul#job_list li:has(a)").click(function() {


window.location = $("a:first",this).attr("href");
	
	});






});


