jQuery(document).ready(function() {
	jQuery("#ateam1").click(function(){
      // toggle selected class on #ateamX
	  jQuery('#dteam1').toggle('slow');
	});
	jQuery("#ateam1").click(function(){
	  jQuery('#ateam1').color = 'red';
	});

	jQuery("#ateam2").click(function(){
	  jQuery('#dteam2').toggle('slow');
	});

	jQuery("#ateam3").click(function(){
	  jQuery('#dteam3').toggle('slow');
	});

	jQuery("#ateam4").click(function(){
	  jQuery('#dteam4').toggle('slow');
	});

	jQuery("#ateam5").click(function(){
	  jQuery('#dteam5').toggle('slow');
	});
});

var bgstyle;

function showLichtblick(relativeURL) {
  jQuery("#wrapper").hide();
  bgstyle = jQuery("body").attr("style");
  jQuery("body").attr("style", "background: none;");
  jQuery("#flash").show();
  // TODO: add check if already embedded
  swfobject.embedSWF(relativeURL, "insert-swf-here", "1200", "850", "9.0.0", "/wp-content/uploads/expressInstall.swf");
}

function removeLichtblick() {
  jQuery("#flash").hide();
  jQuery("body").attr("style", bgstyle);
  jQuery("#wrapper").show();
}

