function showPractice()
{
      pHTML = "";

      pHTML += "<center><a href=\"javascript:hidePractice()\" style=\"font-size: 1.2em; color: white; font-weight: bold; background-color: black; padding: 5px 10px; border: 1px solid white;\">CLOSE THIS WINDOW</a></center><br />";
	
      pHTML += "<div id=\"ExtInfo\">";
      pHTML += "<h2>Mesquite High School</h2><br />McQueen Road, between Elliot & Warner<br />&nbsp;";
      pHTML += "<br />Address:<br /><strong>500 South McQueen Road<br />Gilbert, AZ 85233</strong><br />&nbsp;";
      pHTML += "<br />Phone:<br /><strong>(480) 632-4750</strong><br />&nbsp;";
      pHTML += "<br />Website:<br /><a href=\"http://mhs.gilbertschools.net/\" target=\"_blank\" style=\"color: #66FF33;\">http://mhs.gilbertschools.net/</a>";
      pHTML += "<br />&nbsp;</div>";

      pHTML += "   <div style=\"float: right;\"><iframe id=\"Ext\" name=\"Ext\" width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"";
      pHTML += "http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=500+South+McQueen+Road,+Gilbert,+AZ+85233&amp;sll=37.0625,-95.677068&amp;sspn=36.452734,77.431641&amp;ie=UTF8&amp;hq=&amp;hnear=500+S+McQueen+Rd,+Gilbert,+Maricopa,+Arizona+85233&amp;ll=33.34659,-111.833267&amp;spn=0.100379,0.145912&amp;z=12&amp;iwloc=near&amp;output=embed";
      pHTML += "&amp;output=embed\">";
      
	   pHTML += "	 <br />&nbsp;";
	   pHTML += "	 <h2>We're sorry, your browser does not support this feature.";
	   pHTML += "	 <br />In order to improve this website,";
	   pHTML += "	 <br />please <a href=\"../contact/?name=webmaster\">let the Webmaster know</a> about this message.";
	   pHTML += "	 <br />&nbsp;";
	   pHTML += "	 <br /><i>Thank you!</i></h2>";
	   pHTML += "   <br />&nbsp;";
	   pHTML += "   </iframe>";
      
      pHTML += "<br /><a href=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=500+South+McQueen+Road,+Gilbert,+AZ+85233&amp;sll=37.0625,-95.677068&amp;sspn=36.452734,77.431641&amp;ie=UTF8&amp;hq=&amp;hnear=500+S+McQueen+Rd,+Gilbert,+Maricopa,+Arizona+85233&amp;ll=33.34659,-111.833267&amp;spn=0.100379,0.145912&amp;z=12&amp;iwloc=near\" style=\"color:#0000FF;text-align:right\" target=\"_blank\">View Larger Map</a>";
      pHTML += "</div>";
      
      objPopUp = document.getElementById('pContainer');
      objPopUp.innerHTML = pHTML;
      objPopUp.style.display = 'inline';

      return;
}

function hidePractice()
{
      objPopUp = document.getElementById('pContainer');
      objPopUp.style.display = 'none';

      return;
}

function showMap(tournTeam, tournDate, tournTime, tournLoc, tournNotes, tournAddr, tournMap, locNotes, gameNum, phoneNum)
{
      pHTML = "";

      pHTML += "<center><a href=\"javascript:hideMap()\" style=\"font-size: 1.2em; color: white; font-weight: bold; background-color: black; padding: 5px 10px; border: 1px solid white;\">CLOSE THIS WINDOW</a></center><br />";
	
      pHTML += "   <div style=\"float: right\"><iframe id=\"Ext\" name=\"Ext\" width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"";
      pHTML += tournMap;
      pHTML += "&amp;output=embed\">";
      
	   pHTML += "	 <br />&nbsp;";
	   pHTML += "	 <h2>We're sorry, your browser does not support this feature.";
	   pHTML += "	 <br />In order to improve this website,";
	   pHTML += "	 <br />please <a href=\"../contact/?name=webmaster\">let the Webmaster know</a> about this message.";
	   pHTML += "	 <br />&nbsp;";
	   pHTML += "	 <br /><i>Thank you!</i></h2>";
	   pHTML += "   <br />&nbsp;";
	   pHTML += "   </iframe>";
      
      pHTML += "<br /><small><a href=\""+tournMap+"\" style=\"color:#0000FF;text-align:right\" target=\"_blank\">View Larger Map</a></small></div>";
      
      pHTML += "<div id=\"ExtInfo\">";
      if (tournTeam)
         pHTML += tournTeam;
      if (gameNum)
         pHTML += ", &nbsp; Game #" + gameNum;
      if (tournDate)
         pHTML += " - " + tournDate;
      if (tournTime)
         pHTML += " @ " + tournTime + "<br />&nbsp;<br />";
      if (tournLoc)
         pHTML += "<h2>" + tournLoc + "</h2>";
      if (tournAddr)
         pHTML += "<address>" + tournAddr + "</address>&nbsp;";
      if (phoneNum)
         pHTML += "<br />Phone Number:<br /><strong>" + phoneNum + "</strong><br />&nbsp;";
      if (locNotes)
         pHTML += "<br />Location Notes:<br />" + locNotes + "<br />&nbsp;";
      if (tournNotes)
         pHTML += "<br />Notes:<br />" + tournNotes + "<br />&nbsp;<br />";
      pHTML += "</div><br />";
      
      objPopUp = document.getElementById('pContainer');
      objPopUp.innerHTML = pHTML;
      objPopUp.style.display = 'inline';

      return;
}

function hideMap()
{
      objPopUp = document.getElementById('pContainer');
      objPopUp.style.display = 'none';

      return;
}

function showRules()
{
      pHTML = "";

      pHTML += "<center><a href=\"javascript:hideRules()\" style=\"font-size: 1.2em; color: white; font-weight: bold; background-color: black; padding: 5px 10px; border: 1px solid white;\">CLOSE THIS WINDOW</a></center><br />";
	
      pHTML += "<div style=\"background-color: white; color: black; margin: 12px 100px; padding: 8px; border: 1px solid black;\"><h2>Pre-Registration Contest<br />Rules & Regulations</h2>";
      pHTML += "<p class=\"Rules\">1. No purchase necessary</p>";
      pHTML += "<p class=\"Rules\">2. Must be 18 years or older to enter to be eligible to win the prize</p>";
      pHTML += "<p class=\"Rules\">3. Void where prohibited by law</p>";
      pHTML += "<p class=\"Rules\">4. Must be present to win</p>";
      pHTML += "<p class=\"Rules\">5. Submit all required fields on the Pre-Registration Form to be automatically entered into a drawing for a free Volleyball</p>";
      pHTML += "<p class=\"Rules\">6. Only one entry per athlete/per family</p";
      pHTML += "<p class=\"Rules\">7. Each submission will count as one entry</p>";
      pHTML += "<p class=\"Rules\">8. Players Volleyball Club reserves the right to refuse any submission for any reason</p>";
      pHTML += "<p class=\"Rules\">9. Odds of winning depend upon the number of eligible entries received</p>";
      pHTML += "<p class=\"Rules\">10. Winner will be drawn randomly at tryouts on November 5, 2009 and November 23, 2009.</p>";
      pHTML += "<p class=\"Rules\">11. Prizes are non-transferable and not redeemable for cash</p>";
      pHTML += "<p class=\"Rules\">12. Entries will be accepted through November 4, 2009 for 14 and under and November 22, 2009 for 15 and older, based upon current USAV age descriptions</p>";
      pHTML += "<p class=\"Rules\">13. All federal, state and local laws and regulations apply</p>";
      pHTML += "<p class=\"Rules\">14. Winner must meet eligibility requirements as required by Players Volleyball Club</p>";
      pHTML += "<p class=\"Rules\">15. Participating entrants agree that Players Volleyball Club its subsidiaries, participating sponsors, their affiliates, officers, directors, agents and their employees shall not be responsible for lost, misdirected, illegible or late entries</p";
      pHTML += "<p class=\"Rules\">16. By enrolling, contestants accept these rules and agree to be bound by the results of the prize drawings. All decisions made by Players Volleyball Club are subject to change and all decisions are final</p>";
      pHTML += "<p class=\"Rules\">17. The give-a-way volleyball is subject to availability and may differ in color and or model from photos shown in advertising materials</p></div>";
      
      objPopUp = document.getElementById('pContainer');
      objPopUp.innerHTML = pHTML;
      objPopUp.style.display = 'inline';

      return;
}

function hideRules()
{
      objPopUp = document.getElementById('pContainer');
      objPopUp.style.display = 'none';

      return;
}

