﻿// JavaScript Document
    $(document).ready(function(){
		$("#search-form label").inFieldLabels();
        $('#home-slider').bxSlider({
			auto: true,
			controls: false,
			pager: true,
			speed: 1000,
			pause: 5000,
			wrapperClass: 'home-slide-wrapper'        
        });
        $('#bm-users-ticker').bxSlider({
            pager: false,
			auto: true,
			controls: true,
			//ticker: true,
			displaySlideQty: 5,
			moveSlideQty: 1,
			//tickerSpeed: 5000,
			//tickerHover: true,
			wrapperClass: 'bm-users-wrapper'
        });
		//Super Fish Menu Begin
		$('ul.sf-menu').superfish({
				hoverClass:    'li.sfHover',          // the class applied to hovered list items 
  				pathClass:     'overideThisToUse', // the class you have applied to list items that lead to the current page 
				pathLevels:    1,                  // the number of levels of submenus that remain open or are restored using pathClass 
				delay:         800,                // the delay in milliseconds that the mouse can remain outside a submenu without it closing 
				animation:     {opacity:'show'},   // an object equivalent to first parameter of jQuery's .animate() method 
				speed:         'fast',           // speed of the animation. Equivalent to second parameter of jQuery's .animate() method 
				autoArrows:    false,               // if true, arrow mark-up generated automatically = cleaner source code at expense of initialisation performance 
				dropShadows:   false,               // completely disable drop shadows by setting this to false 
				disableHI:     false              // set to true to disable hoverIntent detection 
		});
		//Super Fish Menu End
    });
