/* JS EXECUTER onLoad
Executes mostly jQuery Actions
*/

// Slide Panel 
	$().ready(function(){
	// alert ('jQuery running');
	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("btn-slide_active"); return false;
		});
	});
// Modeal Dialogs
	$(document).ready(function () {
	$('#it, #fr').click(function (e) {
		e.preventDefault();
		$('#basicModalContent').modal();
	});
	});		
//Page Peel
	$(document).ready(function(){
	$("#pageflip").hover(function() {
		$("#pageflip img , .msg_block").stop()
			.animate({
				width: '307px', 
				height: '319px'
			}, 500); 
		} , function() {
		$("#pageflip img").stop() 
			.animate({
				width: '50px', 
				height: '52px'
			}, 220);
		$(".msg_block").stop() 
			.animate({
				width: '50px', 
				height: '50px'
			}, 200);
	});
	});

$(function() {
    $("#carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
	    visible: 2,
		mouseWheel: true,
		auto: 4800,
		speed: 1850
    });
	});
