function BuildFooter(){
				 document.write ('</td>');
				 document.write ('</tr>');
				 document.write ('<tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr>');
				 document.write ('<tr><td align="center" valign="bottom" rowspan="2" colspan=3>');
				 document.write ('<center><font face="verdana" size="-2"><hr>');
				 document.write ('<a class="board" href="http://www.herdwaves.com/default.asp" title="Your source for HerdWare!" >HerdWaves.Com</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/download.asp" title="Download HERDWare">Downloads</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/listen.html" title"Streaming audio of all games">Listen On-Line</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/remoteherdfan.asp" title="Cant be in Huntington - Look here!">Remote Herd Fans</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/humor.asp" title="A fun poke at Sonny Randall">Humor</a><br />');
				 document.write ('<a class="board" href="http://dallasnews.prepstar.com/favcol.phtml?school=MARSHALL&option=favcollege&maxsize=51&minsize=0&ap_sport=&ap_datanet=&ap_option=" rel="external" title="Who is coming to Huntington?">Recruiting</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/news.asp" title="Latest Herd News">NEWS</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/directions.asp" title="Directions to games, information on other teams" >Seating and Driving Directions</a>  | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/nov14.asp" title="The day we will never forget.">Nov 14 1970</a> | ');
				 document.write ('<a class="board" href="http://www.herdwaves.com/about.asp" title="About us.">Webmaster</a><br /><hr>');
				 document.write ('Copyright 2001, 2002, 2003, 2004 HerdWaves.Com<br />');
				 document.write ('<a class="board" href="mailto:goherd&#64;herdwaves.com" class="linksmall">email us</a><br />');
				 document.write ('HerdWaves.Com is an affiliate of HerdThis.Com and Fixsonic.Com');
				 document.write ('</center>');
				 document.write ('<font size="-2">')
				 document.write ('<center>Buffalo logo TM Marshall University</center></font><P>') 
				 document.write ('</td></tr>');
				 document.write ('</table>');
				 document.write ('</td>');
				 document.write ('</tr>');
                 document.write ('</table>');
				 document.write ('</font>');
				 document.write ('</body>');
				 document.write ('</html>');
				 }

function TableHeader (strTitle) {
				document.write ('<table width="800px" align="center">');
				document.write ('<tr><th colspan="4" bgcolor="#FFFFFF"><font color="#000000"><b><big>' + strTitle);
				document.write ('</big></b></font>');
				document.write ('</th></tr></table>');
}
	
function right(mousebutton)
{
	var msg1 = "Copyright 2002 HerdWaves.Com ";
	var msg2 = "Copyright 2002 HerdWaves.Com ";
	
	if (navigator.appName == 'Netscape' && mousebutton.which==3)
	{
		alert(msg1);
		return false;
	}
	else
	
	//if (navigator.appName == 'Netscape' && mousebutton.which==1)
	//{
	//	alert(msg2);
	//	return false;
	//}
	//else
	
	if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2)
	{
		alert(msg2);
		return false;
	}
	return true;
}

function MDM_openWindow(theURL,winName,features) 
{ 
  var _W=window.open(theURL,winName,features);
	  _W.focus();
      _W.moveTo(50,50); 
//<A href="javascript:MDM_openWindow('popup_sized_parm_n_moves.html','Interface1','width=270,height=330')">click here</A> 
} 

function BuildReleaseHeader(){
     			 document.write ('<BODY BGCOLOR="#195221" TEXT="#FFFFFF" link="#195221" vlink="#195221">');
				 document.write('<HEAD></head>');
				 document.write ('<Img Src="../../images/logo_herdwaves.jpg" align="left "><br />');
}

function PopWindow(pURL,width,height){
	window.open(pURL, "myWindow", "location=0,toolbar=0,menubar=0,status=0,width=" + width + ",height=" + height);
    return false;
}

function getObjectRefByID(objectId) {
    // cross-browser function to get an object given its id
    if(this.document.getElementById && this.document.getElementById(objectId)) {
		// W3C DOM
		return this.document.getElementById(objectId);
    } 
	else if (this.document.all && this.document.all(objectId)) {
		// MSIE 4 DOM
		return this.document.all(objectId);
    } 
	else if (this.document.layers && this.document.layers[objectId]) {
		// NN 4 DOM.. note: this won't find nested layers
		return this.document.layers[objectId];
    } 
	else {
		return false;
    }
} 

function toggleObjVisibility(id){
	var obj = getObjectRefByID(id);

	if (obj.className == 'hidden'){
		obj.className = 'visible';
	}else{
		obj.className = 'hidden';
	}
	
	return false;

}


var openImg = new Image();
openImg.src = "images/expanded_button.gif";
var closedImg = new Image();
closedImg.src = "images/collapsed_button.gif";

function showBranch(branch){
	var objBranch = document.getElementById(branch).style;
	if(objBranch.display=="block")
		objBranch.display="none";
	else
		objBranch.display="block";
}

function swapFolder(img){
	objImg = document.getElementById(img);
	if(objImg.src.indexOf('images/collapsed_button.gif')>-1)
		objImg.src = openImg.src;
	else
		objImg.src = closedImg.src;
}

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;