	//animate buttons

	// Hide/Show panel
	$(document).ready(function() {
		$(".topMenuAction").click( function() {
			if ($("#openCloseIdentifier").is(":hidden")) {
				$("#slider").animate({ 
					marginTop: "-155px"
					}, 500 );
				$("#openCloseIdentifier").show();
			} else {
				$("#slider").animate({ 
					marginTop: "0px"
					}, 500 );
				$("#openCloseIdentifier").hide();
			}
		});  
	});
	
	//Accordion
	jQuery().ready(function(){
		// simple accordion
		jQuery('#list1b').accordion({
			autoheight: false,
			active: 8,
			header: ".acc"
		});
 
		// bind to change event of select to control first and seconds accordion
		// similar to tab's plugin triggerTab(), without an extra method
		var accordions = jQuery('#list1b');
 
	});
	
	//Slider
	$(document).ready(function(){
	
	$(".myController").jFlow({
		slides: ".mySlides",
		controller: ".jFlowControl", // must be class, use . sign
		slideWrapper : "#jFlowSlide", // must be id, use # sign
		selectedWrapper: "jFlowSelected",  // just pure text, no sign
		height: "200px",
		width: "99%",
		duration: 400,
		prev: ".jFlowPrev", // must be class, use . sign
		next: ".jFlowNext" // must be class, use . sign
	});
	
	$(".myController2").jFlow({
		slides: ".mySlides2",
		controller: ".jFlowControl2", // must be class, use . sign
		slideWrapper : "#jFlowSlide2", // must be id, use # sign
		selectedWrapper: "jFlowSelected2",  // just pure text, no sign
		easing: "swing",
		duration: 400,
		height: "200px",
		width: "100%",
		prev: ".jFlowPrev2", // must be class, use . sign
		next: ".jFlowNext2" // must be class, use . sign
	});
});
 
		$(document).ready(function() {
			$(".fancy").fancybox();
		    $(".video").fancybox({
		    'hideOnContentClick': false});
		    $(".payment").fancybox({
		    'hideOnContentClick': false});

			
		});
		jQuery(document).ready(function() {
		     jQuery('a[rel*=facebox]').facebox() 
	        })


 
 
