function isIE6() {
    return ((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined))
}

if (!isIE6()) {
}

Cufon('h1')('h2')('h3');

// easySlider
$(document).ready(function(){	
	jQuery("#carousel").jCarouselLite({
		btnNext  : '.next',
	    btnPrev  : '.prev',
	    auto     : 2500,
	    speed    : 1200,
	    visible  : 4,
	    circular : true	    
  	});
	
	$('.tabs-tabs li').each(function(i){
		var obj = $(this);
		obj.click(function(){
			var content = $('.tabs-content li');
			$('.tabs-tabs li').each(function(){
				$(this).removeClass('active');
			});
			content.each(function(){
				$(this).removeClass('active');
			});
			
			$(this).addClass('active');
			$(content[i]).addClass('active');
		});
	});
});

// shadowbox
$(document).ready(function(){
	Shadowbox.init({
	    overlayOpacity : 0.8,
	    continuous     : true
	});
});
/*
// search accordion
$(document).ready(function(){	
	$(function() {
			$("#accordion").accordion({autoHeight: false});
	});
});*/

