	var so = new SWFObject("/global/swf/monoslideshow/monoslideshow.swf", "SOmonoSlideshow", "486", "300", "7", "#ffffff");
	//so.addParam("base", "/a/swf/monoslideshow/");
	so.addVariable("showLogo", "false");
	so.addVariable("dataFile", "/hero/getXML/");
	so.addVariable("showControl", "false");
	so.addVariable("showLoadingIcon", "false");
	so.addVariable("imageInfoRoundedCorners", "0");
	so.addVariable("imageInfoAlign", "bottomLeft");
	so.addVariable("imageInfoMarginX", "0");
	so.addVariable("imageInfoMarginY", "0");
	so.addVariable("imageInfoAlpha", "50");
	
	so.addParam("wmode","opaque");
	//<param name="wmode" value="opaque">
	//so.addVariable("dataFile", "/a/swf/monoslideshow/monoslideshow.xml");
	
	so.write("flashReplace");
	
	overHero = false;
	timer = false;
	
	$(document).ready(function(){
		//$("#hero img").hide();
		$("#rolloverArea").css("z-index","1");
		
		$(".featuredArtists li a").mouseover(function(){
			//first off, shuffle the right image to the front...
			$("#rolloverArea a").each(function(){
				//$(this).css("z-index","1");
				$(this).css("display","none");
			});
			
			c = "id_"+this.className;
			$("#rolloverArea a#"+c).css("display","block");
			
			overHero = false;
			$("#rolloverArea").css("z-index","11");
			clearTimeout(timer);
		});
		
		$("#rolloverArea").mouseout(function(){
			//console.log("leaving #rolloverArea");
			clearTimeout(timer);
			//overHero = false;
			timer = window.setTimeout(function(){
				
				$("#rolloverArea").fadeOut("normal",function(){
					$("#rolloverArea").css("z-index","1");
					$("#rolloverArea").fadeIn("fast");				
				});
			},250);
		});
		
		$("#rolloverArea a").mouseover(function(){
			clearTimeout(timer);
		});
		
		$("#rolloverArea a").mouseout(function(){
			clearTimeout(timer);
			//console.log("leaving #rolloverArea a");
			timer = window.setTimeout(function(){
			
				$("#rolloverArea").fadeOut("normal",function(){
					$("#rolloverArea").css("z-index","1");
					$("#rolloverArea").fadeIn("fast");				
				});
			},250);		
		});
			
		
		$(".featuredArtists li a").mouseout(function(){
			//set a timeout
			//wait for 3 seconds
			//..if you aint got your mouse over the hero
			//then resort back to the Flash
			
			clearTimeout(timer);
			//overHero = false;
			timer = window.setTimeout(function(){
				
				if(!overHero){
					$("#rolloverArea").fadeOut("normal",function(){
						$("#rolloverArea").css("z-index","1");
						$("#rolloverArea").fadeIn("fast");				
					});
				}
			},250);
		});
		
		$("#rolloverArea").mouseover(function(){
				overHero = true;
		});
		$("#rolloverArea a").mouseover(function(){
				overHero = true;
		});
	});