//// buster_scripts_ns.js// A set of Netscape compataible JavaScripts // used throughout the Gunbuster.Net web site. //// resetToc// Zeroes out the toc listing.function resetToc() {	window.top.frames["tocFrame"].document.location.href="no_data.html";}// collapseToc// Hides the table of contents frame.function collapseToc() {	// this action is not supported in Netscape DOM}// expandToc// Reveals the table of contents frame.function expandToc() {	// this action is not supported in Netscape DOM}// resetData// Zeroes out the data display.function resetData() {	window.top.frames["dataFrame"].document.location.href="no_data.html";}// loadData// Fills the data frame with a reference.function loadData( newHref ) {	window.top.frames["dataFrame"].document.location.href=newHref;}// pushLevel// Adds a level to the current directory listing.function pushLevel( nextLevel, nextUrl ) {	window.top.frames["menuFrame"].navigationPath.pushLevel( nextLevel, nextUrl ) ;}// popLevel// Removes a level from the current directory listing.function popLevel() {	window.top.frames["menuFrame"].navigationPath.popLevel() ;}// setLevel// Sets a specific level of the navigation path.function setLevel( levelNum, levelName, levelUrl ) {	window.top.frames["menuFrame"].navigationPath.setLevel( levelNum, levelName, levelUrl ) ;}// clearLevel// Revoves a level and all succeeding levels from// the navigation path.function clearLevel( levelNum ) {	window.top.frames["menuFrame"].navigationPath.clearLevel( levelNum ) ;}// presentImage// Launches a new image in its own window.function presentImage( source, caption, width, height ) {	if( width < 100 ) {		width = 100 ;	}	if( height < 100 ) {		height = 100 ;	}		imageWindow = window.open( source, 				 				"imageDisplay", 								"directories=no,menubar=no,status=no,resizable=yes," + 								"width=" + width + ",height=" + height ) ;	imageWindow.resizeTo( width, height ) ;}