// JavaScript Document
jQuery(document).ready(function(){


	//this function attached focus and blur events with input elements
	var addFocusAndBlur = function($input, $val){

		$input.focus(function(){
			if (this.value == $val) {this.value = '';}
		});

		$input.blur(function(){
			if (this.value == '') {this.value = $val;}
		});
	}

	//slider init
	$(function(){
		$('#slider1').anythingSlider({
					theme           : 'default',
					easing          : 'linear',
					animationTime   : 650,
					startText	: '',
					stopText	: '',
					slideControl	: false
				});


	});


$("#midsection").mouseout(function(){
		$(".arrow").animate({opacity:0.4},800);
	});
$("#midsection, .anythingSlider, #slider1, .activeBase, .activeSlider, .anythingWindow, .arrow").mouseenter(function(){
		$(".arrow").animate({opacity:100});
	})


});


function slideupdown(id){
    if ($(id).is(":hidden")) {
      $(id).slideDown("slow");
    } else {
      $(id).slideUp("slow");
    }
}

function bullettoggle(id,id2){
	$(id).toggle();
	$(id2).toggle();
}

