$(window).load(function () {

});

$(document).ready(function(){
	
	swfobject.embedSWF("banner.swf", "home-figure", "600", "210", "9.0.0");
	
	$("ol.product-list li:first-child, #news-bar p:first").addClass('first');
	$("ol.product-list li:last-child, #news-bar p:last-child").addClass('last');
	
	$('dl dt a').each(function() {
	
		$(this).click(function() {
		
			if( $(this).parent().next().is(":visible") ) { 
			
				return false;
			
			} else {
		
			$('dl dd:visible').slideUp("fast");
			$('dl dt a.active').removeClass('active');	
			$(this).addClass('active');	
			$(this).parent().next().slideDown("fast");
			
			// alert('uhu');
			
			return false;
			
			}
		
		});
	
	});
	
	$('.prod-figure a').append('<span class="zoom"></span>');
	$('.prod-figure a').colorbox();
		
});
