$(document).ready(function(){
	$(function () {
		$('.anythingSlider').anythingSlider({
			easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
			autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
			delay: 6000,                    // How long between slide transitions in AutoPlay mode
			startStopped: false,            // If autoPlay is on, this can force it to start stopped
			animationTime: 2600,             // How long the slide transition takes
			hashTags: true,                 // Should links change the hashtag in the URL?
			buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
				pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
				startText: "",                // Start text
				stopText: "",               // Stop text
		});
	});


	$('.projlink').hover(
		function () {
			$(this).children().find('.projrollover').stop().fadeTo(150,1.0);
		},
		function () {
			$(this).children().find('.projrollover').stop().fadeTo(150,0.0);
		}
	
	);

	$('#scroller li').click(function(){
		window.location = $(this).children().find('.hiddenlink').attr("href");
	});


	$('#scroller li').hover(
		function () {
			$('.righticon').hide();
			$('.righticon').fadeIn(150);
		},
		function () {
			$('.righticon').fadeOut(150);
		}

	);

	$('input.searchtext').focus(function(){
		if ($(this).attr("value") == 'Keywords in here...')
		{	
			$(this).attr("value","")
		}
	});
	$('input.searchtext').blur(function(){
		if ($(this).attr("value") == '')
		{	
			$(this).attr("value","Keywords in here...")
		}
	});

});
