<!-- // Detect Client Browser type
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
var requiredFlashVersion = 7;

// JavaScript helper required to detect Flash Player PlugIn version information
function JSGetSwfVer(i){
      // NS/Opera version >= 3 check for Flash plugin in plugin array
      if (navigator.plugins != null && navigator.plugins.length > 0) {
            if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                  var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                        var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                        descArray = flashDescription.split(" ");
                        tempArrayMajor = descArray[2].split(".");
                        versionMajor = tempArrayMajor[0];
                  if ( descArray[3] != "" ) {
                        tempArrayMinor = descArray[3].split("r");
                  } else {
                        tempArrayMinor = descArray[4].split("r");
                  }
                        versionMinor = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
                        flashVer = parseFloat(versionMajor + "." + versionMinor);
            } else {
                  flashVer = -1;
            }
      }
      // MSN/WebTV 2.6 supports Flash 4
      else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
      // WebTV 2.5 supports Flash 3
      else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
      // older WebTV supports Flash 2
      else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
      // Can't detect in all other cases
      else {
            
            flashVer = -1;
      }
      return flashVer;
}

// If called with no parameters this function returns a floating point value 
// which should be the version of the Flash Player or 0.0 
// ex: Flash Player 6r65 returns 6.65
// If called with reqMajorVer, reqMinorVer this function returns true if that version or greater is installed
function DetectFlashVer(reqMajorVer, reqMinorVer) 
{
      reqVer = parseFloat(reqMajorVer + "." + reqMinorVer);
      // loop backwards through the versions until we find the newest version      
      for (i=25;i>0;i--) {      
            if (isIE && isWin && !isOpera) {;
                  versionStr = VBGetSwfVer(i);
            } else {
                  versionStr = JSGetSwfVer(i);
            }
            if (versionStr == -1) {
					return false;
			  } else if (versionStr != 0) {
                  if(isIE && isWin && !isOpera) {
                        tempArray = versionStr.split(" ");
                        tempString = tempArray[1];
                        versionArray = tempString .split(",");
                        
                        versionMajor = versionArray[0];
                        versionMinor   = versionArray[2];
                        
                        versionString = versionMajor + "." + versionMinor;
                        versionNum = parseFloat(versionString);
                  } else {
                         versionNum = versionStr;
                  }
                  return (versionNum >= reqVer ? true : false );            
            }
      }
      
      return (reqVer ? false : versionStr);
}


// Returns the selected value from a radio button group
function getRadioActive(radio_group) {
	 // Run through the group
	 for (counter = 0; counter < radio_group.length; counter++) {
		 // When we find the activated button, return the index
		 if (radio_group[counter].checked) {
			 return radio_group[counter].value;
		 }
	 }
	 // If no button is activated, return -1
	 return -1
}

function findEndIndex(searchString, startIndex) {
	var endIndex = searchString.indexOf("&", startIndex);
	if (endIndex < 0) {
		endIndex = parms.length;
	}
	return endIndex;
}

function openPage(pageURL, pageParms) {
	if (pageURL != null) {
		var openPageURL = pageURL;
		
		if (pageParms != null) {
			openPageURL = openPageURL + pageParms;
		}
		
		newWindow = window.open(openPageURL);
		newWindow.focus();
	}
}

function openPage(pageURL) {
	if (pageURL != null) {
		document.URL = pageURL;
	}
}

function openFrame(mainURL, altURL) {

		var bottomFrameSrc = "";
		document.writeln('<frameset rows="220,*"  frameborder="no" border="0" framespacing="0">');
		document.writeln('<frame src="header.html" NAME="topframe" scrolling="NO" noresize>');
				
		if (altURL !=null && altURL.length > 0) {
			bottomFrameSrc = '<frame src="';
			bottomFrameSrc += mainURL;
			bottomFrameSrc += '?main=';
			bottomFrameSrc += altURL;
			bottomFrameSrc += '" name="bottomFrame">';
		} else {
			bottomFrameSrc = '<frame src="';
			bottomFrameSrc += mainURL;
			bottomFrameSrc += '" name="bottomFrame">';
		}
		
		document.writeln(bottomFrameSrc);
		document.writeln('<\/frameset>');
		document.writeln('<noframes>');
		document.writeln('<body>');
		document.writeln('window.location.href="' + altURL + '"');
		document.writeln('</body>');
		document.writeln('</noframes>');
}

function openFrameWithParms(mainURL, altURL, locationSearchString) {

		document.writeln('<frameset rows="220,*"  frameborder="no" border="0" framespacing="0">');
		document.writeln('<frame src="header.html" NAME="topframe" scrolling="NO" noresize>');
		document.writeln('<frame src="' + mainURL + (locationSearchString ? unescape(locationSearchString.substring(1)):'error.html') + '" name="bottomFrame">');
		document.writeln('<\/frameset>');
		
		document.writeln('<noframes>');
		document.writeln('<body>');
		document.writeln('window.location.href="' + altURL + (locationSearchString ? unescape(locationSearchString.substring(1)):'error.html') + '"');
		document.writeln('</body>');
		document.writeln('</noframes>');
}

<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function writeBodyStart() {
	// version detection script
	checkVersions();
	var upwardTraversal = '';

	document.writeln("<table border='0'>");
	document.writeln("	<!-- row 1 (top margin) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 - 6 -->");
	document.writeln("		<td colspan=6 height=5></td>");
	document.writeln("	</tr>");
	
	document.writeln("	<!-- row 4 (menu) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 -->");
	document.writeln("		<td width='1%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 2 -->");
	document.writeln("		<td width='15%' height='225' valign='bottom'>");
	writeMainMenu(upwardTraversal);
	document.writeln("		</td>");
	document.writeln("		<!-- column 3 -->");
	document.writeln("		<td width='5%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 4 -->");
	document.writeln("		<td align='left' colspan='2'>");
	
	writeEye();
	
	document.writeln("		</td>");
	document.writeln("		<!-- column 6 -->");
	document.writeln("		<td width='100%'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
	
	document.writeln("	<!-- row 5 (ticker) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 -->");
	document.writeln("		<td width='1%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 4 -->");
	document.writeln("		<td align='center' valign='bottom' colspan='4' height='75'>");
	writeTicker();
	document.writeln("		</td>");
	document.writeln("		<!-- column 6 -->");
	document.writeln("		<td width='100%'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");

	document.writeln("	<!-- row 5 (spacer) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 - 6 -->");
	document.writeln("		<td colspan=6 height=20 valign='center' align='center'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
}

function writeBodyEnd(mute) {
	writeNavigationMenu(mute);
	writePageFooter();
	document.writeln("</table>");
}

function writeBody(command, upwardTraversal, writeBodyTag) {
	
	// version detection script
	checkVersions();
	
	if (writeBodyTag) {
		document.writeln("<BODY bgcolor='#000000' width='90%'>");
	}
	
	document.writeln("<table border='0'>");
	document.writeln("	<!-- row 1 (top margin) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 - 6 -->");
	document.writeln("		<td colspan=6 height=5></td>");
	document.writeln("	</tr>");
	
	document.writeln("	<!-- row 4 (menu) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 -->");
	document.writeln("		<td width='1%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 2 -->");
	document.writeln("		<td width='15%' height='225' valign='bottom'>");
	writeMainMenu(upwardTraversal);
	document.writeln("		</td>");
	document.writeln("		<!-- column 3 -->");
	document.writeln("		<td width='5%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 4 -->");
	document.writeln("		<td align='left' colspan='2'>");
	
	writeEye();
	
	document.writeln("		</td>");
	document.writeln("		<!-- column 6 -->");
	document.writeln("		<td width='100%'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
	
	document.writeln("	<!-- row 5 (ticker) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 -->");
	document.writeln("		<td width='1%'>");
	document.writeln("		</td>");
	document.writeln("		<!-- column 4 -->");
	document.writeln("		<td align='center' valign='bottom' colspan='4' height='75'>");
	writeTicker();
	document.writeln("		</td>");
	document.writeln("		<!-- column 6 -->");
	document.writeln("		<td width='100%'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");

	document.writeln("	<!-- row 5 (spacer) -->");
	document.writeln("	<tr>");
	document.writeln("		<!-- column 1 - 6 -->");
	document.writeln("		<td colspan=6 height=20 valign='center' align='center'>");
	document.writeln("		</td>");
	document.writeln("	</tr>");

	/*
	var temp = document.URL;
	var endIndex = temp.indexOf("?");
	if (endIndex > 0) {
		command = temp.substring(endIndex + 1, temp.length);
	}
	*/
	
	if (command != null) {
		//var parm=temp.substring(endIndex + 1, temp.length);
		var parm = command;
		
		if (parm=="nav_home") {
			writeWelcome();
		}
		else if (parm=="imagery_home" || parm=="imagery_kali") {
			writeImageryMenu(upwardTraversal);
		}
		else if (parm=="audio_home") {
			writeAudioMenu();
		} 
		else if (parm=="video_home") {
			writeVideoMenu();
		}
		else if (parm=="writing_home") {
			writeWritingMenu(upwardTraversal);
		}
		else if (parm=="links_home") {
			writeLinksTable();
		}
		else if (parm=="contact_home") {
			writeContactInfo();
		} 
		else if (parm=="about_home") {
			writeAboutInfo();
		} 
	} else {
		writeWelcome();
	}

	writeNavigationMenu();
	writePageFooter();
	document.writeln("</table>");
	
	if (writeBodyTag) {
		document.writeln("</BODY>");
	}
}

function checkVersions() {
	var hasCorrectVersion = DetectFlashVer(requiredFlashVersion);
	if (!hasCorrectVersion) {
		openPage('versionerror.html');
	}
}

function writeGalleryLogo() {
	document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
	document.writeln("	codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'");
	document.writeln("	ID='header' WIDTH='550' HEIGHT='90' ALIGN=''>");
	document.writeln("	<PARAM NAME=movie VALUE='../../../gallery_header.swf'> ");
	document.writeln("	<PARAM NAME=quality VALUE=high> ");
	document.writeln("	<PARAM NAME=scale VALUE=exactfit> ");
	document.writeln("	<PARAM NAME=bgcolor VALUE=#000000> ");
	document.writeln("	<EMBED src='../../../gallery_header.swf' quality=high scale=exactfit bgcolor=#000000  ");
	document.writeln("		WIDTH='550' HEIGHT='90' swLiveConnect=true ID='header' ");
	document.writeln("		NAME='header' ALIGN='center'");
	document.writeln("		TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
	document.writeln("	</EMBED>");
	document.writeln("</OBJECT>");
}

function writeLogo(upwardTraversal, logoWidth, logoHeight) {
	document.writeln("<img src='" + upwardTraversal + "images/itsalive_main_logo.jpg' ");
	document.writeln("width='" + logoWidth + "' ");
	document.writeln("height='" + logoHeight + "'/>&nbsp;");
}

function writeMainMenu(upwardTraversal) {
	document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
	document.writeln("	codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'");
	document.writeln("	ID='itsalive_menu' WIDTH='80' HEIGHT='225' ALIGN=''>");
	document.writeln("	<PARAM NAME=movie VALUE='" + upwardTraversal + "menu.swf'> ");
	document.writeln("	<PARAM NAME=quality VALUE=high> ");
	document.writeln("	<PARAM NAME=scale VALUE=exactfit> ");
	document.writeln("	<PARAM NAME=bgcolor VALUE=#000000> ");
	document.writeln("	<EMBED src='" + upwardTraversal + "menu.swf' quality=high scale=exactfit bgcolor=#000000  ");
	document.writeln("		WIDTH='80' HEIGHT='225' swLiveConnect=true ID='itsalive_menu' ");
	document.writeln("		NAME='itsalive_menu' ALIGN='center'");
	document.writeln("		TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
	document.writeln("	</EMBED>");
	document.writeln("</OBJECT>");
}

function writeEye() {
	document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
	document.writeln("	codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'");
	document.writeln("	ID='itsalive_eye' WIDTH='600' HEIGHT='340' ALIGN=''>");
	document.writeln("	<PARAM NAME=movie VALUE='eye.swf'> ");
	document.writeln("	<PARAM NAME=quality VALUE=high> ");
	document.writeln("	<PARAM NAME=scale VALUE=exactfit> ");
	document.writeln("	<PARAM NAME=bgcolor VALUE=#000000> ");
	document.writeln("	<EMBED src='eye.swf' quality=high scale=exactfit bgcolor=#000000  ");
	document.writeln("		WIDTH='600' HEIGHT='340' swLiveConnect=true ID='itsalive_eye' ");
	document.writeln("		NAME='itsalive_eye' ALIGN='center'");
	document.writeln("		TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
	document.writeln("	</EMBED>");
	document.writeln("</OBJECT>");
}

function writeTicker() {
	var randomnumber = Math.floor(Math.random() * 5);
	var configFileName = 'config' + randomnumber + ".xml";

	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='550' height='35' id='ticker01_final' align='middle'>");
	document.writeln("	<param name='allowScriptAccess' value='sameDomain' />");
	document.writeln("	<param name='movie' value='ticker01_final.swf?xml=" + configFileName + "' />");
	document.writeln("	<param name='quality' value='high' />");
	document.writeln("	<param name='bgcolor' value='#000000' />");
	document.writeln("	<embed src='ticker01_final.swf?xml=" + configFileName + "' quality='high' bgcolor='#ffffff' width='550' height='35' name='ticker01_final' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.writeln("</object>");
}

function writeGalleryGeneric() {
	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'");
	document.writeln("	codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'");
	document.writeln("	width='100%' height='90%' align='middle'>");
	document.writeln("	<param name='movie' value='viewer.swf' />");
	document.writeln("	<param name='quality' value='high' />");
	document.writeln("	<param name='scale' value='noscale' />");
	document.writeln("	<param name='BGCOLOR' value='#000000' />");
	document.writeln("	<embed src='viewer.swf' width='100%' height='90%'");
	document.writeln("		align='middle' quality='high' scale='noscale' bgcolor='#000000'");
	document.writeln("		type='application/x-shockwave-flash'");
	document.writeln("		pluginspage='http://www.macromedia.com/go/getflashplayer'/>");
	document.writeln("</object>");
}

function writeGalleryNavigation() {
	document.writeln("<a href='http://www.gore-tek.net/home.html' onMouseOver='window.status=\"gore-tek.net home\"; return true;' onMouseOut='window.status=\"\"'><font class='white'><img src='../../../images/home.jpg' onMouseOver='window.status=\"gore-tek.net home\"; return true;' onMouseOut='window.status=\"\"' /></font></a>");
	document.writeln("&nbsp;");
	document.writeln("<a href='javascript:window.close();' onMouseOver='window.status=\"close window\"; return true;' onMouseOut='window.status=\"\"'><font class='white'><img src='../../../images/close.jpg' onMouseOver='window.status=\"close window\"; return true;' onMouseOut='window.status=\"\"' /></font></a>");
}

function writeUnderProject() {
	document.writeln("<table width=500 height=380>");
	document.writeln("	<tr>");
	document.writeln("		<td>");
	document.writeln("			<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"");
	document.writeln(" 				codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"");
	document.writeln(" 				WIDTH=\"100%\" HEIGHT=\"100%\" id=\"under\" ALIGN=\"\">");
	document.writeln(" 				<PARAM NAME=movie VALUE=\"under.swf\"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> ");
	document.writeln(" 				<PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=bgcolor VALUE=#000000> ");
	document.writeln(" 				<EMBED src=\"under.swf\" loop=false menu=false quality=high scale=exactfit bgcolor=#000000  ");
	document.writeln(" 					WIDTH=\"100%\" HEIGHT=\"100%\" NAME=\"under\" ALIGN=\"\"");
	document.writeln(" 					TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>");
	document.writeln("			</OBJECT>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
	document.writeln("</table>");
}

function writePageFooter() {
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 align='center'>");
	document.writeln("		<table>");
	document.writeln("			<tr>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("				<td align='center' nowrap>");
	document.writeln("					<font color='#666666' size='-1'>");
	document.writeln("					&copy;2005&nbsp;<font color='#7B161E'>itsalive net</font>work enterprises");
	document.writeln("					</font>");
	document.writeln("				</td>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("				<td align='center' nowrap>");
	document.writeln("					<font color='#666666' size='-1'>");
	document.writeln("						web site design by drake at <font color='#7B161E'>itsalive net</font>");
	document.writeln("					</font>");
	document.writeln("				</td>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	//writeCounterWithoutStats();
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("	<!-- column 6 -->");
	document.writeln("	<td width='5%'></td>");
	document.writeln("</tr>");
}

function writeCounterWithStats() {
	document.writeln("			<tr>");
	document.writeln("				<td align='center' nowrap>");
	document.writeln("					<div align='center'><a style='cursor: pointer;' href='http://bsd9.infinology.net/webshell4/acv.php?7064716775646E683D34' target='_blank'><img src='http://bsd9.infinology.net/webshell4/ac.php?q=7064716775646E683D34&ref=\" + top.document.referrer + \"' border=0></a></div>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
}

function writeCounterWithoutStats() {
	document.writeln("<div align='center'><img src='http://bsd9.infinology.net/webshell4/ac.php?q=7064716775646E683D34&ref=\" + top.document.referrer + \"' border=0></div>");
}

function writeNavigationMenu(mute) {
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 align='center'>");
	document.writeln("		</br>");
	document.writeln("		<table border=0>");
	document.writeln("			<tr>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	writeNavMenuEntry('white', 'home.html' + mute, '_self', 'window.status=\"home\"; return true;', 'home');
	writeNavMenuEntry('white', 'imagery.html' + mute, '_self', 'window.status=\"imagery\"; return true;', 'imagery');
	writeNavMenuEntry('white', 'writing.html' + mute, '_self', 'window.status=\"writing\"; return true;', 'writing');
	writeNavMenuEntry('white', 'audio.html' + mute, '_self', 'window.status=\"audio\"; return true;', 'audio');
	writeNavMenuEntry('white', 'video.html' + mute, '_self', 'window.status=\"video\"; return true;', 'video');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/index.php', '_blank', 'window.status=\"forums\"; return true;', 'forums');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/chat/flashchat.php', '_blank', 'window.status=\"chat\"; return true;', 'chat');
	writeNavMenuEntry('white', 'links.html' + mute, '_self', 'window.status=\"links\"; return true;', 'links');
	writeNavMenuEntry('white', 'contact.html' + mute, '_self', 'window.status=\"contact\"; return true;', 'contact');
	writeNavMenuEntry('white', 'sitemap.html' + mute, '_self', 'window.status=\"sitemap\"; return true;', 'sitemap');
	writeNavMenuEntry('white', 'about.html' + mute, '_self', 'window.status=\"about\"; return true;', 'about');
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("	<!-- column 6 -->");
	document.writeln("	<td width='5%'></td>");
	document.writeln("</tr>");
}

function writeGalleryNavigationMenu(mute) {
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 height='5'>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 align='center'>");
	document.writeln("		</br>");
	document.writeln("		<table border=0 width='60%'>");
	document.writeln("			<tr>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	writeNavMenuEntry('white', '../../../home.html' + mute, '_self', 'window.status=\"home\"; return true;', 'home');
	writeNavMenuEntry('white', '../../../imagery.html' + mute, '_self', 'window.status=\"imagery\"; return true;', 'imagery');
	writeNavMenuEntry('white', '../../../writing.html' + mute, '_self', 'window.status=\"writing\"; return true;', 'writing');
	writeNavMenuEntry('white', '../../../audio.html' + mute, '_self', 'window.status=\"audio\"; return true;', 'audio');
	writeNavMenuEntry('white', '../../../video.html' + mute, '_self', 'window.status=\"video\"; return true;', 'video');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/index.php', '_blank', 'window.status=\"forums\"; return true;', 'forums');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/chat/flashchat.php', '_blank', 'window.status=\"chat\"; return true;', 'chat');
	writeNavMenuEntry('white', '../../../links.html' + mute, '_self', 'window.status=\"links\"; return true;', 'links');
	writeNavMenuEntry('white', '../../../contact.html' + mute, '_self', 'window.status=\"contact\"; return true;', 'contact');
	writeNavMenuEntry('white', '../../../sitemap.html' + mute, '_self', 'window.status=\"sitemap\"; return true;', 'sitemap');
	writeNavMenuEntry('white', '../../../about.html' + mute, '_self', 'window.status=\"about\"; return true;', 'about');
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("	<!-- column 6 -->");
	document.writeln("	<td width='5%'></td>");
	document.writeln("</tr>");
}

function writeBlogNavigationMenu(mute) {
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 height='5'>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	
	document.writeln("<tr>");
	document.writeln("	<td colspan=5 align='center'>");
	document.writeln("		</br>");
	document.writeln("		<table border=0 width='60%'>");
	document.writeln("			<tr>");
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	writeNavMenuEntry('white', '../home.html' + mute, '_self', 'window.status=\"home\"; return true;', 'home');
	writeNavMenuEntry('white', '../imagery.html' + mute, '_self', 'window.status=\"imagery\"; return true;', 'imagery');
	writeNavMenuEntry('white', '../writing.html' + mute, '_self', 'window.status=\"writing\"; return true;', 'writing');
	writeNavMenuEntry('white', '../audio.html' + mute, '_self', 'window.status=\"audio\"; return true;', 'audio');
	writeNavMenuEntry('white', '../video.html' + mute, '_self', 'window.status=\"video\"; return true;', 'video');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/index.php', '_blank', 'window.status=\"forums\"; return true;', 'forums');
	writeNavMenuEntry('white', 'http://gore-tek.net/phpbb/chat/flashchat.php', '_blank', 'window.status=\"chat\"; return true;', 'chat');
	writeNavMenuEntry('white', '../links.html' + mute, '_self', 'window.status=\"links\"; return true;', 'links');
	writeNavMenuEntry('white', '../contact.html' + mute, '_self', 'window.status=\"contact\"; return true;', 'contact');
	writeNavMenuEntry('white', '../sitemap.html' + mute, '_self', 'window.status=\"sitemap\"; return true;', 'sitemap');
	writeNavMenuEntry('white', '../about.html' + mute, '_self', 'window.status=\"about\"; return true;', 'about');
	document.writeln("				<td width='50%'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("	<!-- column 6 -->");
	document.writeln("	<td width='5%'></td>");
	document.writeln("</tr>");
}

function writeNavMenuEntry(fontClass, entryUrl, entryTarget, onMouseOverAction, entryText) {
	document.writeln("<td>");
	document.writeln("	<font class='" + fontClass + "'>");
	document.writeln("		<a href='" + entryUrl + "' target='" + entryTarget + "' onMouseOut='window.status=\"\"; return true;' onMouseOver='" + onMouseOverAction + "'>" + entryText + "</a>");
	document.writeln("		&nbsp;");
	document.writeln("	</font>");
	document.writeln("</td>");
}