$(function() {
	/*	hover	*/
	$("#nav li a").fadeTo(0,1.0);
	$("#nav li a").hover(function(){
        $(this).fadeTo(500,0.5);
    },
    function(){
        $(this).fadeTo(500,1.0);
    });

	
	$("a img.hv").fadeTo(0,1.0);
	$("a img.hv").hover(function(){
        $(this).fadeTo(500,0.5);
    },
    function(){
        $(this).fadeTo(500,1.0);
    });
    
	
	/*	zabra table	*/
	$('.tableStyle, .tableStyle3cel').each(function(){
	    $(this).find("tr:even").addClass("even");
	});

	/*	top contents link	*/
	var linkboxes = $(".detail, .detailEnd");
		for (var i=0; i<linkboxes.length; i++){
		var readmores = $(".contentsLink");
		for (var j=0; j<readmores.length; j++){
			$(".detail, .detailEnd").click(function() {
				var anchorTags = this.getElementsByTagName("a");
				window.location = anchorTags[0].href;
			});
		}
	}
	$(".contentsLink").addClass("none"); 
	$(".detail, .detailEnd").hover(function(){
		$(this).fadeTo(500,0.5);
		},
		function(){
		$(this).fadeTo(500,1.0); 
	});

 	
});

