function alternate(id){
	if(document.getElementsByTagName){
		var table = document.getElementById(id);  
		var rows = table.getElementsByTagName("tr");  
		for(i = 0; i < rows.length; i++){          
			//manipulate rows
			if(i % 2 == 0){
				rows[i].className = "even";
			}
			else{
				rows[i].className = "odd";
			}      
		}
	}
}

document.write("<style media=\"screen\">.description, .answer, .toggleListContent, .tooltipcontent, .frameAnswer, .lightboxcontent { display: none; }</style>");
$(document).ready(function(){
	$("#infolitaccordion").accordion({
	    active: false,
		header: '.head',
		autoheight: false,
		animated: 'bounceslide',
		navigation: true
	});
});

$(document).ready(function(){
	jQuery.easing.def = "easeInOutExpo";
	$(".question").click(function () {
		$(this).siblings(".answer") .toggle("slide", { direction:"left" }, 500);
		return false;
	});
});

$(document).ready(function(){
	$(".toggleListLink").click(function () {
		$(this).siblings(".toggleListContent") .toggle();
		return false;
	});
});

$(document).ready(function(){
	$(".tooltip").tooltip({
		bodyHandler: function() {
			return $($(this).attr("href")).html();
		},
		showURL: false,
		track:true
	});
	$(".tooltip").click(function(){return false;});
});