					var heroTimeout = null;
					var numHeroes = null;
					var lastSlide = null;
					var hasFocus = true; 
					function focus_hero(child) {
						clearTimeout(heroTimeout);

						var childCt = 0;
						$("#content #hold  ul").children().each(function() {
							var rel = $(this).attr("rel");
							if (!rel) { rel = ++childCt; $(this).attr("rel", rel); }
								
							
							if (hasFocus) { 
								if (child == rel) { 
									$(this).addClass("active").fadeIn(750);
								} else { 
									if ($(this).hasClass("active")) { 
										$(this).removeClass("active").fadeOut(350);
									}	
								}
							}
						});
						
						var nextHero = child + 1;
						if (nextHero > numHeroes) {
							nextHero = 1;
						}
						lastSlide = child;
						//return; 
						heroTimeout = setTimeout(function() { focus_hero(nextHero); }, 10000);
					}

					$(document).ready(function() {
						$("#content #hold ul li").hide();
						$("#content #hold ul").show();
						$(window).load(function() {
							$("#content #hold ul li:nth-child(2) a").css({ left: "425px", top : "375px"});
							$("#content #hold ul li:nth-child(3) a").css({ left: "378px", top : "365px"});
							
							$("#content #hold ul").waitForImages(function() {
								$("#content #hold ul").css('background', 'none');
								numHeroes = $("#content #hold  ul > li").size();
								focus_hero(1);
								
								$(document).blur(function() {
								});
								
								/*
								$("#content #hold  ul li").bind('click', function() {
									var rel = $(this).attr("rel");
									focus_hero(rel);
								});
								*/		
							});							
						});

						

					});
					
					
					function onBlur() {
						hasFocus = false; 
					};
					function onFocus(){
						hasFocus = true;
					};

					if (/*@cc_on!@*/false) { // check for Internet Explorer
					    document.onfocusin = onFocus;
					    document.onfocusout = onBlur;
					} else {
					    window.onfocus = onFocus;
					    window.onblur = onBlur;
					}

