

	jQuery(function () {
	   	jQuery('#testimonialslist').cycle({ fx:     'scrollUp', delay: 5000});
		jQuery('.pics').cycle('fade');
		jQuery("#clientarea").hover(function(){jQuery(this).stop().animate({ top: '0px'}, 'slow', 'easeOutQuad');}, function() { jQuery(this).stop().animate({ top: '-66px'}, 'slow', 'easeOutBounce');});
		jQuery("ul#pricefaq li.rounded").hover(function() {jQuery(this).animate({ backgroundColor: "#ddd" }, 600);},function() {jQuery(this).animate({ backgroundColor: "#fff" }, 400);});
		jQuery("div#tweet p").hover(function() {jQuery(this).animate({ backgroundColor: "#070707" }, 600);},function() {jQuery(this).animate({ backgroundColor: "#474747" }, 400);});
			jQuery("#dropmenu ul").css({display: "none"}); // Opera Fix
		jQuery("#dropmenu li").hover(function(){jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);},function(){
			jQuery(this).find('ul:first').css({visibility: "hidden"});
				});
		elementy = jQuery('#top_menu').children().find('li');jQuery(elementy).each( function() {if( jQuery(this).find('ul').size() !=0 ){jQuery(this).addClass("arrow");}});

	});
	

$(document).ready(function() {

	//When page loads...
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content

	//On Click Event
	$("ul.tabs li").click(function() {

		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});

});

