/*	
omniture
*/
//
// vars
//
var film = null;
var active = null;
var deepLink = null;
var label = null;

// omniture methods
function onReportFilm(f) {
	film = f;
	var sendThis = "HBO: Documentaries: SFS08: Flash: "+film;
	//alert(sendThis);
	var s=s_gi(s_account);
	s.linkTrackVars='pageName,prop1,server';
	s.linkTrackEvents='None';
	s.pageName=sendThis;
	s.server='hbo.com';
	s.prop1="HBO"
	s.t(this,'o',sendThis);
	film = null;
}

function onReportVideoStatus(f, a) {
	film = f;
	active = a;
	if (active == 'pause') {
	active = "Pause"
	}
	if (active == "play") {
	active = "Resume"
	}
	var sendThis = "HBO: Documentaries: SFS08: Flash Player: "+film+": "+active;
	//alert(sendThis);
	var s=s_gi(s_account);
	s.linkTrackVars='s.prop9,prop1,server';
	s.linkTrackEvents='None';
	s.prop9=sendThis;
	s.server='hbo.com';
	s.prop1="HBO"
	s.t(this,'o',sendThis);
	film = null;
	active = null;
}


function onReportVideoStart(f) {
	film = f;
	var sendThis = "HBO: Documentaries: SFS08: Flash Player: "+film;
	//alert(sendThis);
	var s=s_gi(s_account);
	s.linkTrackVars='s.pageName,prop1,server';
	s.linkTrackEvents='None';
	s.pageName=sendThis;
	s.server='hbo.com';
	s.prop1="HBO"
	s.t(this,'o',sendThis);
	film = null;
}

function onReportLinks(f,l,la) {
	film = f;
	deepLink = l;
	label = la;
	var sendThis = "HBO: Documentaries: SFS08: Flash Link: "+film+": "+label;
	//alert(sendThis);
	var s=s_gi(s_account);
	s.linkTrackVars='s.prop9,prop1,server';
	s.linkTrackEvents='None';
	s.prop9=sendThis;
	s.server='hbo.com';
	s.prop1="HBO"
	s.t(this,'o',sendThis);
	// redirect the browser here
	window.location.href = deepLink;
	//
	film = null;
	deepLink = null;
	label = null;
}