$('#readyTest').corner();
    
    $(function(){
        $(".navigation-main li a").corner("round 7px");
    });

$(document).ready(function(){ 
	
/* scrolls to zero */	
	$('.slider').attr({scrollTop:0,scrollLeft:0});
	$('.slider').css({
		'overflow':'hidden'
	})
	
/* this is the key to scroll */
	$('.slider').localScroll({
		target:'.slider',
		axis: 'x',
		queue: true,
		duration: 2400,
		easing: 'easeOutQuart',
		hash: true
	});
	
/* list navigation */	
	$('ul.list-subnavigation').localScroll({
		target:'.slider',
		axis: 'x',
		queue: true,
		duration: 2400,
		easing: 'easeOutQuart',
		hash: true
	});
	
/* arrow navigation */
	
$('.slider').serialScroll({
		items: 'li',
		prev: '.backward a',
		next: '.forward a',
		offset: 0,
		start: 0,
		duration: 2400,
		force: true,
		stop: true,
		lock: false,
		cycle: false,
		easing: 'easeOutQuart',
		jump: true  
	});
}); 

/* lightbox */

$(function() {
        $('.slider a').lightBox();
    });

/* hide some vcard data from public */

$(function() {
	$('.vcard span.street-address').hide();
	$('.vcard span.postal-code').hide();
	$('.vcard span.locality').hide();
	$('.vcard span.country-name').hide();
	$('.vcard span.tel').hide();
	$('.vcard span.email').hide();
}
)

