<!--
	function preloader()
	{
		var i = 0;

		// create object     
		imageObj = new Image();
	
		// set image list     
		images = new Array();     
	
		images[0] = "http://www.boxingtalk.com/img/main/nav_on1.gif";
		images[1] = "http://www.boxingtalk.com/img/main/nav_on2.gif";
		images[2] = "http://www.boxingtalk.com/img/main/nav_on3.gif";
		images[3] = "http://www.boxingtalk.com/img/main/nav_on4.gif";
		images[4] = "http://www.boxingtalk.com/img/main/nav_on5.gif";
		images[5] = "http://www.boxingtalk.com/img/main/nav_on6.gif";
		images[6] = "http://www.boxingtalk.com/img/main/nav_off1.gif";
		images[7] = "http://www.boxingtalk.com/img/main/nav_off2.gif";
		images[8] = "http://www.boxingtalk.com/img/main/nav_off3.gif";
		images[9] = "http://www.boxingtalk.com/img/main/nav_off4.gif";
		images[10] = "http://www.boxingtalk.com/img/main/nav_off5.gif";
		images[11] = "http://www.boxingtalk.com/img/main/nav_off6.gif";
		images[12] = "http://www.boxingtalk.com/img/main/divider_subnav.gif";
		images[13] = "http://www.boxingtalk.com/img/main/divider_left.gif";
		images[14] = "http://www.boxingtalk.com/img/main/divider_middle.gif";
		images[15] = "http://www.boxingtalk.com/img/main/divider_middlewhite.gif";
		images[16] = "http://www.boxingtalk.com/img/main/divider_videoh.gif";
		images[17] = "http://www.boxingtalk.com/img/main/divider_videov.gif";
		images[18] = "http://www.boxingtalk.com/img/main/divider_middlegrey.gif";
		images[19] = "http://www.boxingtalk.com/img/main/memberlock.gif";
		images[20] = "http://www.boxingtalk.com/img/main/spacer.gif";
		images[21] = "http://www.boxingtalk.com/img/main/bannerframe_bottom.gif";
		images[22] = "http://www.boxingtalk.com/img/main/bannerframe_top.gif";
		images[23] = "http://www.boxingtalk.com/img/main/bannerframe_left.gif";
		images[24] = "http://www.boxingtalk.com/img/main/bannerframe_right.gif";
		images[25] = "http://www.boxingtalk.com/img/main/vidscroll_left.gif";
		images[26] = "http://www.boxingtalk.com/img/main/vidscroll_middle.gif";
		images[27] = "http://www.boxingtalk.com/img/main/vidscroll_right.gif";
		images[28] = "http://www.boxingtalk.com/img/main/page_background.gif";
		images[29] = "http://www.boxingtalk.com/img/main/btn_login.gif";
		images[30] = "http://www.boxingtalk.com/img/main/btn_password.gif";
		images[31] = "http://www.boxingtalk.com/img/main/divider_right.gif";
		images[32] = "http://www.boxingtalk.com/img/main/txt_email.gif";
		images[33] = "http://www.boxingtalk.com/img/main/txt_password.gif";
		images[34] = "http://www.boxingtalk.com/img/main/txt_register.gif";
		images[35] = "http://www.boxingtalk.com/img/main/nav_bottom1.gif";
		images[36] = "http://www.boxingtalk.com/img/main/nav_bottom2.gif";
		images[37] = "http://www.boxingtalk.com/img/main/nav_bottom3.gif";
		images[38] = "http://www.boxingtalk.com/img/main/nav_bottom4.gif";
		images[39] = "http://www.boxingtalk.com/img/main/nav_bottom5.gif";
		images[40] = "http://www.boxingtalk.com/img/main/nav_bottom6.gif";
		images[41] = "http://www.boxingtalk.com/img/main/subnav_fighterlinks.gif";
		images[42] = "http://www.boxingtalk.com/img/main/subnav_schedule.gif";
		images[43] = "http://www.boxingtalk.com/img/main/subnav_videointerviews.gif";
		images[44] = "http://www.boxingtalk.com/img/main/subnav_transcripts.gif";
		images[45] = "http://www.boxingtalk.com/img/main/subnav_roundbyround.gif";
		images[46] = "http://www.boxingtalk.com/img/main/subnav_training.gif";
		images[47] = "http://www.boxingtalk.com/img/main/subnav_ringcardgirls.gif";
		images[48] = "http://www.boxingtalk.com/img/main/subnav_ratings.gif";
		images[49] = "http://www.boxingtalk.com/img/main/subnav_pressreleases.gif";
		images[50] = "http://www.boxingtalk.com/img/main/subnav_predictions.gif";
		images[51] = "http://www.boxingtalk.com/img/main/subnav_pound4pound.gif";
		images[52] = "http://www.boxingtalk.com/img/main/subnav_photogallery.gif";
		images[53] = "http://www.boxingtalk.com/img/main/subnav_messageboard.gif";
		images[54] = "http://www.boxingtalk.com/img/main/subnav_interviews.gif";
		images[55] = "http://www.boxingtalk.com/img/main/subnav_fighthype.gif";
		images[56] = "http://www.boxingtalk.com/img/main/subnav_fightcoverage.gif";
		images[57] = "http://www.boxingtalk.com/img/main/subnav_chatroom.gif";
		images[58] = "http://www.boxingtalk.com/img/main/subnav_breakingnews.gif";
		images[59] = "http://www.boxingtalk.com/img/main/subnav_audiointerviews.gif";
		images[60] = "http://www.boxingtalk.com/img/main/subnav_archive.gif";
		images[61] = "http://www.boxingtalk.com/img/main/subnav_articles.gif";
		images[62] = "http://www.boxingtalk.com/img/main/subnav_frontpage.gif";
		
		// start preloading    
		
		for(i=0; i<=3; i++)
		{
			imageObj.src=images[i];     
		}
		
	}
	
	function nav_on(nid, blnSubNav)
	{
//		document.getElementById('img_nav' + nid).src = eval('nav_on' + nid + '.src');
		document.getElementById('img_nav' + nid).style.visibility = 'hidden';
		
		for (i=1; i<=6; i++)
		{
			if (nid != i)
			{
				hide_subnav(i);
//				document.getElementById('img_nav' + i).src = eval('nav_off' + i + '.src');			
			}
		}
		
		if (blnSubNav)
			show_subnav(nid);
//			setTimeout('show_subnav(' + nid + ')', 5);
	}
	
	function nav_off(nid, blnSubNav)
	{
//		document.getElementById('img_nav' + nid).src = eval('nav_off' + nid + '.src');
		document.getElementById('img_nav' + nid).style.visibility = 'visible';

		for (i=1; i<=6; i++)
		{
			if (nid != i)
			{
				hide_subnav(i);
//				document.getElementById('img_nav' + i).src = eval('nav_off' + i + '.src');			
			}
		}

		if (blnSubNav)
			hide_subnav(nid);
	}
		
	function show_subnav(did)
	{
    // show the requested div
    document.getElementById('subnav' + did).style.display = 'block';
	}
	
	function hide_subnav(did)
	{
    // hide the div
    document.getElementById('subnav' + did).style.display = 'none';
	}
	
	function change_background(strObj, strColor)
	{
		strObj.style.backgroundColor = strColor;
	}

	function validateHeaderLogin()
	{
		var frmDoc;
		
		frmDoc = window.document.frmLogin;
		
		var strEmail;
		
		strEmail = frmDoc.EMAIL.value;
		
		// validate email address
		if (strEmail == "")
		{
			alert("Email is a required field.");
			
			frmDoc.EMAIL.focus();
			
			return false;
		}
		
		if (strEmail.indexOf("@") == -1 || strEmail.indexOf(".") == -1 || strEmail.indexOf("@") == 0)
		{
			alert("Please enter a valid email address.");
			
			frmDoc.EMAIL.focus();
			
			return false;
		}
		
		return true;
	}			
	
	function OpenPopup(url, name, w, h) 
	{
		if (navigator.appName == "Microsoft Internet Explorer")
		{
			var winX = (screen.availWidth - w)*.5;
			var winY = (screen.availHeight - h)*.5;
			popupWin = window.open(url, name, "status=no,scrollbars=yes,menubar=no,toolbar=no,width=" + w + ",height=" + h + ",left=" + winX + ",top=" + winY);
		}
		else
		{
			var winX = window.screenX + ((window.outerWidth - w) / 2);
			var winY = window.screenY + ((window.outerHeight - h) / 2);
			popupWin = window.open(url, name, "status=0,scrollbars=1,menubar=0,toolbar=0,width=" + w + ",height=" + h + ",screenX=" + winX + ",screenY=" + winY);
		}
	}	

// Use Freely as long as following disclaimer is intact ::
//---------------------------------------------------------------
// Cross Browser Multi-Directional Scroller v1.0 24th August 2004
// This script written by Rik Comery. www.ricom.co.uk
// For support, visit the "Resources" section at www.ricom.co.uk           
// All rights reserved.   
// Featured in the SimplytheBest DHTML Scripts Library at http://simplythebest.net/scripts/
                                     
////// SCROLLER CONFIGURATION ///////////////////////////////////////////////////////////////////  

orientation = "horizontal"        // Orientation of scroller (Horizontal or vertical)
scrollerWidth = "709"             // Width of entire scroller.
scrollerHeight = "24"             // Height of Scroller.
borderWidth = 1                   // Width of border. (use 0 for no border).
borderColour = "#000000"          // Colour of scroller border. (Use either hexadecimal or text values. e.g. "#FF0000" or "Red") 
backColour = "#000000"              // Colour of scroller background. (Use either hexadecimal or text values. e.g. "#FF0000" or "Red") 
staticColour = "#FFFFFF"          // Colour of scroller items that are NOT a link. (including scrollerDivider characters)
stopScroll = 1                    // Pause the scroller on mouseOver. (use 0 for no.)
textAlignment="left"            // Alignment of each scroller item.  Only really makes a difference on vertical scroller
                                  // (center, left, right, justify)

// Scroller Links
linkFont = "arial"                // Font of scroller links;
linkWeight = "normal"             // Weight of scroller links;
linkColour = "#FFFFFF"            // Colour of scroller links
linkSize = "11"                   // Size of links (in pixels)
linkDecoration = "none"           // Decoration of links. (underline, overline, none)

// Scroller Links On MouseOver
slinkFont = "arial"               // Font of scroller links;
slinkWeight = "normal"            // Weight of scroller links;
slinkColour = "#6666FF"           // Colour of scroller links
slinkSize = "11"                  // Size of links (in points)
slinkDecoration = "underline"     // Decoration of links. (underline, overline, none)

scrollerDivider = "&nbsp;&nbsp;|&nbsp;&nbsp;" // Character to place between each scroller item. 
                                  // <img> tags can be used if an image is required. 
                                  // Use "0" for nothing.  For Vertical scrollers, it is best to use "<br>"

/* 
  Because Netscape version 4 does not support this scroller, configure the values below so NS4 users do not see an error. 
  In the scroller's place will be a static title which can be a link if require.  The appearance of the static text (colour, scroller border etc)
  will be exactly the same as for the working version in other browsers.
*/
ns4Text = "Click Here to visit the PlanMagic Software";  // Alternative text to display in Netscape 4.
ns4URL = "http://planmagic.com";            // URL of link in NS4. If no URL is required, enter "none"
ns4Target = "_top";                           // Frame target for link in NS4

////// DO NOT EDIT BELOW THIS LINE  ///////////////////////////////////////////////////////////////////

//Browser Sniffer
var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;

style='<style type="text/css">';
style+='p{font-family:'+linkFont+'; color:'+staticColour+'; font-size:'+linkSize+'px; font-weight:'+linkWeight+'; text-align:'+textAlignment+'}';
style+='a.rcScroller,a.rcScroller:active,a.rcScroller:visited{color:'+linkColour+';text-decoration:'+linkDecoration+'; font-weight:'+linkWeight+'}';
style+='a.rcScroller:hover{color:'+slinkColour+';text-decoration:'+slinkDecoration+'; font-weight:'+slinkWeight+'}';
style+='rcScrollerHoverNS{color:red;text-decoration:'+slinkDecoration+'; font-weight:'+slinkWeight+'}';
style+='<\/style>';
document.writeln(style);

// Build the scroller and place it on the page
function buildScroller()
{
  if(isNS4){
    scroller='<table border="0" cellpadding="0" cellspacing="0" width="'+scrollerWidth+'" bgcolor="'+borderColour+'"><tr><td>'
    scroller+='<table border="0" cellpadding="0" cellspacing="0" width="100%" height="'+scrollerHeight+'" bgcolor="'+backColour+'"><tr><td align="center" nowrap><p>';
    if(ns4URL.toLowerCase()!="none"){scroller+='<a href="'+ns4URL+'" class="rcScroller" target="'+ns4Target+'">'+ns4Text+'</a>';}
    else{scroller+=ns4Text;} 
    scroller+='</p></td></tr></table></td></tr></table>'   
  }else{
    scroller='<table border="0" cellpadding="0" cellspacing="0" style="width:'+scrollerWidth+';height:'+scrollerHeight+';border:'+borderWidth+'px solid '+borderColour+';background-color:'+backColour+'">';
    scroller+='<tr valign="middle"><td><div id="div" style="';
    if(orientation.toLowerCase()=="vertical"){scroller+='height:'+scrollerHeight+';';}
    scroller+='width:'+scrollerWidth+'; position:relative; background-color:'+backColour+'; overflow:hidden">';
    scroller+='<div id="div1" style="position:relative; left:0; z-index:1">';
    scroller+='<table border="0" name="table" id="table"';
    if(orientation.toLowerCase()=="vertical"){scroller+='style="width:'+scrollerWidth+'"';}
    scroller+='><tr>';
    y=0;
    while (y<4)
    {
      for (x=0; x<(Article.length); x++)
      {
        if(orientation.toLowerCase()=="vertical"){scroller+='<tr>';}
        scroller+='<td ';
        if(orientation.toLowerCase()=="horizontal"){scroller+='nowrap';} if(stopScroll==1){scroller+=' onMouseOver="stopScroller();" onMouseOut="setWidth()"';}
        scroller+='><p>';
        if(Article[x][1].toLowerCase()!="none"){scroller+='<a class="rcScroller" href="'+Article[x][1]+'" target="'+Article[x][2]+'" >'+Article[x][0]+'<\/a>';
        }else{scroller+=Article[x][0];}          
        scroller+='</p><\/td>';
        
        if(orientation.toLowerCase()=="vertical"){scroller+='<\/tr>';}
              
        if(scrollerDivider.toLowerCase() != "none"){scroller+='<td nowrap><p style="color: #CCCCCC;">'+scrollerDivider+'<\/p><\/td>';}
      }
      y++
    }
    scroller+='<\/tr><\/table><\/div><\/div><\/td><\/tr><\/table>';  
  }
  document.writeln(scroller);
}
// Ensure the width of the scroller is divisible by 2. This allows smooth flowing of the scrolled content
function setWidth()
{ 
  tableObj=(isIE)?document.all("table"):document.getElementById("table"); 
  obj=(isIE)?document.all.div1:document.getElementById("div1");   
  objWidth=(orientation.toLowerCase()=="horizontal")?getOffset(tableObj,"width"):getOffset(tableObj,"height");
  HalfWidth=Math.floor(objWidth/2);
  newWidth = (HalfWidth*2)+2;
  obj.style.width=newWidth
  moveLayer(obj, newWidth);
  
}

// Move the layer by one pixel to the left
function moveLayer(obj, width)
{
  
  maxLeft = (0-(width/2)+2)/2
  if(orientation.toLowerCase()=="horizontal"){
    obj.style.left=(parseInt(obj.style.left) <= maxLeft)?0:parseInt(obj.style.left)-1
  }else{
    if(obj.style.top==""){obj.style.top=0;}
   // alert(obj.style.top)
    if (parseInt(obj.style.top)<(0-(width/2)+6)){
      obj.style.top = 0
    }else{
      obj.style.top = parseInt(obj.style.top)-1
    }
  }
  timer = setTimeout ("moveLayer(obj, "+width+");", 25); 
}

// Get width and height of layer
function getOffset(obj, dim) 
{
  if(dim=="width")
  {
    oWidth = obj.offsetWidth
    return oWidth
  }  
  else if(dim=="height")
  {
    oHeight = obj.offsetHeight
    return oHeight
  }    
}

function stopScroller()
{
  clearTimeout(timer)  
}

function runScroller(){
  if(!isNS4){setWidth()}
}
////// END OF SCRIPT  ///////////////////////////////////////////////////////////////////

/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  Copyright 2001-4 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/
function initScrollLayer() {
  // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll, 
  // if horizontal scrolling, id of element containing scrolling content (table?)
  var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
  
  // pass id's of any wndo's that scroll inside tables
  // i.e., if you have 3 (with id's wn1, wn2, wn3): dw_scrollObj.GeckoTableBugFix('wn1', 'wn2', 'wn3');
  dw_scrollObj.GeckoTableBugFix('wn'); 
}

-->
