/* lang jqquery */
function lang(code){
	tags = new Array( "div", "img", "p", "a", "span", "strong", "option", "label", "input", "h4" );
	$.each(tags, function(index, value){
						$(value).each( function() {
										if( $(this).attr("lang") ){
											if( $(this).attr("lang") != code ){
												$(this).remove();
											}
										}
							})
					});
			
	$("a").each( function(){
		if( $(this).hasClass("fancybox") ){
			img = $(this).find('img');
			img.bind("mouseover", function(){
					$(this).animate({ opacity: 0.50 }, 100);
				} );
			img.bind("mouseout", function(){
				$(this).animate({ opacity: 1 }, 250);
				} );
		}
	});
}
