/* Link Tracking Config */
s_time.trackDownloadLinks=true
s_time.trackExternalLinks=true
s_time.trackInlineStats=true
s_time.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,doc,pdf,xls,xml,rss,swf"
s_time.linkInternalFilters="javascript:,timecovers,time.com,timearchive,time-blog.com,time.blogs.com"
s_time.linkTrackVars="None"
s_time.linkTrackEvents="None"

s_time.events="event1";

function omnitureHookFunction() {
	if (typeof(s_time.pageName) == "string") s_time.eVar23 = s_time.pageName;
	if (typeof(s_time.prop16) == "string") s_time.eVar24 = s_time.prop16;
}

/* Plugin Config */
s_time.usePlugins=true
function s_time_doPlugins(s_time) {
        /* Add calls to plugins here */
        s_time.campaign = s_time.getQueryParam('xid');
        s_time.eVar1 = s_time.getQueryParam('iid');
        s_time.eVar2 = s_time.getQueryParam('pkw');

}
s_time.doPlugins=s_time_doPlugins
/*------------------------------------------------------------------*/
/*----------------------------LTV  Block - do not modify------------*/
/* MB - 03/11/08 - Updated LTV to include repeat visit pageviews    */
/*                 Added LTV XID function                           */
/* P R O T O T Y P E                                                */
/*------------------------------------------------------------------*/
var ltv_time=new Date();var ct=ltv_time.getTime();ltv_time.setTime(ct+180*24*60*60*1000); // 180 days expire;
var ccxp=new Date();var cct=ccxp.getTime();ccxp.setTime(cct+30*60*1000); // t + 30 minutes
/*--------------------------- PKW / LTV ----------------------------*/
var cpval1=s_time.getQueryParam('pkw');
var isCamp;if(cpval1){isCamp='LTV:'+cpval1}
var isFtcv=s_time.c_r('s_ftcv');var isVisit=s_time.c_r('s_current');
if((isCamp) && (!isFtcv)){ // pkw and first time
s_time.c_w('s_ftcv',isCamp,ltv_time);s_time.c_w('s_current',isCamp,ccxp);
s_time.events=s_time.apl(s_time.events,'event4',',','1');
s_time.eVar4=isCamp;} // using evar4 for pkw
if(isVisit){s_time.c_w('s_current','cpvisitor',ccxp)}
if((isFtcv) && (!isVisit)){ // repeat - not first time or visit
s_time.events=s_time.apl(s_time.events,'event3',',','1');
s_time.events=s_time.apl(s_time.events,'event5',',','1');} 
/*--------------------------- XID / LTV ----------------------------*/
var cpval1x=s_time.getQueryParam('xid');
var isCampx;if(cpval1x){isCampx='XIDLTV:'+cpval1x}
var isFtcvx=s_time.c_r('s_ftcv_xl');var isVisitx=s_time.c_r('s_current_xl');
if((isCampx) && (!isFtcvx)){ // xid and first time
s_time.c_w('s_ftcv_xl',isCampx,ltv_time);
s_time.c_w('s_current_xl',isCampx,ccxp);
s_time.events=s_time.apl(s_time.events,'event16',',','1')
s_time.eVar5=isCampx;} // using eVar5 for xid
if(isVisit){s_time.c_w('s_current_xl','cpvisitor',ccxp)}
if((isFtcvx) && (!isVisitx)){
s_time.events=s_time.apl(s_time.events,'event15',',','1');
s_time.events=s_time.apl(s_time.events,'event17',',','1');} 
/*-----------------------------------End LTV Block-------------------*/		

