document.write("  <div align=left>     <HR> <H3>Game References as Parameter Prefixes</H3> The Sports Data Query Language (SDQL &copy;) provides reference to past and future games through parameter prefixes.   Prefixes common to all sports are:<p>   <b>t</b> for the team's current game  (N.B.: no prefix implies the current game: <em>points</em> is the same as <em>t:points</em>) <BR>   <b>p</b> for the team's previous game<BR>   <b>P</b> for the previous match up with the current opponent<BR>   <b>o</b> for the team's opponent<BR>   <b>n</b> for the team's next game<BR>   <b>N</b> for the next match up<BR> <p> Because of the critical importance of pitching, the SDQL for baseball provides the additional prefixes:<p>   <b>s</b> for the starter's last start<BR>   <b>S</b> for the starter's last start against the current opponent<BR> <p> These prefixes are read from left to right and can be combined without restriction. For example: <em>tpp:site</em> is the team's site two games back; <em>tpppo:points</em> gives the points  allowed by the team three games back; <em>tPpo:points</em> gives the points allowed the game before the previous match up.  <p> Here are a few more sample queries involving compound prefixes:  <p> To get the season, week, team, and number of touchdowns after a team scored six or more touchdown in each of their last two games use the SDQL:<BR> <em> <a href=http://SportsDataBase.com/nfl.py/query?text=season%2C%20week%2C%20team%2C%20touchdowns%20%40%20p%3Atouchdowns%20%3E%3D%206%20and%20pp%3Atouchdowns%20%3E%3D%206>season, week, team, touchdowns @ p:touchdowns &gt;= 6 and pp:touchdowns &gt;= 6</a> </em>  <p> to get the date, team, points, opponent, opponent's points, and margin for games after an NFL team wins by 40 or more points use the SDQL:<BR> <em> <a href=http://SportsDataBase.com/nfl.py/query?text=date%2C%20team%2C%20points%2C%20o%3Ateam%2C%20o%3Apoints%2C%20points-o%3Apoints%20%40%2040%20%3C%3D%20p%3Apoints%20-%20po%3Apoints>date, team, points, o:team, o:points, points-o:points @ 40 &lt;= p:points - po:points</a> </em> <p>  <HR>      </div>");
