var J = jQuery.noConflict();
J(document).ready(function(){
	J('#newsflash-content').cycle({
		fx:     'scrollLeft',
		speed:  '3000'
	});
	J('#left_tabs').tabs({
		 fxFade: true,
		 fxSpeed: 'fast' 
	});
	J('ul#testimonial').innerfade({
		speed: 1500,
		timeout: 4000,
		type: 'random',
		containerheight: '100px'
	});
	J('ul#testimonial2').innerfade({
		speed: 1500,
		timeout: 5000,
		type: 'random',
		containerheight: '100px'
	});
	J('ul#fiturbaru').innerfade({
		speed: 2000,
		timeout: 5000,
		type: 'random',
		containerheight: '250px'
	});
	J('#hosting').accordion({
		header: 'h3'
	});
	J('#inner_content').hide();
	J('#com_result_box').hide();
	J('.ext-list').click(function() {
			J('#inner_content').slideToggle('fast');
			return false;
	});
	J('.dom-hide').click(function() {
		J('#inner_content').slideToggle('fast');
		return false;
	  });
	J('textarea').autoResize({
    // On resize:
    onResize : function() {
        J(this).css({opacity:0.8});
    },
    // After resize:
    animateCallback : function() {
        J(this).css({opacity:1});
    },
    // Quite slow animation:
    animateDuration : 300,
    // More extra space:
    extraSpace : 40
	});

});
function showext(){
	J('#inner_content').show('fast');
}