$(document).ready(function(){
	$(document).pngFix();
	
	$("a[@href^='http']").attr('target','_blank');

	if($.browser.msie){
		$(".glow").css("display", "none");
		$("#navigation a").hover(function(){
			$(this).next().css("display", "block");
			},function(){
			$(this).next().css("display", "none");
		});
	} else {
		$(".glow").fadeTo("fast", 0.0);
		$("#navigation a").hover(function(){
			$(this).next().fadeTo("slow", 1.0);
			},function(){
			$(this).next().fadeTo("slow", 0.0);
		});
	}
});

function start_intro(start)
{
	if(start)
	{
		if($("#intro")){
			$("#intro").fadeIn("slow"); 
			setTimeout(intro_fade_out,2000);
			setTimeout(intro_fade_in,3000);
		}
	}
	else
	{
		$(document).ready(function(){
			intro_fade_in();
		});
	}
}
function intro_fade_out()
{
	$("#intro").fadeOut("slow"); 
}
function intro_fade_in()
{
	$("#page").fadeIn("slow");
	$("#header").fadeIn("slow");
}
