');}
document.write("

");
if (NS4)
{
document.write('');
}
if ((IE4) || (NS6))
{
document.write('
');
}
ifloatX=floatX;
ifloatY=floatY;
define();
window.onresize=define;
lastX=-1;
lastY=-1;
adjust();
var rnd = 0;
function xlaALSshowinvite(){
if (xlaALSinvited!=0){
return(0);
}
if (xlaALSinvite.style.display) {
xlaALSinvite.style.display = "";
} else {
xlaALSinvite.visibility= "show";
}
}
var xlaALSproactive_hit=0;
var xlaALSinvited=0;
function xlaALScheckproactive(){
if (xlaALSproactive_hit==0){
var time = new Date()
var ms = time.getMilliseconds()
var xlaALSprosize=document.getElementById('xlaALSprotrack');
if (xlaALSprosize.width==2){
document.getElementById('xlaALSinvitemsg').src='http://www.localsport.com/livesupport_new/proactivemsg.aspx?r=' + ms;
xlaALSproactive_hit=1;
//Initiate Proactive Chat
xlaALSshowinvite();
} else {
xlaALSprosize.src='http://www.localsport.com/livesupport_new/proactiveimg.aspx?r=' + ms;
setTimeout( "xlaALScheckproactive()",5000);
}
}
}
function xlaALScancelinvite(){
document.getElementById("xlaALSinvite").innerHtml='';
document.getElementById("xlaALSinvite").style.display='none';
document.getElementById('xlaALSprotrack').src='http://www.localsport.com/livesupport_new/proactiveimg.aspx?action=cancel';
xlaALSinvited=1;
}
function xlaALSacceptinvite(){
var w = 640, h = 480;
if (document.all || document.layers) {
w = screen.availWidth;
h = screen.availHeight;
}
var leftPos = (w-640)/2, topPos = (h-480)/2;
xlaALSwindow=window.open("http://www.localsport.com/livesupport_new/UserAcceptInvite.aspx?d=&u=&bypass=","ALSRoom","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=640,height=480,top=" + topPos + ",left=" + leftPos);
xlaALSwindow.focus();
xlaALScancelinvite();
}