var showbbfacts=true;
var showscoreboard=true;
var showstandings=true;
var showtributes = true;
var thisyr = 2010;
var nextyr = 2009;

if (showbbfacts) 
{
  var pausecontent=new Array();
}

window.onresize = resizeDiv;

function resizeDiv() {
       
  var percent=19;   // the original width % setting.
  var min = 185;    // this hardcoded value could be replaced with the 
                    // read-out of another elements width, but which one?
  
  var pxPercent;   
  var scrW;   
  var elem = document.getElementById('cool-links');  
  
  if (window.innerWidth) {
    scrW = parseInt(window.innerWidth);       
  }
  else  {
    scrW = parseInt(document.documentElement.clientWidth);   //or document.body.clientWidth 
                                                             //in IE quirks mode
  }
  pxPercent = Math.round((scrW/100)*percent);
  
  if (pxPercent>min)
    elem.style.width = pxPercent+'px';
  else
    elem.style.width = min+'px'; 
 }

// For the cross-browser Marquee:

//Specify the marquee's width (in pixels)
var marqueewidth="400px"
//Specify the marquee's height
var marqueeheight="40px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=2
//configure background color:
var marqueebgcolor="#ffffff"
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var marqueecontent='<nobr><img src="images/baseball.png" width="18" height="18" alt="">     2010 Season    <img src="images/baseball.png" width="18" height="18" alt=""></nobr>';
