$(document).ready(function(){ 

	
		
		$("ul#menu > li > a").mouseover(function () {
    
    $(this).parent().addClass('buttonOver');
    });
    
		$("ul#menu > li > a").mouseout(function () {
    $(this).parent().removeClass('buttonOver');
    $(this).parent().addClass('button');
    	
    });
});
$(document).ready(function() {
		if($('#portfolioHolder').length > 0 ){
			$('#portfolioHolder').cycle({ 
				fx: 'scrollHorz', 
				speed: 1500, 
				delay: 1500,
				timeout: 0, 
				next: 'a.next',
				prev: 'a.prev'
			});
		};
});
$(document).ready(function() {
			jQuery('ul.sf-menu').superfish();
		});

$(document).ready(function(){
		if($('#tabHoldertabs').length > 0 ){
			$('div#cHolder > div').hide(); // Hide all divs
			$('div#cHolder > div:first').show(); // Show the first div
			$('ul#tabHoldertabs li:first').addClass('Over'); // Set the class of the first link to active
			$('ul#tabHoldertabs li a').click(function(){ //When any link is clicked
			$('ul#tabHoldertabs li').removeClass('Over'); // Remove active class from all links
			$(this).parent().addClass('Over'); //Set clicked link class to active
			var currentTab1 = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
			$('div#cHolder > div').hide(); // Hide all divs
			$(currentTab1).show(); // Show div with id equal to variable currentTab
			return false;
			});
		};
});

