jQuery(window).load(function() {
	if (!isborderRadius()) {
		jQuery("#bxJournal").liquidCanvas("[fill{color:#262425} border{color:#eeeeee; width:0}] => roundedRect{radius:4}");
		jQuery("#boxCloud").liquidCanvas("[fill{color:#333436}] => roundedRect{radius:4}");
	}

});


jQuery(document).ready(function() {
	var journal = 'journalLine1';
	jQuery('.jdLine').click(function(){
		tm = jQuery(this);
		tid = tm.attr('id');
		tm.find('.jLayPic').animate(
			{width: 'hide', height: 'hide'},
			{	duration: 20,
				specialEasing: {width: 'linear', height: 'easeOutBounce'},
			    complete: function() {
					if(journal != tid) {
						jQuery('#' + journal).find('div.jLayPic').css('display', 'block');
						jQuery('#' + journal).find('div.jLayBody').css('display', 'none');
						jQuery('#' + journal).removeClass('active');
					}
					tm.addClass('active');
					journal = tid;
					tm.find('.jLayBody').animate({height: 'show'},{duration: 400,specialEasing: {height: 'linear'}});
			    }
			}
		);
	});
});
