//Added for Omniture Tagging

 function OmnitureTrackLinks(linktext,linkpos) { 
	externalWindowLink='false';	
	s.linkTrackVars='prop35,eVar35,prop36,eVar36,prop37,eVar37,prop38,eVar38';	
	s.prop35=s.eVar35=s.pageName;		
	s.prop36=s.eVar36=linktext;
	s.prop37=s.eVar37 = s.prop35+' | '+s.prop36;	
	s.prop38=s.eVar38 = linkpos;	
	s.tl(this,'e',s.pageName+'|'+linktext);	
	externalWindowLink='';
}

 function OmnitureLangChangeTool(lang)
  {  
    var s = s_gi(s_account);	
	s_doPlugins(s);  	
	s.linkTrackVars='events,prop40,eVar40';
	s.linkTrackEvents='event24';
	s.prop40=s.eVar40=s.channel+':'+lang;
	s.events='event24';
	s.tl(this,'o',s.pageName+'|'+lang);	
	s.linkTrackVars='prop35,prop36,prop37,prop38,eVar35,eVar36,eVar37,eVar38';
	s.linkTrackEvents='None';	   
 }
 
 function OmnitureTrackRegister(url) {	
    var s = s_gi(s_account);
	s.linkTrackVars='events,prop11,eVar11,prop13,eVar13,prop22,eVar22,prop23,eVar23';
	s.linkTrackEvents='event2,event3,event12';
	s_doPlugins(s);
	s.prop11=s.eVar11=s.channel+':registrationform';	
	s.prop13=s.eVar13='postal_updates';
	s.events=s.events+',event2,event3,event12';
	s.tl(this,'o',s.pageName+'|registrationform');	
	pausecomp(1500);
	window.location.href = url;	
 }

function pausecomp(millis) {
	var date = new Date();
	var curDate = null;
	do { curDate = new Date(); } 
	while(curDate-date < millis);	
}

function OmnitureFormErrTrack(ErrMsg) { 
	var s = s_gi(s_account); 
	s.linkTrackVars='events,prop11,eVar11,prop19,eVar19';
	s.linkTrackEvents='event14';
	s_doPlugins(s);
	s.prop11=s.eVar11=s.channel+':registrationform';
	s.prop19=s.eVar19=ErrMsg;
	s.events='event14';
	s.tl(this,'o',s.pageName+'|form_error');
	s.linkTrackVars='prop35,prop36,prop37,prop38,eVar35,eVar36,eVar37,eVar38';
	s.linkTrackEvents='None';	
 } 

 function OmnitureTrackDownload(filename) {   
	s.linkTrackVars='events,prop15,eVar15';
	s.linkTrackEvents='event7';
	s.prop15=s.eVar15=s.channel+':'+filename;
	s.events='event7';
	s.tl(this,'d',s.pageName+'|'+s.prop15);
	s.linkTrackVars='prop35,prop36,prop37,prop38,eVar35,eVar36,eVar37,eVar38';
	s.linkTrackEvents='None';
 } 

 function OmnitureVideoTrack(videoname) {
	var s=s_gi(s_account);
	s.events='event18';
	s_doPlugins(s);
	s.pageName=globalPageName+':'+videoname+':user-play';	
	s.prop17=s.eVar17=s.channel+':'+videoname+':user-play';
	s.t();
	s.linkTrackVars='prop35,prop36,prop37,prop38,eVar35,eVar36,eVar37,eVar38';
	s.linkTrackEvents='None';
 }

