<!-- Begin

// NOTE: If you use a ' add a slash before it like this \'

document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align="center">');

// FLASH CHANGER OPTIONS

var notes1		= "yes"		// SHOW 1ST NOTES
var notes2		= "yes"		// SHOW 2ND NOTES
var notes3		= "yes"		// SHOW 3RD NOTES
var sidewidth		= "175"		// SIDEBAR WIDTH - ALSO EDIT THE CSS SIDEBAR WIDTH
var pageheight		= "150"		// ADD HEIGHT TO ALL PAGES

var imagewidth		= "115"		// WIDTH OF THE SIDEBAR IMAGES
var imageheight		= "50"		// HEIGHT OF THE SIDEBAR IMAGES
var spacerheight	= "20"		// SPACING BETWEEN IMAGES

//var username = "<?php echo $HTTP_SESSION_VARS['username']?>";

var username = loggedinuser;	//var from head.inc.php
var showlogin = login;			//var from head.inc.php
var privilegeis = privilege;	//var from head.inc.php

//var sitelinks = site_links;		//var from pagetop.inc.php

document.write('<br>');


// 1ST NOTES AREA

   if (notes1 == "yes") {
document.write('<fieldset><legend>');
document.write('MVW - Area<br></legend>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/Schedule.php">Schedules</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/Scores.php">Scores</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/Standings.php">Standings</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/Forms.php">Forms</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/HistoryScores.php">History Scores</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/HistoryStandings.php">History Standings</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com">Home</a><br>');

if(privilegeis > 1)
	document.write('<a href="http://www.miamivalleywestsaysoccer.com/scoreenter.php">Enter Scores</a><br>');

document.write('</fieldset>');
document.write('<br><br>');
}

// 2ND NOTES AREA 

   if (notes2 == "yes") {
document.write('<fieldset><legend>');
document.write('Districts<br></legend>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Brookville">Brookville</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Camden-Arrows">Camden-Arrows</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Eaton">Eaton</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Greenville">Greenville</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Lewisburg">Lewisburg</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=National Trail">National Trail</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=New Lebanon">New Lebanon</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Northmont">Northmont</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=Trotwood">Trotwood</a><br>');

document.write('<a href="http://www.miamivalleywestsaysoccer.com/district.php?d=West Alexandria">West Alexandria</a><br>');

document.write('</fieldset>');
document.write('<br><br>');
}


// 3RD NOTES AREA 

   if (notes3 == "yes") {
document.write('<fieldset><legend>');
document.write('Links<br></legend>');

for (var i = 0; i < site_links.length; i = i+2){
	document.write('<a href="'+site_links[i]+'">'+site_links[i+1]+'</a><br>');
}//for each array element

//original links
//document.write('<a href="http://www.saysoccer.org/">SAY Soccer</a><br>');

document.write('</fieldset>');
document.write('<br><br>');
}


//ORIGINAL LOGIN FORM...

//   if (notes2 == "yes") {
//document.write('<fieldset><legend>');

//	if (showlogin == "true"){
//document.write('Log In<br></legend>');
//document.write('<form action="Login.php" method="post" id="LogMeIn" name="LogMeIn">');
//document.write('Email: <input type="text" id="unameText" name="unameText" size="10"><br>');
//document.write('Password: <input type="password" name="passText" size="10"><br>');
//document.write('<input type="submit" name="Submit" value="Submit"></form>');
//document.write('<a href="signup.html">Get Signed Up</a><br>');
//document.LogMeIn.unameText.focus();
//	}
//	else
//	{
//document.write('Logged In<br></legend>');
//document.write('Welcome <?php echo $usernameis ?><b>'+username+'</b><br>');
//		if(privilegeis >0){
//		document.write('<i>Admin Links</i><br>')
//		document.write('<a href="messagenew.php">Add Message</a><br>');
//		document.write('<a href="calendarnew.htm">Add Calendar Event</a><br>');
//		document.write('<a href="mydataedit.php">My Data</a><br>');
//			if(privilegeis >= 3){
//			document.write('<a href="admin.php">Admin Page</a><br>');
//			}
//		document.write('<a href="logout.php">Log Out</a>');
//		}
//	}

//document.write('</fieldset>');
//document.write('<br><br>');
//}



// PAGEHEIGHT AND WIDTH SPACER (EDIT VARIABLES AT THE TOP)

//document.write('<IMG SRC="picts/spacer.gif" HEIGHT="'+pageheight+'" WIDTH="'+sidewidth+'" border="0">');

document.write('</td></tr></table>');


//  End -->
