jQuery.fn.tab=function(){var a=jQuery(this);$(a).find(".contenedor_wallpaper:not(.pie)").hide().eq(0).show();$(a).find(".mn_tabs li a").eq(0).addClass("selected");$(a).find(".mn_tabs li a").click(function(){$(a).find(".mn_tabs li a").removeClass("selected");$(this).addClass("selected");$(a).find(".contenedor_wallpaper:not(.pie)").hide();$($(this).attr("href")).fadeIn();$($(this).attr("href")).show();return false})};
$(document).ready(function(){$(".pe_contenedor_content2").tab()});
$(document).ready(function(){$(".footer .pe_aleatorios li img, .liavanze img").fadeTo("slow",0.7);$(".footer .pe_aleatorios li img, .liavanze img").hover(function(){$(this).fadeTo("slow",1.0)},function(){$(this).fadeTo("slow",0.7)})});
function mostrarwall() { a = document.getElementById('wall'); a.style.display = '';}
function cerrarwall() { a = document.getElementById('wall'); a.style.display='none';}
function mostrartem() { a = document.getElementById('tem'); a.style.display = ''; }
function cerrartem() { a = document.getElementById('tem'); a.style.display='none'; }
// miniaturas
$(function() {
$(".image").click(function() {
var image = $(this).attr("rel");
$('#image').hide();
$('#image').fadeIn('slow');
$('#image').html('<img src="' + image + '" class="imgcont" alt="miniatura" />');
	});
});