/**
 * Article List
 *
 * This file is part of the con|comm framework
 * (c) EZdesign.de
 *
 * Author:   Timo Besenreuther
 * Created:  2009-07-09
 * Modified: 2009-09-09
 */



$(document).ready(function() {

	// teaser hover & click
	$('#ccArticleList div.ccArticleTeaser').css('cursor', 'pointer').hover(function() {
		$(this).addClass('hover');
	}, function() {
		$(this).removeClass('hover');
	}).click(function() {
		window.location.href = $(this).find('a:first').attr('href');
		return false;
	});
	
	$('a.ccArticleTeaserCart').click(function() {
		$(this).closest('form').submit();
		return false;
	});

});