
<!-- Hide script from old browsers

//Popup window functions
function popWin(type, id) {
	var newWin;
	if (type == "StarTimelineYr1") {
		var filename = "../StarSI/TimelineDetails06-07.aspx?ID=" + id
		newWin = window.open(filename,"Presentation","width=550,height=450,toolbars=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=yes,status=no")
	}
	else if (type == "SummitAgenda07") {
		var filename = "../Summit/PresentationDetails.aspx?Type=" + type + "&ID=" + id
		newWin = window.open(filename,"Presentation","width=500,height=440,toolbars=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=yes,status=no")
	}
	else if (type == "Audio") {
		var filename = "../MP3/mp3player.aspx?ID=" + id
		newWin = window.open(filename,"Audio","width=315,height=125,toolbars=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=no,status=no")
	}
	else if (type == "Video") {
		var filename = "../Video/videoplayer.aspx?ID=" + id
		newWin = window.open(filename,"Video","width=425,height=325,toolbars=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=no,status=no")
	}
	else if (type == "Videolarge") {
		var filename = "../Video/videoplayerlarge.aspx?ID=" + id
		newWin = window.open(filename,"Video","width=450,height=375,toolbars=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=no,status=no")
	}
	newWin.focus()
}

//Link out to new site
function LinkOut(newSite) {
	var s="You are about to go to another Web site.\n\nYou will leave " +
	"this site, but you can return by clicking on your browser's BACK "+
	"button.\n\nAdvertising on external sites is not endorsed by CHESS.\n\n" +
	"Do you still want to leave?";
	if ( confirm(s) ) {top.location.href=newSite;}
}

//Show-Hide Function
var state = 'none';
var state2 = 'block'; 
function showhide(layer_ref, layer_ref2) { 
	if (state == 'block') { 
		state = 'none';
		state2 = 'block'; 
	} 
	else { 
		state = 'block';
		state2 = 'none'; 
	} 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
		eval( "document.all." + layer_ref + ".style.display = state");
		eval( "document.all." + layer_ref2 + ".style.display = state2");
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
		document.layers[layer_ref].display = state;
		document.layers[layer_ref2].display = state2; 
	} 
	if (document.getElementById &&!document.all) { 
		hza = document.getElementById(layer_ref); 
		hza.style.display = state;
		hza = document.getElementById(layer_ref2); 
		hza.style.display = state2; 
	} 
}

// End hiding script from old browsers -->
