var jq = jQuery.noConflict();

jq(document).ready(function($)
{

	$(".topTabs").tabs($(".tab-content div.tabs > div"), {
		effect: "default"
	});

	$('.tab-triggers ul > li').each(function(indexInArray, valueOfElement){
		if((indexInArray % 2) == 0) {
			$(this).addClass('tableGreen');
		} else {
			$(this).addClass('tableLimeGreen');
		}
	});

	$('.tab-content .tabs > div').each(function(indexInArray, valueOfElement){
		if((indexInArray % 2) == 0) {
			$(this).addClass('tableGreen');
		} else {
			$(this).addClass('tableLimeGreen');
		}
	});

});

//Arek, zmiana kolorow tytulow w boxach SmartEco
jq(document).ready(function($) {

		//pierwszy box
		$("a[href=/0ee016cf25ad31e156aa458ef89bf945] span.t").css("color", "#005e84");
		$("a[href=/0ee016cf25ad31e156aa458ef89bf945] span.c strong").css("color", "#005e84");


		//box o linku kompensacja...
		$("a[href=/kompensacja_komunikat] span.t").css("color", "#005e84");

/*
		var topbarWrapper = jq('<div />').attr({id: 'topbarWrapper'}).css({width: '100%', display: 'block', backgroundColor: '#000', height: '0'});
		jq('#pojemnik').wrap('<div id="bodyWrapper" />');

		jq(topbarWrapper).prependTo('body');

		setTimeout(function() {
			topbarWrapper.animate({height: '60px'}, 800);
			jq('body').animate({backgroundPosition: '0 60px'}, 800);
		}, 2000);
*/
});

