﻿
function Omniture_Play(aClip, aType, aProgName) {
    try {
        var s = s_gi(s_account);
        s.linkTrackVars = 'events,products,eVar7,eVar18';
        s.linkTrackEvents = 'event10';
        s.events = 'event10';
        s.eVar7 = aProgName;
        s.eVar22 = aClip;
        s.products = "Video; Clip:" + aClip + " Guid:" + aType;
        s.tl(this, 'o', 'Video Activity - Clip playing');
    } catch (e) {
    }
}



function Omniture_Error(aClip, aType, aProgName, errorMsg) {
    try {
        var s = s_gi(s_account);
        s.linkTrackVars = 'events,products,eVar7,eVar18';
        s.linkTrackEvents = 'event20';
        s.events = 'event20';
        s.eVar13 = "Error message: " + errorMsg;
        s.eVar22 = aClip;
        s.products = "Video; Clip:" + aClip + "Guid:" + aType;
        s.tl(this, 'o', 'Video Activity - Error');
    } catch (e) {
    }
}



function Omniture_playlistLoaded(requestGUID, vodcrid, programmeTitle, time) {
//	alert("playlistLoaded: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time);
}

function Omniture_attemptPlay(requestGUID, vodcrid, programmeTitle, time, autoPlay) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time + " " + autoPlay);
}

function Omniture_seek(requestGUID, vodcrid, programmeTitle, time, seekTime) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time + " " + seekTime);
}

function Omniture_pause(requestGUID, vodcrid, programmeTitle, time) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time);
}

function Omniture_resume(requestGUID, vodcrid, programmeTitle, time) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time);
}

function Omniture_enterFullscreen(requestGUID, vodcrid, programmeTitle, time) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time);
}

function Omniture_exitFullscreen(requestGUID, vodcrid, programmeTitle, time) {
//	alert("attemptPlay: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time);
}

function Omniture_error(requestGUID, vodcrid, programmeTitle, time, error) {
//	alert("error: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time + " " + error);
}

function Omniture_time(requestGUID, vodcrid, programmeTitle, time) {
//	alert("error: " + requestGUID + " " + vodcrid + " " + programmeTitle + " " + time + ");
}

