// JavaScript Document
function show() {
   var now = new Date();
   var year = now.getFullYear();
   document.write(year);
}


$(document).ready(function(){ 
$("img.rollover").each(function() { 
var off = this.src; 
var dot = this.src.lastIndexOf('.'); 
var on = this.src.substr(0, dot) + 
'_on' + this.src.substr(dot, 4); 
$(this).hover( 
function() { this.src = on; }, 
function() { this.src = off; }); 
}); 
});


$(document).ready(function(){
		$("#tabNav > li:first").addClass("select");
		$("#tabNav > li").hover(function(){
			$(this).css("cursor","pointer");
		},function(){
			$(this).css("cursor","default");
		});
		$("#menuTab > div").hide();
		$("#menuTab > div:first").show();
		$("#tabNav > li").click(function () {
		$("#tabNav > li").removeClass("select");
		$(this).addClass("select");
		$("#menuTab > div").hide();
		$("#menuTab > div").eq($("#tabNav > li").index(this)).fadeIn();
	});
});

$(function(){
     $(".tvBox").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(document).ready(function() {
	$('div#achievementList').cycle();
});

$(function(){
  $("td:nth-child(1)").addClass("col-1");
  $("td:nth-child(2)").addClass("col-2");
});
