﻿ $(function() {
$('.out').corner("10px");		
$('.in').corner("10px");	
	$(".thumbs a").hover(function(){
	
		var largePath = $(this).attr("href");
		var largeAlt = $(this).attr("title");
		
		$("#largeImg").attr({ src: largePath });
		
		 return false;
	});     
	
	$('.list > li').mouseover(function(){
	$("ul",this).show();								 
									 
									 
									 });
	$('.list li').mouseout(function(){
	$("ul",this).hide();								 
									 
									 
									 });
						   });


function selectTag(showContent,selfObj){
	// ǩ
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
	tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	// ǩ
	for(i=0; j=document.getElementById("tagContent"+i); i++){
	j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
}

