	

	var news_show = new Spry.Effect.Slide('rollNews', {duration: 150, from: '0%', to: '100%', toggle:false});
	var news_hide = new Spry.Effect.Slide('rollNews', {duration: 150, from: '100%', to: '0%', toggle:false});
	var randomBits_show = new Spry.Effect.Slide('rollRandomBits', {duration: 150, from: '0%', to: '100%', toggle:false});
	var randomBits_hide = new Spry.Effect.Slide('rollRandomBits', {duration: 150, from: '100%', to: '0%', toggle:false});
	var modifiedLife_show = new Spry.Effect.Slide('rollModifiedLife', {duration: 150, from: '0%', to: '100%', toggle:false});
	var modifiedLife_hide = new Spry.Effect.Slide('rollModifiedLife', {duration: 150, from: '100%', to: '0%', toggle:false});
	var techviews_show = new Spry.Effect.Slide('rollTechviews', {duration: 150, from: '0%', to: '100%', toggle:false});
	var techviews_hide = new Spry.Effect.Slide('rollTechviews', {duration: 150, from: '100%', to: '0%', toggle:false});

	var news_on = 2;
	var randomBits_on = 2;
	var modifiedLife_on = 2;
	var techviews_on = 2;
	
	function setInitialZ() {
		//document.getElementById('features').style.zIndex = 1;
		document.getElementById('navigation').style.display = "block";
		document.getElementById('navigation').style.zIndex = 3;
		document.getElementById('newsContainer').style.zIndex = -1;
		document.getElementById('randomBitsContainer').style.zIndex = -1;
		document.getElementById('modifiedLifeContainer').style.zIndex = -1;
		document.getElementById('techviewsContainer').style.zIndex = -1;
	}
	
	function setZ(m) {
		eval("document.getElementById('" + m + "Container').style.zIndex = 2");
	}

	function setZBack(m) {
		var o = 0;
		eval("o = " + m + "_on");
		if (o == 2)
			eval("document.getElementById('" + m + "Container').style.zIndex = -1");
	}
	
	function showMenu(m) {
		var o = 0;
		eval("o = " + m + "_on");
		if (o == 2) {
			setZ(m);
			eval(m + "_on = 1");
			eval(m + "_show.start()");
		} else {
			keepMenu(m);
		}
	}
	
	function hideMenu(m) {
		eval(m + "_on = 0");
		setTimeout('realHideMenu("' + m + '")', 200);
	}
	
	function realHideMenu(m) {
		var o = 0;
		eval("o = " + m + "_on");
		if (o == 0) {
			eval(m + "_hide.start()");
			eval(m + "_on = 2");
			setTimeout("setZBack('" + m + "')", 150);
		}
	}
	
	function keepMenu(m) {
		eval(m + "_on = 1");
	}
	
	function clearForm() {
		if (document.getElementById("s").value == "SEARCH"){
			document.getElementById("s").value="";
		}
	}

