function checkBrowserName() {

	var agent = navigator.userAgent.toLowerCase();  
	   
	var safari = 'safari';
	   				
	if (agent.indexOf(safari.toLowerCase())>-1) {
	   				
	   	document.getElementsByTagName("body")[0].style.backgroundPosition = "center 3px";  
	   					   					   
	} else {
	   
	   	document.getElementsByTagName("body")[0].style.backgroundPosition = "center top";
	   					
	}
	   
}

function mycarousel_initCallback(carousel)

		{
		    // Disable autoscrolling if the user clicks the prev or next button.
		    carousel.buttonNext.bind('click', function() {
		        carousel.startAuto(0);
		    });
		
		    carousel.buttonPrev.bind('click', function() {
		        carousel.startAuto(0);
		    });
		
		    // Pause autoscrolling if the user moves with the cursor over the clip.
		    carousel.clip.hover(function() {
		        carousel.stopAuto();
		    }, function() {
		        carousel.startAuto();
		    });
		};
		
		jQuery(document).ready(function() {
				$('#mycarousel').css('visibility','visible');
				jQuery('#mycarousel').jcarousel({
		        auto: 5,
		        wrap: 'last',
		        scroll: 1,
		        initCallback: mycarousel_initCallback
		    });
		});  