
// Click here to Activate Flash fix taken from http://activecontent.blogspot.com/

function ieupdate(){
	var strBrowser = navigator.userAgent.toLowerCase();
	if(strBrowser.indexOf("msie") > -1 && strBrowser.indexOf("mac") < 0){
		var theObjects = document.getElementsByTagName('object');
		var theObjectsLen = theObjects.length;
		for (var i = 0; i < theObjectsLen; i++) {
			if(theObjects[i].outerHTML){
				if(theObjects[i].data){
					theObjects[i].removeAttribute('data');
				}
				var theParams = theObjects[i].getElementsByTagName("param");
				var theParamsLength = theParams.length;
				for (var j = 0; j < theParamsLength; j++) {
					if(theParams[j].name.toLowerCase() == 'flashvars'){
						var theFlashVars = theParams[j].value;
					}
				}
				var theOuterHTML = theObjects[i].outerHTML;
				var re = /<param name="FlashVars" value="">/ig;
				theOuterHTML = theOuterHTML.replace(re,"<param name='FlashVars' value='" + theFlashVars + "'>");
				theObjects[i].outerHTML = theOuterHTML;
			}
		}
	}
}

window.onunload = function() {
	if (document.getElementsByTagName) {
		var objs = document.getElementsByTagName("object");
		for (i=0; i<objs.length; i++) {
			objs[i].outerHTML = "";
		}
	}
}
///<summary>
/// Function to load the slideshow on the front end.
///</summary>
///<param name="sDN">The DN of the page we are opening as a slide show</param>
function openSlide(sDN)
{
	var sScript = "/SlideShow.aspx"
	
	window.open(sScript+"?DN="+sDN,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=0,width=660px,height=600px,center=1")
	
} //openSlide	

///<summary>
/// Function to set the class on a tr based on even or odd
///</summary>
///<param name="trId">The id of the tr we are setting the class on</param>
var iCounter = 0;
function trClassSet(trId)
{
    iCounter++;
    document.getElementById(trId).className += iCounter % 2 == 0 ? "even" : "odd";
} //trClassSet

function swapImage(id, image)
{
	document.getElementById(id).src = image;
}


function openPrivacyPolicy (url)
{
	window.open(url,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=675px,height=700px,center=1");
}
// JScript File
function SortAvailableHomes(sortField)
{
	var urlString = document.location + "";
	var url = urlString.split ("&SortField");
	
	
	document.location = url[0] + "&SortField=" + sortField;
}

function showAvailableHomesImage(docGuid, currentImage, newImage)
{
	document.getElementById(currentImage).style.display = "none";
	document.getElementById(newImage).style.display = "";
	document.getElementById("CurrentImage" + docGuid).value = newImage;
}


function printHome(docGuid)
{
	var currentImage = document.getElementById("CurrentImage" + docGuid);
	var currentImageName = "";
	if (currentImage != null)
	{
		currentImageName = currentImage.value.replace('Image','');
	}
	//window.location = '../Pages/AvailableHomesPrint.aspx?DN='+docGuid + '&Picture=' + currentImageName;
	var sScript = '../Pages/AvailableHomesPrint.aspx?DN='+docGuid + '&Picture=' + currentImageName;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=830px,height=380px,center=1")
	
}// JScript File
function SortFriendsAndFamilyHomes(sortField)
{
	var urlString = document.location + "";
	var url = urlString.split ("&SortField");
	
	
	document.location = url[0] + "&SortField=" + sortField;
}

function showFriendsAndFamilyImage(docGuid, currentImage, newImage)
{
	document.getElementById(currentImage).style.display = "none";
	document.getElementById(newImage).style.display = "";
	document.getElementById("CurrentImage" + docGuid).value = newImage;
}

function printFriendsAndFamilyHome(docGuid)
{
	var currentImage = document.getElementById("CurrentImage" + docGuid);
	var currentImageName = "";
	if (currentImage != null)
	{
		currentImageName = currentImage.value.replace('Image','');
	}
	//window.location = '../Pages/FriendsAndFamilyPrint.aspx?DN='+docGuid + '&Picture=' + currentImageName;
	var sScript = '../Pages/FriendsAndFamilyPrint.aspx?DN='+docGuid + '&Picture=' + currentImageName;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=830px,height=380px,center=1")
}

function displayDisclaimer(disclaimer)
{
	alert('Disclaimer: '+disclaimer);
	
}


function loadDisclaimer(docGuid)
{
	var sScript = '../Pages/DisclaimerPopup.aspx?DN='+docGuid;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=500px,height=500px,center=1");
}// JScript File

function showAboutAreaLabel(id)
{
	if (document.getElementById("School") != null)
	{
		document.getElementById("School").style.display = "none";
	}
	if (document.getElementById("Shopping") != null)
	{
		document.getElementById("Shopping").style.display = "none";
	}
	
	if (document.getElementById("Recreation") != null)
	{
		document.getElementById("Recreation").style.display = "none";
	}
	
	if (document.getElementById("Community") != null)
	{
		document.getElementById("Community").style.display = "none";
	}
	
	if (document.getElementById("Amenities") != null)
	{
		document.getElementById("Amenities").style.display = "none";
	}
	
	document.getElementById("DefaultAboutArea").style.display = "none";
	document.getElementById(id).style.display = "";
	
}

function resetAboutAreaHeaderImages()
{
	if (document.getElementById("SchoolImage") != null)
	{
		document.getElementById("SchoolImage").src = "../Images/Neighborhood/Schools.jpg";
	}
	
	if (document.getElementById("ShoppingImage") != null)
	{
		document.getElementById("ShoppingImage").src = "../Images/Neighborhood/Shopping.jpg";
	}
	
	if (document.getElementById("RecreationImage") != null)
	{
		document.getElementById("RecreationImage").src = "../Images/Neighborhood/Recreation.jpg";
	}
	
	if (document.getElementById("CommunityImage") != null)
	{
		document.getElementById("CommunityImage").src = "../Images/Neighborhood/Community.jpg";
	}
	
	if (document.getElementById("AmenitiesImage") != null)
	{
		document.getElementById("AmenitiesImage").src = "../Images/Neighborhood/Amenities.jpg";
	}
}

function HideMoreDetailsSection()
{
	document.getElementById("MoreDetailsSection").style.display = "none";
	document.getElementById("StartingMiddleSection").style.display = "";
}

function ShowMoreDetailsSection(id)
{
	document.getElementById("MoreDetailsSection").style.display = "";
	document.getElementById("StartingMiddleSection").style.display = "none";
}

function ShowFeaturesDetailSection(id)
{
/*
	document.getElementById("StartingMiddleSection").style.display = "none";
	document.getElementById("StartingRightSection").style.display = "none";
	document.getElementById("FeaturesDetailSection").style.display = "";
	document.getElementById("FeaturesListSection").style.display = "";
*/	
	document.getElementById("ExteriorDetails").style.display = "none";
	document.getElementById("InteriorDetails").style.display = "none";
	document.getElementById("Cooking").style.display = "none";		
	document.getElementById("BedAndBath").style.display = "none";			
	document.getElementById("WellBuiltHome").style.display = "none";
	document.getElementById("EnergySavers").style.display = "none";
	document.getElementById("OtherFeatures").style.display = "none";
	document.getElementById(id).style.display = "";
}

function HideFeaturesDetailSection()
{
/*
	document.getElementById("StartingMiddleSection").style.display = "";
	document.getElementById("StartingRightSection").style.display = "";
	document.getElementById("FeaturesDetailSection").style.display = "none";
	document.getElementById("FeaturesListSection").style.display = "none";
*/
}

function LoadFeatures()
{
	var urlString = document.location + "";
	if (urlString.indexOf("?") == -1)
	{
		document.location = document.location + "?view=Features";
	}
	else
	{
		document.location = document.location + "&view=Features";
	}
}

function LoadDesignStudio()
{
	var urlString = document.location + "";
	if (urlString.indexOf("?") == -1)
	{
		document.location = document.location + "?view=DesignStudio";
	}
	else
	{
		document.location = document.location + "&view=DesignStudio";
	}
}



function LoadDrivingDirections()
{
	var urlString = document.location + "";
	if (urlString.indexOf("?") == -1)
	{
		document.location = document.location + "?view=DrivingDirections";
	}
	else
	{
		document.location = document.location + "&view=DrivingDirections";
	}	
}

function LoadDesignStudioDrivingDirections()
{
	var urlString = document.location + "";
	urlString = urlString.replace("?view=DesignStudio","?view=DesignStudioDrivingDirections");
	urlString = urlString.replace("&view=DesignStudio","&view=DesignStudioDrivingDirections");
	document.location = urlString;
	/*if (urlString.indexOf("?") == -1)
	{
		document.location = document.location + "?view=DesignStudioDrivingDirections";
	}
	else
	{
		document.location = document.location + "&view=DesignStudioDrivingDirections";
	}*/	
}


function LoadMeetTheNeighbors(docGuid)
{
	var sScript = '../Pages/MeetTheNeighborsPopup.aspx?DN='+docGuid;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=500px,height=500px,center=1");
}

function LoadCommunityMap(docGuid)
{
	var sScript = '../Pages/CommunityMapPopup.aspx?DN='+docGuid;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=500px,height=500px,center=1");
}

function LoadFAQ(docGuid)
{

	var sScript = '../Pages/FAQPopup.aspx?DN='+docGuid;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=675px,height=700px,center=1");
}


function closeFeatures()
{
	var urlString = document.location + "";
	var isDN = (urlString.indexOf("DN") > -1) ? true : false;
	
	if (isDN)
	{
		var url = urlString.split ("&");
		document.location = url[0];
	}
	else
	{
		var url = urlString.split ("?");
		document.location = url[0];
	}
}

function showDrivingDirectionsStandard()
{
	var ddStandard = document.getElementById("DrivingStandardMap");
	var ddDetailed = document.getElementById("DrivingDetailedMap");
	var ddDirections = document.getElementById ("DrivingDirectionsDirections");
	ddDirections.style.marginTop = "0px";
	ddStandard.style.display = "";
	ddDetailed.style.display = "none";
}

function showDrivingDirectionsDetailed()
{
	var ddStandard = document.getElementById("DrivingStandardMap");
	var ddDetailed = document.getElementById("DrivingDetailedMap");
	var ddDirections = document.getElementById ("DrivingDirectionsDirections");
	ddStandard.style.display = "none";
	ddDetailed.style.display = "";
	
}


function showDesignStudioDrivingDirectionsStandard()
{
	var ddStandard = document.getElementById("DSDrivingStandardMap");
	var ddDetailed = document.getElementById("DSDrivingDetailedMap");
	var ddDirections = document.getElementById ("DSDrivingDirectionsDirections");
	ddDirections.style.marginTop = "0px";
	ddStandard.style.display = "";
	ddDetailed.style.display = "none";
}

function showDesignStudioDrivingDirectionsDetailed()
{
	var ddStandard = document.getElementById("DSDrivingStandardMap");
	var ddDetailed = document.getElementById("DSDrivingDetailedMap");
	var ddDirections = document.getElementById ("DSDrivingDirectionsDirections");
	ddDirections.style.marginTop = "36px";
	ddStandard.style.display = "none";
	ddDetailed.style.display = "";
	
}




function openAboutTheAreaPopup(docGuid,type)
{
	var sScript = '../Pages/AboutTheAreaPopup.aspx?DN=' + docGuid + '&Type=' + type;
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=400px,height=300px,center=1");
	
}


function printDrivingDirections(docGuid, isDesignStudio)
{

	//window.location = '../Pages/AvailableHomesPrint.aspx?DN='+docGuid + '&Picture=' + currentImageName;
	var sScript = '../Pages/DrivingDirectionsPrint.aspx?DN='+docGuid;
	
	if (isDesignStudio == "true")
	{
		sScript += '&DesignStudio=true';
	}
	window.open(sScript,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=1,width=675px,height=700px,center=1");
	
}

/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
///<summary>
/// Toggles the child node of a site map node, (makes it visible or invisible)
///</summary>
function ToggleChildren(sID, sPathPlus, sPathMinus)
{
    var sImageID = sID.replace("child", "image");
    var oImage   = document.getElementById(sImageID);
    var oDiv     = document.getElementById(sID);
    var sDisplay = oDiv.style.display;
    
    if(sDisplay == "none")
    {
        oDiv.style.display = "inline";
        oImage.src = sPathMinus;                    
    }
    else
    {
        if(oImage.getAttribute("ChildCount") != "0")
        {
            oDiv.style.display = "none";
            oImage.src = sPathPlus;            
        }
    }     
}//ToggleChildren
var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;}
var hbx=_hbEvent("pv");hbx.vpc="HBX0200u";hbx.gn="ehg-interactivateinc.hitbox.com";

//BEGIN EDITABLE SECTION
//CONFIGURATION VARIABLES
hbx.acct="DM5609083HED52EN3";//ACCOUNT NUMBER(S)
hbx.pn="PUT+PAGE+NAME+HERE";//PAGE NAME(S)
hbx.mlc="CONTENT+CATEGORY";//MULTI-LEVEL CONTENT CATEGORY
hbx.pndef="title";//DEFAULT PAGE NAME
hbx.ctdef="full";//DEFAULT CONTENT CATEGORY

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME
hbx.lt="none";//LINK TRACKING
hbx.dlf="n";//DOWNLOAD FILTER
hbx.dft="n";//DOWNLOAD FILE NAMING
hbx.elf="n";//EXIT LINK FILTER

//SEGMENTS AND FUNNELS
hbx.seg="";//VISITOR SEGMENTATION
hbx.fnl="";//FUNNELS

//CAMPAIGNS
hbx.cmp="";//CAMPAIGN ID
hbx.cmpn="";//CAMPAIGN ID IN QUERY
hbx.dcmp="";//DYNAMIC CAMPAIGN ID
hbx.dcmpn="";//DYNAMIC CAMPAIGN ID IN QUERY
hbx.dcmpe="";//DYNAMIC CAMPAIGN EXPIRATION
hbx.dcmpre="";//DYNAMIC CAMPAIGN RESPONSE EXPIRATION
hbx.hra="";//RESPONSE ATTRIBUTE
hbx.hqsr="";//RESPONSE ATTRIBUTE IN REFERRAL QUERY
hbx.hqsp="";//RESPONSE ATTRIBUTE IN QUERY
hbx.hlt="";//LEAD TRACKING
hbx.hla="";//LEAD ATTRIBUTE
hbx.gp="";//CAMPAIGN GOAL
hbx.gpn="";//CAMPAIGN GOAL IN QUERY
hbx.hcn="";//CONVERSION ATTRIBUTE
hbx.hcv="";//CONVERSION VALUE
hbx.cp="null";//LEGACY CAMPAIGN
hbx.cpd="";//CAMPAIGN DOMAIN

//CUSTOM VARIABLES
hbx.ci="";//CUSTOMER ID
hbx.hc1="";//CUSTOM 1
hbx.hc2="";//CUSTOM 2
hbx.hc3="";//CUSTOM 3
hbx.hc4="";//CUSTOM 4
hbx.hrf="";//CUSTOM REFERRER
hbx.pec="";//ERROR CODES

//INSERT CUSTOM EVENTS

//END EDITABLE SECTION
//hbx.js,HBX2.0,COPYRIGHT 1997-2006 WEBSIDESTORY,INC. ALL RIGHTS RESERVED. U.S.PATENT No.6,393,479B1 & 6,766,370. INFO:http://websidestory.com/privacy
/* INSERT CUSTOM EVENT CODE HERE */
// custom code for 2.0 release to send linkviews on page view until the backend is ready
// remove this code block if we want to send linkViews as a separate request
function _hbOnPrePV(req){
    for(var a=0;a<_IL(document.links);a++){
        if(_lvid.length+_lvpos.length<_lvm)
            _LV(document.links[a]);
        else break;
    }
    _ar += "&lv.id="+_lvid+"&lv.pos="+_lvpos;
    _lvl=-1; 
}

/* DO NOT CHANGE BELOW THIS LINE */
var _vjs="HBX0201.03u";
var _dl=".exe,.zip,.wav,.wmv,.mp3,.mov,.mpg,.avi,.doc,.pdf,.xls,.ppt,.gz,.bin,.hqx,.dmg";
function _NA(a){return new Array(a?a:0)}
var _mn=_hbq="",_hbA=_NA(),_hud="undefined",_huf="function",_ec=_if=_ll=_hec=_hfs=_hfc=_hfa=_ic=_pC=_fc=_pv=0,_hbi=_hbs=new Image(),_hbin=_NA(),_pA=_NA();
_lvid=_lvpos=_lvl="";_hbE=_D("hbE")?_hbE:"";_hbEC=_D("hbEC")?_hbEC:0;var _ex="expires=Wed, 1 Jan 2020 00:00:00 GMT",_lvm=300,_lidt="lid",_lpost="lpos",
_pum=_erf=_hif=0;
function _D(v){return(typeof eval("window._"+v)!=_hud)?eval("window._"+v):""}function _DD(v){return(typeof v!=_hud)?1:0}
function _A(v,c){return escape((_D("lc")=="y"&&_DD(c))?_TL(v):v)}
function _B(){return 0}function _GP(){return (_IL(_D("protocol"))>0)?_protocol+"://":(location.protocol=="https:"?"https://":"http://")}
function _IC(a,b,c){return a.charAt(b)==c?1:0}function _II(a,b,c){return a.indexOf(b,c?c:0)}function _IL(a){return a!=_hud?a.length:0}
function _IF(a,b,c){return a.lastIndexOf(b,c?c:_IL(a))}function _IP(a,b){return a.split(b)}
function _IS(a,b,c){return b>_IL(a)?"":a.substring(b,c!=null?c:_IL(a))}
function _RP(a,b,c,d){d=_II(a,b);if(d>-1){a=_RP(_IS(a,0,d)+","+_IS(a,d+_IL(b),_IL(a)),b,c)}return a}
function _TL(a){return a.toLowerCase()}function _TS(a){return a.toString()}function _TV(){_hbSend()}function _SV(a,b,c){_hbSet(a,b,c)}
function _VS(a,b,c,d){c=['C','P','R'];for(d=0;d<_IL(c);d++){if(_II(""+b,"_"+c[d]+"::")==0)b=eval("_R"+c[d]+"V(_IS(b,4,_IL(b)))")}eval("_"+a+"='"+b+"'")}
function _VC(a,b,c,d){b=_IP(a,",");for(c=0;c<_IL(b);c++){d=_IP(b[c],"|");_VS(d[0],(_D(d[0]))?_D(d[0]):d[1]?d[1]:"")}}
function _VL(a,b){for(a=0;a<_hbEC;a++){_pv=_hbE[a];if(_pv._N=="pv"){for(b in _pv){if(_EE(b)&&typeof _pv[b]!=_huf){_VS(b,_pv[b])}}}}
_VC("pn|PUT+PAGE+NAME+HERE,mlc|CONTENT+CATEGORY,elf|n,dlf|n,dft|n,pndef|title,ctdef|full,cp|null,hcn|")}_VL();
function _ER(a,b,c){if(_erf++==0)_hbi.src=_GP()+_gn+"/HG?hc="+_mn+"&hb="+_A(_acct)+"&hec=1&vjs="+_vjs+"&vpc=ERR&ec=1&err="+
((typeof a=="string")?_A(a+"-"+c):"Unknown");_XT("Error",a);}
function _EE(a){return(a!="_N"&&a!="_C")?1:0}_EV(window,"error",_ER);
function _hbSend(c,a,i){a="";_hec++;for(i in _hbA)if(typeof _hbA[i]!=_huf)a+="&"+i+"="+_hbA[i];_Q(_hbq+"&hec="+_hec+a+_hbSendEV());_hbA=_NA()}
function _hbSet(a,b,c,d,e){d=_II(_hbq,"&"+a+"=");if(d>-1){e=_II(_hbq,"&",d+1);e=e>d?e:_IL(_hbq);if(a=="n"||a=="vcon"){_hbq=_IS(_hbq,0,d)+"&"+a+"="+b+
_IS(_hbq,e);_hec=-1;if(a=="n"){_pn=b}else{_mlc=b}}else{_hbq=_IS(_hbq,0,d)+_IS(_hbq,e)}}if((a!="n")&&(a!="vcon"))_hbA[a]=(c==0)?b:_A(b)}
function _hbRedirect(a,b,c,d,e,f,g){_SV("n",a);_SV("vcon",b);if(_DD(d)&&_IL(d)>0){d=_IC(d,0,"&")?_IS(d,1,_IL(d)):d;e=_IP(d,"&");for(f=0;f<_IL(e);
f++){g=_IP(e[f],"=");_SV(g[0],g[1])}}_TV();if(c!=""){_SV("hec",0);setTimeout("location.href='"+c+"'",500)}}
function _hbSendEV(a,b,c,d,e,f,x,i){a='',c='',e=_IL(_hbE);for(b=0;b<e;b++){c=_hbE[b];for(var d in c){if(_EE(d)&&c[d].match){x=c[d].match(/\[\]/g);
if(x!=null&&_IL(x)>c._C)c._C=_IL(x)}}for(d in c){if(_EE(d)&&c[d].match){x=c[d].match(/\[\]/g);x=(x==null)?0:_IL(x);for(i=x;i<c._C;i++)c[d]+="[]"}}}
for(b=0;b<e;b++){c=_hbE[b];for(f=b+1;f<e;f++){if(_hbE[f]!=null&&c._N==_hbE[f]._N){for(d in c){if(_EE(d)&&_hbE[f]!=null)c[d]+="[]"+_hbE[f][d];
_hbE[f][d]=""}}}for(d in c){if(_EE(d)&&c._N!=""&&c._N!="pv"){a+="&"+c._N+"."+d+"="+_RP(_A(c[d]),"%5B%5D",",")}}}_hbE=_NA();_hbEC=0;return a}
function _hbM(a,b,c,d){_SV('n',a);_SV('vcon',b);if(_IL(c)>0)_SV(c,d);_TV()}
function _hbPageView(p,m){_hec=-1;_hbM(p,m,"")}function _hbExitLink(n){_hbM(_pn,_mlc,"el",n)}function _hbDownload(n){_hbM(_pn,_mlc,"fn",n)}
function _hbVisitorSeg(n,p,m){_SV("n",p);_SV("vcon",m);_SV("seg",n,1);_TV()}function _hbCampaign(n,p,m){_hbM(p,m,"cmp",n)}
function _hbFunnel(n,p,m){_hbM(p,m,"fnl",n)}function _hbGoalPage(n,p,m){_hbM(p,m,"gp",n)}
function _hbLink(a,b,c){_SV("lid",a);if(_DD(b))_SV("lpos",b);_XT("Link","");_TV()}
function _hbForm(a,b,c,d,e,f){if(_DD(c))_hlf=c;_hfs=0,_fa=1,f='Complete',_hfa=0;if(a==0){f='Abandon';_hfa=1}_XT("Form"+f,b)}
function _hbCookie(a,b,c){document.cookie=a+"="+b+";path=/;"+((_DD(c)==1)?"expires="+c:"")}
function _LE(a,b,c,d,e,f,g,h,i,j,k,l){b="([0-9A-Za-z\\-]*\\.)",c=location.hostname,d=a.href,h='',i='';eval("__f=/"+b+"*"+b+"/");if(_DD(__f)){__f.exec(c);
j=(_DD(_elf))?_elf:"";if(j!="n"){if(_II(j,"!")>-1){h=_IS(j,0,_II(j,"!"));i=_IS(j,_II(j,"!")+1,_IL(j))}else{h=j}}k=0;if(_DD(_elf)&&_elf!="n"){
if(_IL(i)){l=_IP(i,",");for(g=0;g<_IL(l);g++)if(_II(d,l[g])>-1)return}if(_IL(h)){l=_IP(h,",");for(g=0;g<_IL(h);g++)if(_II(d,l[g])>-1)k=1}}
if(_II(a.hostname,RegExp.$2)<0||k){	e=_IL(d)-1;return _IC(d,e,'/')?_IS(d,0,e):d}}}
function _LD(a,b,c,d,e,f){b=a.pathname,d='',e='';b=_IS(b,_IF(b,"/")+1,_IL(b));c=(_DD(_dlf))?_dlf:"";if(c!="n"){if(_II(c,"!")>-1){d=","+
_IS(c,0,_II(c,"!"));e=","+_IS(c,_II(c,"!")+1,_IL(c))}else{d=","+c}}f=_II(b,"?");b=(f>-1)?_IS(b,0,f):b;if(_IF(b,".")>-1){f=_IS(b,_IF(b,"."),_IL(b));
if(_II(_dl+d,f)>-1&&_II(e,f)<0){var dl=b;if(_DD(_dft)){if(_dft=="y"&&a.name){dl=a.name}else if(_dft=="full"){dl=a.pathname;if(!_IC(dl,0,'/'))dl='/'+dl
}}return dl}}}
function _LP(a,b){for(b=0;b<_IL(a);b++){if(_IL(_lvl)<_lvm)_LV(a[b]);_EV(a[b],'mousedown',_LT)}}
function _LV(a,b,c){b=_LN(a);c=b[0]+b[1];if(_IL(b[0])){_lvid+=_A(b[0])+",";_lvpos+=_A(b[1])+",";_lvl+=c}}
function _LN(a,b,c,d){b=a.href;b+=a.name?a.name:"";c=_LVP(b,_lidt);d=_LVP(b,_lpost);return[c,d]}
function _LT(e){if((e.which&&e.which==1)||(e.button&&e.button==1)){var a=document.all?window.event.srcElement:this;for(var i=0;i<4;i++){if(a.tagName&&
_TL(a.tagName)!="a"&&_TL(a.tagName)!="area"){a=a.parentElement}}var b=_LN(a),c='',d='';a.lid=b[0];a.lpos=b[1];if(_D("lt")&&_lt!="manual"){if((a.tagName&&
_TL(a.tagName)=="area")){if(!_IL(a.lid)){if(a.parentNode){if(a.parentNode.name)a.lid=a.parentNode.name;else a.lid=a.parentNode.id}}if(!_IL(a.lpos))
a.lpos=a.coords}else{if(_IL(a.lid)<1)a.lid=_LS(a.text?a.text:a.innerText?a.innerText:"");if(!_IL(a.lid)||_II(_TL(a.lid),"<img")>-1)a.lid=_LI(a)}}
if(!_IL(a.lpos)&&_D("lt")=="auto_pos"&&a.tagName&&_TL(a.tagName)!="area"){c=document.links;for(d=0;d<_IL(c);d++){if(a==c[d]){a.lpos=d+1;break}}}
var _f=0,j='',k='',l=(a.protocol)?_TL(a.protocol):"";
if(l&&l!="mailto:"&&l!="javascript:"){j=_LE(a),k=_LD(a);if(_DD(k))a.fn=k;else if(_DD(j))a.el=j}
if(_D("lt")&&_IC(_lt,0,"n")!=1&&_DD(a.lid)&&_IL(a.lid)>0){_SV("lid",a.lid);if(_DD(a.lpos))_SV("lpos",a.lpos);_f=1}if(_DD(a.fn)){_SV("fn",a.fn);_XT("Download",a);_f=2}
else if(_DD(a.el)){_SV("el",a.el);_XT("ExitLink",a);_f=1}if(_f>0){_XT("Link",a);_TV()}}}
function _LVP(a,b,c,d,e){c=_II(a,"&"+b+"=");c=c<0?_II(a,"?"+b+"="):c;if(c>-1){d=_II(a,'&',c+_IL(b)+2);e=_IS(a,c+_IL(b)+2,d>-1?d:_IL(a));
if(!_ec){if(!(_II(e,"//")==0))return e}else return e}return ""}
function _LI(a){var b=""+a.innerHTML,bu=_TL(b),i=_II(bu,"<img");if(bu&&i>-1){eval("__f=/ src\s*=\s*['\"]?([^'\" ]+)['\"]?/i");__f.exec(b);
if(RegExp.$1)b=RegExp.$1}return b}
function _LSP(a,b,c,d){d=_IP(a,b);return d.join(c)}
function _LS(a,b,c,d,e,f,g){c=_D("lim")?_lim:100;b=(_IL(a)>c)?_A(_IS(a,0,c)):_A(a);b=_LSP(b,"%0A","%20");b=_LSP(b,"%0D","%20");b=_LSP(b,"%09","%20");
c=_IP(b,"%20");d=_NA();e=0;for(f=0;f<_IL(c);f++){g=_RP(c[f],"%20","");if(_IL(g)>0){d[e++]=g}}b=d.join("%20");return unescape(b)}
function _EM(a,b,c,d){a=_D("fv");b=_II(a,";"),c=parseInt(a);d=3;if(_TL(a)=="n"){d=999;_fv=""}else if(b>-1){d=_IS(a,0,b);_fv=_IS(a,b+1,_IL(a))}
else if(c>0){d=c;_fv=""}return d}
function _FF(e){var a=(_bnN)?this:_EVO(e);_hlf=(a.lf)?a.lf:""}
function _FU(e){if(_hfs==0&&_IL(_hlf)>0&&_fa==1){_hfs=1;if(_hfc&&!_hfa){_SV("sf","1");_XT("FormComplete",_hfc)}else if(_IL(_hlf)>0){_SV("lf",_hlf);_XT("FormAbandon",_hlf)}
_TV();_hlf="",_hfs=0,_hfc=0}}
function _FO(e){var a=true;if(_DD(this._FS))eval("try{a=this._FS()}catch(e){}");if(a!=false)_hfc=1;return a}
function _FA(a,b,c,d,e,f,g,h,i,ff,fv,s){b=a.forms;ff=new Object();f=_EM();for(c=0;c<_IL(b);c++){ff=b[c],d=0,s=0,e=ff.elements;
g=ff.name?ff.name:"forms["+c+"]";for(h=0;h<_IL(e);h++){if(e[h].type&&"hiddenbuttonsubmitimagereset".indexOf(e[h].type)<0&&d++>=f)break}if(d>=f){_fa=1;
for(h=0;h<_IL(e);h++){i=e[h];if(i.type&&"hiddenbuttonsubmitimagereset".indexOf(i.type)<0){i.lf=g+".";i.lf+=(i.name&&i.name!="")?i.name:"elements["+h+"]";
_EV(i,"focus",_FF)}}ff._FS=null;ff._FS=ff.onsubmit;if(_DD(ff._FS)&&ff._FS!=null){ff.onsubmit=_FO}else if(!(_bnN&&_bv<5)&&_hM&&!(_bnI&&!_I5)){if((!_bnI)||
(_II(navigator.userAgent,"Opera")>-1)){ff.onsubmit=_FO}else{_EV(ff,"submit",_FO);
eval("try{document.forms["+c+"]._FS=document.forms["+c+"].submit;document.forms["+c+"].submit=_FO;throw ''}catch(E){}")}}}}}
function _GR(a,b,c,d){if(!_D("hrf"))return a;if(_II(_hrf,"http",0)>-1)return _hrf;b=window.location.search;b=_IL(b)>1?_IS(b,1,_IL(b)):"";
c=_II(b,_hrf+"=");if(c>-1){ d=_II(b,"&",c+1);d=d>c?d:_IL(b);b=_IS(b,c+_IL(_hrf)+1,d)}return(b!=_hud&&_IL(b)>0)?b:a}
function _PO(a,b,c,d,e,f,g){d=location,e=d.pathname,f=_IS(e,_IF(e,"/")+1),g=document.title;if(a&&b==c){return(_pndef=="title"&&g!=""&&g!=d&&
!(_bnN&&_II(g,"http")>0))?g:f?f:_pndef}else{return b==c?(e==""||e=="/")?"/":_IS(e,(_ctdef!="full")?_IF(e,"/",_IF(e,"/")-2):_II(e,"/"),_IF(e,"/"))
:(b=="/")?b:((_II(b,"/")?"/":"")+(_IF(b,"/")==_IL(b)-1?_IS(b,0,_IL(b)-1):b))}}
function _PP(a,b,c,d){return ""+(c>-1?_PO(b,_IS(a,0,c),d)+";"+_PP(_IS(a,c+1),b,_II(_IS(a,c+1),";")):_PO(b,a,d))}
_mlc=_PP(_mlc,0,_II( _mlc,";"),"CONTENT+CATEGORY");_pn=_PP(_pn,1,_II(_pn,";"),"PUT+PAGE+NAME+HERE");
function _NN(a){return _D(a)!="none"}
function _E(a){var b="";var d=_IP(a,",");for(var c=0;c<_IL(d);c++)b+="&"+d[c]+"="+_A(_D(d[c]));return b}
function _F(a,b){return(!_II(a,"?"+b+"="))?0:_II(a,"&"+b+"=")}function _G(a,b,c,d){var e=_F(a,b);if(d&&e<0&&top&&window!=top){e=_F(_tls,b);
if(e>-1)a=_tls};return(e>-1)?_IS(a,e+2+_IL(b),(_II(a,"&",e+1)>-1)?_II(a,"&",e+1):_IL(a)):c}
function _H(a,b,c){if(!a)a=c;if(_I5||_N6){eval("try{_vv=_G(location.search,'"+a+"','"+b+"',1)}"+__c+"{}")}else{_vv=_G(location.search,a,b,1)}return unescape(_vv)}
function _I(a,b,c,d){__f=_IS(a,_II(a,"?"));if(b){if(_I5||_N6){eval("try{_hra=_G(__f,_hqsr,_hra,0)}"+__c+"{}")}else{_hra=_G(__f,_hqsr,_hra,0)}};
if(c&&!_hra){if(_I5||_N6){eval("try{_hra=_G(location.search,_hqsp,_hra,1)}"+__c+"{}")}else{_hra=_G(location.search,_hqsp,_hra,1)}};
if(d&&!_hra)_hra=d;return _hra}function _J(a,b,c,d){c=_II(a,"CP=");d=_II(a,b,c+3);return(c<0)?"null":_IS(a,c+3,(d<0)?_IL(a):d)}
var __r=".referrer",_rf=_A(eval("document"+__r)),_et=0,_oe=0,_we=0,_ar="",_hM=(!(_II(navigator.userAgent,"Mac")>-1)),_tls="";
_bv=parseInt(navigator.appVersion);_bv=(_bv>99)?(_bv/100):_bv;var __f,_hrat=_D("hra"),_hra="",__c="catch(_e)",_fa=0,_hlfs=0,_hoc=0,
_hlf='',_ce='',_ln='',_pl='',_bn=navigator.appName,_bn=(_II(_bn,"Microsoft")?_bn:"MSIE"),_bnN=(_bn=="Netscape"),_bnI=(_bn=="MSIE"),
_hck="*; path=/; "+(_D("cpd")&&_D("cpd")!=""?(" domain=."+_D("cpd")+"; "):"")+_ex,_N6=(_bnN&&_bv>4),_I5=false,_ss="na",_sc="na",_sv=11,_cy="u",_hp="u",
_tp=_D("ptc");if(_bn=="MSIE"){var _nua=navigator.userAgent,_is=_II(_nua,_bn),_if=_II(_nua,".",_is);if(_if>_is)_I5=_nua.substring(_is+5,_if)>=5}
if(_N6||_I5)eval("try{_tls=top.location.search}catch(_e){}")
function _PV(){_dcmpe=_H(_D("dcmpe"),_D("dcmpe"),"DCMPE");_dcmpre=_H(_D("dcmpre"),_D("dcmpre"),"DCMPRE");_vv="";_cmp=_H(_D("cmpn"),_D("cmp"),"CMP");
_gp=_H(_D("gpn"),_D("gp"),"GP");_dcmp=_H(_D("dcmpn"),_D("dcmp"),"DCMP");if(_II(_cmp,"SFS-")>-1){document.cookie="HBCMP="+_cmp+"; path=/;"+
(_D("cpd")&&_D("cpd")!=""?(" domain=."+_D("cpd")+"; "):"")+_ex}if(_bnI&&_bv>3)_ln=navigator.userLanguage;
if(_bnN){if(_bv>3)_ln=navigator.language;if(_bv>2)for(var i=0;i<_IL(navigator.plugins);i++)_pl+=navigator.plugins[i].name+":"};_cp=_D("cp");
if(location.search&&_TL(_cp)=="null")_cp=_J(location.search,"&");if(_II(document.cookie,"CP=")>-1){
_ce="y";_hd=_J(document.cookie,"*");if(_TL(_hd)!="null"&&_cp=="null"){_cp=_hd}else{document.cookie="CP="+_cp+_hck}}else{document.cookie="CP="+_cp+_hck;
_ce=(_II(document.cookie,"CP=")>-1)?"y":"n"};if(window.screen){_sv=12;_ss=screen.width+"*"+screen.height;_sc=_bnI?screen.colorDepth:screen.pixelDepth;
if(_sc==_hud)_sc="na"};_ra=_NA();if(_ra.toSource||(_bnI&&_ra.shift))_sv=13;if(!(_bnN&&_bv<5)&&!_bnI&&_hM)eval("try{throw _sv=14}catch(e){}");
if((new Date()).toDateString)_sv=15;if(_hbA.every)_sv=16;if(_I5&&_hM){if(_II(""+navigator.appMinorVersion,"Privacy")>-1)_ce="p";
if(document.body&&document.body.addBehavior){document.body.addBehavior("#default#homePage");_hp=document.body.isHomePage(location.href)?"y":"n";
document.body.addBehavior("#default#clientCaps");_cy=document.body.connectionType}};var _hcc=(_DD(_hcn))?_D("hcv"):"";if(!_D("gn"))_gn="ehg.hitbox.com";
if(_D("ct")&&!_D("mlc"))_mlc=_ct;_XT("PrePVR","");_ar=_GP()+_gn+"/HG?hc="+_mn+"&hb="+_A(_acct)+"&cd=1&hv=6&n="+_A(_pn,1)+"&con=&vcon="+_A(_mlc,1)+"&tt="
+_D("lt")+"&ja="+(navigator.javaEnabled()?"y":"n")+"&dt="+(new Date()).getHours()+"&zo="+(new Date()).getTimezoneOffset()+"&lm="+
Date.parse(document.lastModified)+(_tp?("&pt="+_tp):"")+_E((_bnN?"bn,":"")+"ce,ss,sc,sv,cy,hp,ln,vpc,vjs,hec,pec,cmp,gp,dcmp,dcmpe,dcmpre,cp,fnl")
+"&seg="+_D("seg")+"&epg="+_D("epg")+"&cv="+_A(_hcc)+"&gn="+_A(_D("hcn"))+"&ld="+_A(_D("hlt"))+"&la="+_A(_D("hla"))+"&c1="+_A(_D("hc1"))+"&c2="+
_A(_D("hc2"))+"&c3="+_A(_D("hc3"))+"&c4="+_A(_D("hc4"))+"&customerid="+_A(_D("ci")?_ci:_D("cid"))+"&ttt="+_lidt+","+_lpost;
if(_I5||_N6){eval("try{_rf=_A(top.document"+__r+")+''}"+__c+"{_rf=_A(document"+__r+")+''}")}
else{if(top.document&&_IL(parent.frames)>1){_rf=_A(eval("document"+__r))+""}else if(top.document){_rf=_A(eval("top.document"+__r))+""}}if((_rf==_hud)||
(_rf==""))_rf="bookmark";_rf=unescape(_rf);_rf=_GR(_rf);_hra=_I(_rf,_D("hqsr"),_D("hqsp"),_hrat);_ar+="&ra="+_A(_hra)+"&pu="+_A(_IS(eval("document.URL")
+"",0,_pum))+_hbSendEV()+"&rf=";_ar+=(_IL(_ar)+_IL(_rf)<2048)?_A(_rf):"bookmark";if(_IL(_ar)+_IL(_pl)<2048)_ar+="&pl="+_A(_pl);
_XT("PrePV",_ar);if(_D("onlyMedia")!="y")_hbi.src=_ar+"&hid="+Math.random();_hbq=_IS(_ar,0,_II(_ar,"&hec"));_XT("PostPV",_ar);_hbE=_NA()}_PV();
function _Q(a){a+="&hid="+Math.random();if(_hif==0){_hif=1;_hbs="";_hbs=new Image();_hbs.src=a}else{_hif=0;_hbi="";_hbi=new Image();_hbi.src=a}}
function __X(a){if(_ec==0){_ec=1;a=document;if(_NN("lt")||_NN("dlf")||_NN("elf"))_LP(a.links);if(_NN("fv"))_FA(a);
if(_NN("lt")&&_IL(_lvl)>0&&_lvl!=-1){_SV('lv.id',_lvid,1);_SV('lv.pos',_lvpos,1);_TV()}}}
function _EV(a,b,c,d){if(a.addEventListener){a.addEventListener(b,c,false)}else if(a.attachEvent){a.attachEvent(((d==1)?"":"on")+b,c)}}
function _EVO(e){return document.all?window.event.srcElement:this} 
function _RCV(a,b,c,d){b=document.cookie;c=_II(b,a+"=");d="";if(c>-1){d=_II(b,";",c+1);d=(d>0)?d:_IL(b);d=(d>c)?_IS(b,c+_IL(a)+1,d):""}return d}
function _RRV(a){return(_LVP(document.referrer,a))}function _RPV(a){return(_LVP(document.URL,a))}
function _XT(a,b){if(typeof _D("hbOn"+a)==_huf)eval("_hbOn"+a+"(b)")}
_EV(window,"load",__X);_EV(window,"unload",_FU);eval('setTimeout("__X()",3000)');
