function Stats(vid){var v=["1.0","1.1","1.2","1.3","1.4","1.5","2.0"];for(var i=0;i<v.length;i++)document.write("<script language='JavaScript"+v[i]+"'>var jsVer="+v[i]+";</script>");var res="",depth="",r=null;if(window.screen){res=screen.width+"x"+screen.height;depth=screen.colorDepth;}if(window.XMLHttpRequest)r=new XMLHttpRequest();else if(window.ActiveXObject)r=new ActiveXObject("Microsoft.XMLHTTP");if(r){r.open("POST","/Services/LeadTracker.asmx/UpdateStats",true);r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");r.send("lngVisitorID="+vid+"&strResolution="+res+"&strColorDepth="+depth+"&blnFlashEnabled="+FlashEnabled()+"&blnJavaEnabled="+navigator.javaEnabled()+"&strJSVersion="+jsVer+"&strTZOffset="+(new Date()).getTimezoneOffset());}}
function FlashEnabled(){if(document.all){result=false;document.write('<script language="VBScript">\n on error resume next \n result=IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.1"))</script>\n');return result;}var s="",m=navigator.mimeTypes,f="application/x-shockwave-flash";for(var i=0;i<m.length;i++)if(m[i].type.toLowerCase().indexOf(f)!=-1)return m[f].enabledPlugin!=null;return false;}
