jQuery(document).ready(function($){
	//////////////////// accordion effect ////////////////////
	$("#aboutContainer .snippet-sec .trigger:first").addClass("arrowDown")
	$(".snippet-content:first").stop().slideToggle(500).fadeIn(500);
		
    $("#aboutContainer .snippet-sec .trigger").click(function(){
														   
		$(".snippet-content:visible").hide();
		$("#aboutContainer .snippet-sec .trigger").removeClass("arrowDown");
		
		$(this).toggleClass("arrowDown");	
		
       	$(this).parent().find('.snippet-content').stop().fadeIn(500, function(){
		
			$('.snippet-content:hidden').parent().find('.trigger').removeClass('arrowDown');
																						
		});
		
        return false; 
		
    });
	
	//////////////////// cycle effect ////////////////////
	$('#phoneEffect').cycle({fx: 'scrollLeft', speed:300, timeout: 3000});
	
	//////////////////// contentSwapWrap ////////////////////
	var appList = $("#carrierAppList ul li");
	var appListDes = $("#contentSwapWrap .contentSwapSection");
	
	$("#contentSwapWrap .contentSwapSection").hide();
	$("#contentSwapWrap .contentSwapSection:first").show();
	$("#carrierAppList ul li:first a").addClass("active");
	
	appList.click(function(){
		var num = appList.index(this);	
										   
		if($(this).children("a").hasClass("active")){
			return false;
		} else {
			$(appList).children("a").removeClass("active");
			$(this).children("a").addClass("active");
			$(appListDes).hide();
			$(appListDes[num]).fadeIn(500);
			return false;
		}
	});
});