var t = 2;
$(document).ready(function () {
	var c_w = $("#content").width();
	var c = Math.floor(c_w/160);
	$(".box").width(Math.floor(c_w/c));
	td(1);
});
function td(tt) {
	if (t!=tt) {
		$("#tt"+t).removeClass("active");
		$("#tt"+tt).addClass("active");
		$("#tp"+t).hide();
		$("#tp"+tt).show();
		$("#td"+t).hide();
		$("#td"+tt).show();
		t=tt;
	}
}