//iniate jquery
$(function(){
	//$('a#down').click(function(){
	//	$('#box').slideDown('fast');
	//});
	
/*	var fadeDuration = 150; //time in milliseconds
      
  $('ul.featureListNav li').hover(function() {
    $(this).animate({ paddingLeft: '30px',}, fadeDuration);
    $(this).addClass("hovered");
    $(this).append("<img src='/images/grayArrow.png' />");

  },function() {
    $(this).animate({ paddingLeft: '0' }, fadeDuration);
    $(this).removeClass("hovered");
    $('ul.featureListNav li img').remove("<img src='/images/grayArrow.png' />");    
  });
  */
  
  //for feature video tutorial dropdown
  
  $('.tutorialVideoBar').click(function(){
  		if ($(".tutorialVideoBox").is(":hidden"))
        {}else
        {
        	closeMovie();
        }
  		$('.tutorialVideoBox').slideToggle('fast');
  		
  		
  });  
  $('#bxVideoClose').click(function(){
  		$('.tutorialVideoBox').slideUp('fast');
		closeMovie();
  });
  
    
  $('#radio1').click(function(){
  		$('#option1').css({'display':'block'});
  });
  
  
  //for the accordion on the FAQ page
  
  	$('.bxAnswer').css({'display':'none'});
  
	$('.bxquestions').click(function(){
		activeHead = this;
		$(this).css({'color':'#568190', 'width':'700px'}).css({backgroundImage:'url(/images/)'}).next('.bxAnswer').slideToggle('fast').siblings('.bxAnswer').slideUp('fast');
			$(this).siblings().css({'color':'#000000'}).css({backgroundImage:''});
	});
	/*
	$('.bxquestions').hover(function() {
		if(this != activeHead)
			$(this).stop().css({'color':'#7a9e58'});
	},function() {
		if(this != activeHead)
			$(this).stop().css({'color':'#000'})
	});*/
	
/*	$('.whySideHolderBottom').hover(function(){
		$(this).addClass("whySideHolderBottomHover");
		$('.whySideHolderBottomHover h5').toggleClass("whySideHolderBottomHoverC");
	}, function(){
		$(this).removeClass("whySideHolderBottomHover ");
	}); */
	
	tooltip();

	
});