$(document).ready(function() {
	$("#accordion").accordion({
		active: -1,
		autoHeight: false,
		collapsible: true
	});
	
	$('.accordion h3').click(function() {
		$(this).next().toggle();
		return false;
	}).next().hide();

	$('.frame_wrapper .images').cycle({fx: 'fade'});
	
	$("ul li:even").addClass("even");
	$("ul li:odd").addClass("odd");
	$("ul li:first-child").addClass("first");
	$("ul li:last-child").addClass("last");

/*
	$("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({
		'titlePosition'		: 'over',
		'onComplete'		: function() {
			$("#fancybox-wrap").hover(function() {
				$("#fancybox-title").show();
			}, function() {
				$("#fancybox-title").hide();
			});
		}
	});

	if (/MSIE ((5\\.5)|6)/.test(navigator.userAgent) && navigator.platform == "Win32") {
		$.fancybox(
			{
				'content'			: $("#ie-warning").html(),
				'autoDimensions'	: false,
				'width'         	: 350,
				'height'        	: 'auto',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			}
		);
	}
*/
});

