function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


function mmLoadMenus() {
  if (window.mm_menu_0604011332_0) return;
                            window.mm_menu_0604011332_0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#18255C","#425DCF","left","middle",4,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0604011332_0.addMenuItem("Stadium&nbsp;Info","window.open('http://www.buffalobills.com/facility/', 'window');");
  mm_menu_0604011332_0.addMenuItem("Tailgate&nbsp;Map","window.open('/coppermine/albums/userpics/10001/normal_billszone-tailgate-map.jpg', 'window');");
  mm_menu_0604011332_0.addMenuItem("Bills&nbsp;Songs","window.open('/mtlog/archives/2004/01/01/bills_songs.php', 'window');");
  mm_menu_0604011332_0.addMenuItem("Bills&nbsp;Backers","window.open('http://www.buffalobills.com/fans/bills_backers_sw.htm', 'window');");
   mm_menu_0604011332_0.fontWeight="bold";
   mm_menu_0604011332_0.hideOnMouseOut=true;
   mm_menu_0604011332_0.bgColor='#555555';
   mm_menu_0604011332_0.menuBorder=0;
   mm_menu_0604011332_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604011332_0.menuBorderBgColor='#777777';
window.mm_menu_0604012659_0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#18255C","#425DCF","left","middle",4,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0604012659_0.addMenuItem("Roster","window.open('http://www.ourlads.com/secure/roster.cfm?team=BUF', 'window');");
  mm_menu_0604012659_0.addMenuItem("Depth&nbsp;Chart","window.open('http://www.ourlads.com/secure/depthchart.cfm?index1=buf', 'window');");
  mm_menu_0604012659_0.addMenuItem("Coaches","window.open('http://www.buffalobills.com/team/coaches.jsp', 'window');");
  mm_menu_0604012659_0.addMenuItem("Front&nbsp;Office","window.open('http://www.buffalobills.com/team/office.jsp', 'window');");
	mm_menu_0604012659_0.fontWeight="bold";
   mm_menu_0604012659_0.hideOnMouseOut=true;
   mm_menu_0604012659_0.bgColor='#555555';
   mm_menu_0604012659_0.menuBorder=0;
   mm_menu_0604012659_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604012659_0.menuBorderBgColor='#777777';
  window.mm_menu_0604013055_0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#18255C","#425DCF","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0604013055_0.addMenuItem("Injury&nbsp;Report","window.open('http://www.sportsline.com/nfl/injuries', 'window');");
  mm_menu_0604013055_0.addMenuItem("Transactions","window.open('http://sports.espn.go.com/nfl/teamtransactions?team=buf', 'window');");
  mm_menu_0604013055_0.addMenuItem("Team&nbsp;Stats","window.open('http://www.nfl.com/teams/stats/BUF', 'window');");
  mm_menu_0604013055_0.addMenuItem("Salary Cap Chart","window.open('/mtlog/archives/2007/01/29/billszones_2007_buffalo_bills_salary_cap_page.php', 'window');");
   mm_menu_0604013055_0.fontWeight="bold";
   mm_menu_0604013055_0.hideOnMouseOut=true;
   mm_menu_0604013055_0.bgColor='#555555';
   mm_menu_0604013055_0.menuBorder=0;
   mm_menu_0604013055_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604013055_0.menuBorderBgColor='#777777';
  window.mm_menu_0604013355_0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#18255C","#425DCF","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0604013355_0.addMenuItem("Gametracker","window.open('http://www.nfl.com/scores', 'window');");
  mm_menu_0604013355_0.addMenuItem("NFL&nbsp;Schedule","window.open('http://sports.espn.go.com/nfl/schedule', 'window');");
  mm_menu_0604013355_0.addMenuItem("NFL Standings","window.open('http://sports.espn.go.com/nfl/standings', 'window');");
  mm_menu_0604013355_0.addMenuItem("NFL&nbsp;Rulebook","window.open('http://www.nfl.com/fans/rules/', 'window');");
  mm_menu_0604013355_0.addMenuItem("Future Schedule","window.open('/mtlog/archives/2004/01/01/buffalo_bills_future_schedule.php', 'window');");
   mm_menu_0604013355_0.fontWeight="bold";
   mm_menu_0604013355_0.hideOnMouseOut=true;
   mm_menu_0604013355_0.bgColor='#555555';
   mm_menu_0604013355_0.menuBorder=0;
   mm_menu_0604013355_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604013355_0.menuBorderBgColor='#777777';
    window.mm_menu_0604013712_0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#18255C","#425DCF","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0604013712_0.addMenuItem("Galleries","window.open('/gallery2', 'window');");
  mm_menu_0604013712_0.addMenuItem("Bills History","window.open('/mtlog/archives/2004/01/01/buffalo_bills_history_main_index.php', 'window');");
   mm_menu_0604013712_0.fontWeight="bold";
   mm_menu_0604013712_0.hideOnMouseOut=true;
   mm_menu_0604013712_0.bgColor='#555555';
   mm_menu_0604013712_0.menuBorder=0;
   mm_menu_0604013712_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604013712_0.menuBorderBgColor='#777777';

mm_menu_0604013712_0.writeMenus();
} // mmLoadMenus()

/***********************************************
* IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* Visit DynamicDrive.com for hundreds of original DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["mainbox","tmp-bzexclusives","tmp-headlines"]

//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"

function resizeCaller() {
var dyniframe=new Array()
for (i=0; i<iframeids.length; i++){
if (document.getElementById)
resizeIframe(iframeids[i])
//reveal iframe for lower end browsers? (see var above):
if ((document.all || document.getElementById) && iframehide=="no"){
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
tempobj.style.display="block"
}
}
}

function resizeIframe(frameid){
var currentfr=document.getElementById(frameid)
if (currentfr && !window.opera){
currentfr.style.display="block"
if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
currentfr.height = currentfr.contentDocument.body.offsetHeight; 
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
currentfr.height = currentfr.Document.body.scrollHeight;
if (currentfr.addEventListener)
currentfr.addEventListener("load", readjustIframe, false)
else if (currentfr.attachEvent){
currentfr.detachEvent("onload", readjustIframe) // Bug fix line
currentfr.attachEvent("onload", readjustIframe)
}
}
}

function readjustIframe(loadevt) {
var crossevt=(window.event)? event : loadevt
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
if (iframeroot)
resizeIframe(iframeroot.id);
}

function loadintoIframe(iframeid, url){
if (document.getElementById)
document.getElementById(iframeid).src=url
}

if (window.addEventListener)
window.addEventListener("load", resizeCaller, false)
else if (window.attachEvent)
window.attachEvent("onload", resizeCaller)
else
window.onload=resizeCaller


    // JavaScript to interpolate random images into a page.
    var ic = 17;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames

xoxo[0] = "/2008/gfx/images/onload/crowell.png";
xoxo[1] = "/2008/gfx/images/onload/crowellwhitner.png";
xoxo[2] = "/2008/gfx/images/onload/edwards1.png";
xoxo[3] = "/2008/gfx/images/onload/edwards2.png";
xoxo[4] = "/2008/gfx/images/onload/lynch1.png";
xoxo[5] = "/2008/gfx/images/onload/lynch2.png";
xoxo[6] = "/2008/gfx/images/onload/lynch3.png";
xoxo[7] = "/2008/gfx/images/onload/lynch4.png";
xoxo[8] = "/2008/gfx/images/onload/everett1.png";
xoxo[9] = "/2008/gfx/images/onload/everett2.png";
xoxo[10] = "/2008/gfx/images/onload/wilson.png";
xoxo[11] = "/2008/gfx/images/onload/schobel.png";
xoxo[12] = "/2008/gfx/images/onload/evans.png";
xoxo[13] = "/2008/gfx/images/onload/edwardsroyal.png";
xoxo[14] = "/2008/gfx/images/onload/parrish.png";
xoxo[15] = "/2008/gfx/images/onload/mcgee.png";
xoxo[16] = "/2008/gfx/images/onload/jackson.png";

function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);