var
	sCompanyName = "Johnny Mac's Sporting Goods",
	sCompanyWebName = "JOHNNYMACSSPORTINGGOODS",
	sCompanyAddress = "10100 Watson Rd.",
	sCompanyAddress2 = "",
	sCompanyCity = "St. Louis",
	sCompanyState = "MO",
	sCompanyZip = "63127",
	sCompanyOrderPhone = "",
	sCompanyInfoPhone = "1-800-962-8347",
	sCompanyWebsite = "www.johnnymacs.com",
	sCompanyID = "_R_8D";
var
	asRepList = new Array(
                          );
function writeAdminEmailLink(doc,sLinkText)
{
    doc.writeln( '<A HREF="mailto:JOHNNYMACS@repdirect.net">'  + sLinkText + '</A>' );
}
var
	asTeamList = new Array(
					new Array( "Clio High School Baseball of Clio, MI", "_R_EQ" , "1267472270", "MI        " ),
					new Array( "Dewitt High School Baseball of Dewitt, MI", "_R_EQ" , "1267454256", "MI        " ),
					new Array( "Grand Ledge High School Baseball of Grand Ledge, MI", "_R_EQ" , "1265993445", "MI        " ),
					new Array( "Hamilton Southeastern HS Softball of Fishers, IN", "_R_EQ" , "1268238852", "IN        " ),
					new Array( "Hartland High School Baseball of Hartland, MI", "_R_EQ" , "1266942288", "MI        " ),
					new Array( "Hopkins High School Baseball of Hopkins, MI", "_R_EQ" , "1263927041", "MI        " ),
					new Array( "Intensity Elite Volleyball of Flushing, MI", "_R_EQ" , "1265744622", "MI        " ),
					new Array( "Mid Michigan Fire Stix Softball of Clio, MI", "_R_EQ" , "1264017280", "MI        " ),
					new Array( "Mizuno Midwest Baseball of St. Charles, MO", "_R_EL" , "1265919820", "MO        " ),
					new Array( "MRSOA Company/Corp. of Jefferson City, MO", "_R_EK" , "1268169226", "MO        " ),
					new Array( "ST LOUIS CHAOS Softball of ST LOUIS, MO", "_R_EJ" , "1265914403", "MO        " ),
					new Array( "Watervliet High School Booster Club of Watervliet, MI", "_R_EQ" , "1258741742", "MI        " ),
					new Array( "West Michigan Broncos Baseball of Portage, MI", "_R_EQ" , "1265662848", "MI        " ),
					new Array( "West Portage Little League Baseball of Portage, MI", "_R_EQ" , "1264088008", "MI        " )
                        );
function writePromoLink(doc,sIntroText,sLinkText,sTrailText)
{
  doc.writeln( "" );
}
function writeCompanyName(doc)
{
	doc.writeln( sCompanyName );
}
	function writeRepListDropDown(doc)
	{
		doc.writeln( "<select name=\"selectRep\" size=\"1\">" );
		for( var iRep = 0; iRep < asRepList.length; iRep++ )
			doc.writeln( "<option value=\"" + asRepList[ iRep ][ 1 ] + "\">" + asRepList[ iRep ][ 0 ] );
		doc.writeln( "</select>" );
	}
	function writeTeamListDropDown(doc)
	{
		doc.writeln( "<select name=\"selectRep\" size=\"1\">" );
		for( var iTeam = 0; iTeam < asTeamList.length; iTeam++ )
			doc.writeln( "<option value=\"" + asTeamList[ iTeam ][ 1 ] + "|" + asTeamList[ iTeam ][ 2 ] + "\">" + asTeamList[ iTeam ][ 0 ] );
		doc.writeln( "</select>" );
	}
	function writeTeamListDropDownByState(doc,state)
	{
		doc.writeln( "<select name=\"selectRep\" size=\"1\">" );
		for( var iTeam = 0; iTeam < asTeamList.length; iTeam++ )
			if( state == asTeamList[ iTeam ][ 3 ] )
				doc.writeln( "<option value=\"" + asTeamList[ iTeam ][ 1 ] + "|" + asTeamList[ iTeam ][ 2 ] + "\">" + asTeamList[ iTeam ][ 0 ] );
		doc.writeln( "</select>" );
	}
