$(document).ready(function() {
	$("#nav_right li a.top").click(function() {
		$(this).parents("li").siblings().children("ul").slideUp(200);
		$(this).parents("li").children("ul").slideDown(200, function() {replace_footer();});
		$(this).parents("li").siblings().children("a.active").removeClass("active");
		$(this).addClass("active");
		$(this).blur();

		return false;
	});
});

function replace_footer() {
	if (navigator.appVersion.indexOf('MSIE 6.0') != -1) {
		document.getElementById('footer').style.bottom = 0;
		document.getElementById('outer').style.Height = '100%';
	}
}