(function(window, document, $){

$(document).ready(function() {

	$('.list article').live('click', function() {
		window.location = $(this).find('a').attr('href');
	});

//	$('.index .list h2').live('click', function() {
//		window.location = $(this).parent().find('a').attr('href');
//	});
/*
	$('.gallery a').live('click', function(event) {
		var that = this,
			oldimg = $('.slideshow > img'),
			newimg;

		event.preventDefault();
		oldimg.detach();

		newimg = $('<img />').attr('src', $(that).attr('href'))
			.attr('alt', oldimg.attr('alt'))
			.attr('width', oldimg.attr('width'))
			.attr('height', oldimg.attr('height'));

		newimg.bind('load', function() {
			$('.slideshow').prepend(newimg);
			$('.gallery .current').removeClass('current');
			$(that).addClass('current');
		});


		newimg.each(function() {
			if (this.complete || (jQuery.browser.msie && parseInt(jQuery.browser.version) == 6)) 
				$(this).trigger('load');
		});

	});
*/
	if ($.browser.msie) {
		$('.list article').live('mouseover mouseout', function() {
			$(this).toggleClass('hover');
		});

//		$('.index .list h2').live('mouseover mouseout', function() {
//			$(this).toggleClass('hover');
//		});
	}

});

})(this, this.document, jQuery);

