$(document).ready(function(){
	$('.flash').flash({
		src: '/banner_bitmap_2.swf',
		width: 973,
		height: 169,
		wmode: 'opaque'
	});
	var body_height = $(window).height();
	var content_height = $(".container").height();
	
	if (content_height < body_height ) {
		$(".container").css("minHeight", body_height+"px");
	}
	var content = $(".content").height();
	$(".left").css("height", content+"px");
	$(window).resize(function(){
		var body_height = $(window).height();
		var content_height = $(".container").height();
		$(".container").css("minHeight", body_height+"px");
	});
	$("#black").treeview({
		animated: "fast",
		collapsed: true,
		unique: true,
		persist: "cookie",
		toggle: function() {
			window.console && console.log("%o was toggled", this);
		}
	});
	$("#black2").treeview({
		animated: "fast",
		collapsed: false,
		unique: true,
		persist: "cookie",
		toggle: function() {
			window.console && console.log("%o was toggled", this);
		}
	});
	$('#cssmenu li').hover(function () {
		$(this).addClass('hover');
	}, function () {
		$(this).removeClass('hover');
	});
});
function nortf(){
try{
var obj=document.getElementById("richtext");
obj.className="";
} catch(e){
}
}

