$(function () {
		
					var qs = $('input#q').quicksearch('.users ul li');
					qs.cache();
						
						
							//global vars
							var searchBox2 = $("#q");
							var searchBox2Default = "Find someone...";
							
							//Searchbox2 show/hide default text if needed
							searchBox2.focus(function(){
								if($(this).attr("value") == searchBox2Default) $(this).attr("value", "");
							});
							searchBox2.blur(function(){
								if($(this).attr("value") == "") $(this).attr("value", searchBox2Default);
							});
							
							   $('#toggleAll').click( function() {
							    $('#janitors').fadeIn();
							     $('#artists').fadeIn();
							   });
							      $('#toggleJanitors').click( function() {
							       $('#janitors').fadeIn();
							        $('#artists').fadeOut();
							      });
							         $('#toggleArtists').click( function() {
							          $('#janitors').fadeOut();
							           $('#artists').fadeIn();
							         });
						
						// filter Follow
						$( '#filter' ).scrollFollow({
							container: 'darkBody',
							    offset: -40
						});
						
						//scroll to top
							$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("fast")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("fast")}else{$(scrollDiv).fadeIn("fast")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"fast")})}
							$("#topBtn").scrollToTop({
							   speed: "fast",
							   ease:  "easeOutBounce",
							   start: 700
							});

//  $("img").lazyload({
//       effect      : "fadeIn"
//   });
							
							
					});

    Cufon.replace('.font-myriad', { fontFamily: 'font-myriad', hover: true });
    Cufon.replace('.font-angelina', { fontFamily: 'Angelina', hover: true });
