window.onload = function() {
	var so = new SWFObject("flash_logo.swf", "animation", "900", "75", "6", "#ffffff");
	so.addParam("quality", "best");
	so.addParam("wmode", "transparent");
	so.addParam("flashvars", "0");
	so.write("topFlash");
}

//start jQuery functions
$(document).ready(function(){
	$("#nav>li>div").addClass("hidden");
									
	$(".btn-slide").hover(function(){
		if ( $(this).parent().parent("li").find(":first").is(".active")){
		} else {
			$(".active").addClass("hidden").slideUp("normal").removeClass("active");
			$(this).parent().parent("li").find(":first").slideDown("normal").addClass("active");
			setTimeout(function(){$(".active").removeClass("hidden")}, 500);
		}
	});

	// remove box from links
	$("a").focus(function(){this.blur();});
	
});