function mycarousel_initCallback(carousel)
{
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
function mycarousel_initCallback2(carousel) {
    jQuery('.jcarousel-control a').bind('click', function() {
        carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
        return false;
    });

    jQuery('.jcarousel-scroll select').bind('change', function() {
        carousel.options.scroll = jQuery.jcarousel.intval(this.options[this.selectedIndex].value);
        return false;
    });
	
	    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
$(document).ready(function() {
	$('a[rel*=facebox]').facebox();
	$('#sie6d').center();
	
    $('.hideme').click(function() {
          $('#lbOverlay,#sie6d').hide();
    });
	
	$('#topnav ul li').hover(function() {
			$(this).find('div.submenu').slideDown();
		},
		function() {
		  $(this).find('div.submenu').slideUp();
	});


    $('#latestp').jcarousel({
        vertical: true,
        scroll: 1,
        wrap: 'last'
    });
    $('#productinfoimg').jcarousel({
        vertical: false,
        scroll: 1,
		wrap: 'last'
    });	
});    $(window).load(function() {        $('#slider').nivoSlider({		pauseTime: 5000		});    });
