///////////////////
// SOL of Auburn //
///////////////////

// define global variables

function StartUp()
  {
	//Prevention from getting 'framed'
	FreeFrames()
	
	if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == "4")
		 { alert("The Auburn Solar Car web site will not display properly with Netscape 4.\n\nPlease use Internet Explorer or Netscape 6.  We apologize for any inconvenience."); }

	HeaderSet = '<div id="smoothmenu" class="ddsmoothmenu"><ul><li><a href="#">Home</a><li><a href="#">General Info</a><ul><li><a href="#">History</a><li><a href="#">Facts and Figures</a><li><a href="#">How the Car Works</a><li><a href="#">At Walt Disney World</a></ul></li><li><a href="#">Team Info</a><ul><li><a href="#">General Info</a><li><a href="#">Ask a Question</a><li><a href="#">Find the Team</a><li><a href="#">Team Lists</a><li><a href="#">Past Team Captains</a></ul></li><li><a href="#">Pictures</a><ul><li><a href="#">2005 American Solar Challenge</a><li><a href="#">2005 May Qualifier</a><li><a href="#">2005 Road Testing</a><li><a href="#">2005 First Long Test</a></ul><li><a href="#">Contact Us</a><ul><li><a href="#">Ask a Question</a><li><a href="#">Donate!</a></ul><li><a href="#">Sponsors</a><ul><li><a href="#">A</a><li><a href="#">B</a><li><a href="#">C</a><li><a href="#">D</a></ul><li><a href="#">Related Links</a></ul></div>';
	document.write(HeaderSet);

		}
function FreeFrames()
	{
	// Prevention from getting 'framed'
	if (top != self)
		{ top.location = location }
	}

function Counter()
{
	count = '<script>showme=\'n\'; st=\'js\'</script>'
	count = count + '<script language="JavaScript" src="http://www.Free-Stats.com/pphlogger.js.php?id=ausolar"></SCRIPT>'
	document.write(count)
}

function WhenModified()
	{
  // display the date in which the current page was last updated - this is fancy! - No MANUAL date changes!
	// Netscape is stupid in getting the year - for '2000' it returns '100'.
	update = new Date(document.lastModified)
	theMonth = update.getMonth() + 1
	theDate = update.getDate()
	theYear = update.getYear()
	Modified = 'Last updated: ' + theMonth + '-' + theDate + '-' + theYear + '.<BR><BR></FONT></CENTER>'
	document.write(Modified)
	}

function Go(name)
        {
	//var w = screen.width - 64
	//var h = screen.height - 200
	//window.open("http://eng.auburn.edu/organizations/SOA/"+name,"","status,resizable,scrollbars,width="+w+",height="+h+",left=16,top=16")
	document.location.href = name
        }
				
				
// ******************************
// ******************************


function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
