﻿function openvideowindow(url, title) {
    //SiteCatalyst - Omniture script for tracking video.
      
    openresourcewindow(title);  

    var oManager = GetRadWindowManager();    
    oWnd = radopen(url, null);
    oWnd.set_width("655px");
    oWnd.set_height("446px");
    oWnd.set_autoSize(true);
    oWnd.center();
    oWnd.set_modal(true);
    oWnd.set_title("video loading...");
    oWnd.set_visibleStatusbar(false);
    oWnd.set_visibleTitlebar(true);
    oWnd.set_destroyOnClose(true);
    oWnd.set_iconUrl("/optumhealth/images/icon_optum.png");
    oWnd._titleIconElement.style.background = "transparent url('/optumhealth/images/blank.gif') no-repeat scroll 0px 0px";
    oWnd.set_animation("Slide");            
    return false;
}

function openPopup(url) {
    var oManager = GetRadWindowManager();
    oWnd = radopen(url, null);
    oWnd.set_width("655px");
    oWnd.set_height("446px");
    oWnd.set_autoSize(false);
    oWnd.center();
    oWnd.set_modal(true);
    oWnd.set_visibleStatusbar(false);
    oWnd.set_visibleTitlebar(true);
    oWnd.set_destroyOnClose(true);
    oWnd.set_iconUrl("/optumhealth/images/icon_optum.png");
    oWnd._titleIconElement.style.background = "transparent url('/optumhealth/images/blank.gif') no-repeat scroll 0px 0px";
    oWnd.set_animation("Slide");
}

function openresourcewindow(title) {
     s.events = "event14";
     s.linkTrackVars = "events,eVar14,eVar15";
     s.linkTrackEvents = "event14";
     s.eVar14 = title;
     s.eVar15 = "www.optumhealth.com";
     s.tl(this, 'o', 'Video View');
 }

function openresourcetool(title) {
    s.events = "event25";
    s.linkTrackVars = "events,eVar8,eVar15,prop5,prop6";
    s.linkTrackEvents = "event25,event10";
    s.eVar8 = title;
    s.prop5 = title;
    s.prop6 = title;
    s.eVar15 = "www.optumhealth.com";
    s.tl(this, "o", "file download");
}


