$(function () {
	var scrollHeight = $(document).attr("documentElement").scrollHeight;
	var offsetHeight = $(document).attr("documentElement").offsetHeight;
	var pageHeight = (scrollHeight >= offsetHeight ? scrollHeight : offsetHeight);
	$("#frame_bg").css("top", (pageHeight -$("#frame_bg").attr("clientHeight")) + "px");
	$(".content_left_item>.content_left_item_item:even").addClass("content_left_item_item_even");
	$(".content_left_item>.content_left_item_item:odd").addClass("content_left_item_item_odd");
	$("a[rel=external]").attr("target", "_blank");
	$(document).fixPng();
	$(".frame_content_menu").mouseover(function () {
		$(this).addClass("frame_content_menu_highlight");
	});
	$(".frame_content_menu").mouseout(function () {
		$(this).removeClass("frame_content_menu_highlight");
	});
	$(".frame_content_menu").click(function () {
		var link = $(this).children("a");
		if (link.length > 0 && link[0].href.length > 0) {
			window.location = link[0].href;
		}
	});
});
