var $j = jQuery.noConflict();
        $j(function(){ if (location.pathname.substring(1))
            $j('#navigation a[href$="' + location.pathname.substring(1) + '"]').attr('class', 'selected')
        });
        
        
$j(document).ready(function() {
    $j('#head_slider').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
                timeout: 6000
	});
});

			$j(document).ready(
				function (){
					$j("#product_slider").PikaChoose({
						show_captions:false, 
						slide_enabled:false, 
						show_prev_next:false, 
						transition:[0],
						thumb_width: 50,
						thumb_height: 50
					});
			});
	$j(document).ready(function(){
		$j('#product_slider').addClass('clearfix');
	});
$j(function() {
   $j('.signup-news').validate();
});
 
$j(document).ready(function() {

            $j("#cta_news").click(function(e) {
                e.preventDefault();
                $j("#signup-news").toggle();
                $j('#cta_news').addClass('active_cta-news');
                $j("#signup-news").css("display","block");
            });

            $j("#signup-news").mouseup(function() {
                return false
            });
            $j(document).mouseup(function(e) {
                if($j(e.target).parent("a.signin").length==0) {
                    $j("#cta_news").removeClass("menu-open");
                    $j("#signup-news").hide();
                $j('#cta_news').removeClass('active_cta-news');
		$j('#signin-menu .clear-close').val('');
                }
            });   
$j(document).ready(function() {
    $j('#sales_slider').cycle({
        fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
                timeout: 4000
    });
});         

        });
