//<!--OMNITURE CODE HBX2.5 (Universal)-->
//<!-- Copyright 1997 - 2008. Omniture, Inc. All Rights Reserved.  Omniture is a registered trademark of Omniture, Inc. in the United States, Canada, Japan, and the European Community. -->
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="HBX0250u";hbx.gn="peach.bskyb.com";

//CONFIGURATION VARIABLES
var hbx_isLandingPage;

if(location.hostname.indexOf('sky.com')>=0)
	hbx.acct="DM571012ILEN;DM53022723AE;DM53111942ZM";//Affiliates, .COM & Global Roll-up.
else
	hbx.acct="DM53061677FD";// TEST account

// SETTING PAGE NAME EQUAL TO FILE NAME (more reliable than Page Title)
var filename = location.pathname.substring(location.pathname.lastIndexOf('\/')+1,location.pathname.lastIndexOf('.'));
if(location.pathname.lastIndexOf('.') == -1)
	hbx.pn = "Home";
else{
	if(filename!=undefined){
		if(filename.length == 0 || filename == "/")
			hbx.pn = "Home";
		else
			hbx.pn = filename.toLowerCase();
	}
}
if(hbx.pn == "default" || hbx.pn == "index" || hbx.pn == "home"){
	hbx.pn = "Home";
}
var hitbox_winLoc = window.location.pathname;
if(hitbox_winLoc.indexOf('.')>0)
	hitbox_lastStr = hitbox_winLoc.substring(0,hitbox_winLoc.lastIndexOf('/',hitbox_winLoc.indexOf('.')));
	
else
	hitbox_lastStr = hitbox_winLoc;

if(hbx_isLandingPage!=undefined && hbx_isLandingPage==true){
	hbx.mlc="/portal/site/skycom/affiliates/landingpages"+hitbox_lastStr;//MULTI-LEVEL CONTENT CATEGORY
	}
else{
	hbx.mlc="/portal/site/skycom/affiliates"+hitbox_lastStr;//MULTI-LEVEL CONTENT CATEGORY
	}
//alert(hbx.mlc);
hbx.pndef="title";//DEFAULT PAGE NAME
hbx.ctdef="full";//DEFAULT CONTENT CATEGORY
//ACTION SETTINGS
hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME
hbx.lt="auto";//LINK TRACKING
hbx.dlf="n";//DOWNLOAD FILTER
hbx.dft="n";//DOWNLOAD FILE NAMING
hbx.elf="n";//EXIT LINK FILTER

hbx.cp="null";//LEGACY CAMPAIGN



