/*
 * POPUP JAVASCRIPT CODE
 * popup.js
 * 
 * All popups for the Pick 4 subsite use a standard size, so the code has simply
 * been consolidated into one file.
 *
 * To make a link a 400x600 popup, insert this code into your HTML document head:
 * <script src="popup.js" type="text/javascript"></script>
 *
 * ... and this where you want the popup link to be.  Remember to replace
 * the links to "pastresults.html" to whatever you want them to be, and the "two"
 * to the name you want to give the window (in case you need to refer to it later
 * or something).
 *
<script type="text/JavaScript">
document.write("<a href=\"javascript:s_Popup('..\/pastresults.html','two')\"\>Past Results<\/a>");
</script>
<noscript>
<a href="../pastresults.html">Past Results</a>
</noscript>
*
*/

function s_Popup(page,win) {
window.open(page, win, "menubar=yes,scrollbars=yes,resizable=yes,width=400,height=600,top=1,left=1");
}