jQuery(function($) {
	$(".brand").css("opacity",0.5);
	$(".brand").hover(function(){ $(this).stop(true); $(this).fadeTo("fast",1);	},function(){ $(this).fadeTo("fast",0.5); });
	$(".technobox").css("opacity",0.8);
	$(".technobox").hover(function(){ $(this).stop(true); $(this).fadeTo("fast",1);	},function(){ $(this).fadeTo("fast",0.8); });
	$(".item").css("opacity",0.8);
	$(".item").hover(function(){ $(this).stop(true); $(this).fadeTo("fast",1);	},function(){ $(this).fadeTo("fast",0.8); });
	$('#gallery').cycle({
	    fx:      'fade',
	    speed:    1200,
		delay:	 -1800,
	    timeout:  3000
	});
	var actual = $("#flashmenu").text();
	//$("#flashmenu").html('');
	$("#flashmenu").flash({
		src: '/design/menu.swf',
		width: 320,
		height: 80,
		wmode: 'transparent',
		flashvars: { actual:actual }
		},
		{ version: 7 }
	);
	$("#flashdesign").flash({ src:'/design/lecoin.swf',wmode:'transparent',width:470,height:720},{version:7});
	$('#items .blocker').css('opacity',0);
	$('#items .blocker').css('width',$('#items').width() );
	$('#items .blocker').css('height',$('#items').height() );
		
	$('.item .content').hide();
	$('.item a').click(function(){
		var content = $(this).parent().parent().children('.content');
		$('#items .helper .content').html( content.html() );
		//content.slideDown();
		$('#items .helper').animate({ 
			width: "500px",
			height: "420px",
			marginTop: "-155px",
			marginLeft: "-255px",
			borderWidth: "5px",
			opacity: '1'
		}, 'fast' );

		$('#items .blocker').show();
		$('#items .blocker').fadeTo('fast',0.7);
		return false;
	});
	$('#items .helper .close').click(function(){
		$('#items .blocker').fadeOut();
		$('#items .helper').animate({
			width: '0px',
			height: '0px',
			marginTop: "0px",
			marginLeft: "0px",
			borderWidth: '0',
			opacity: '0'
		}, 'fast' );
		return false;
	});
	$("#umft a").hide();
	$("#umft").hover(function(){ $(this).stop(true); $('a',this).fadeIn('fast'); },function(){ $('a',this).fadeOut('fast'); });
});

