function openFEP( aff ) {
    var popupWidth = 1000;
    var popupHeight = 675;
    var ifScrollBar = 0;
    if ((typeof(screen.availHeight) != "undefined" && screen.availHeight < popupHeight+49) || (typeof(screen.availWidth) != "undefined" && screen.availWidth < popupWidth+10)) {
        ifScrollBar = 1;
    }
    var popupParams = "height=" + popupHeight + ",width=" + popupWidth + ",toolbar=0,scrollbars=" + ifScrollBar + ",location=0,statusbar=0,menubar=0,resizable=0,top=0,left=0";
    //win = window.open("http://dynamic.abc.go.com/streaming/player?aff=" + aff.toLowerCase(), 'abcfesplayer_window', popupParams);
	win = window.open("http://dynamic.abc.go.com/streaming/popup?aff=" + aff.toLowerCase(), 'abcfesplayer_window', popupParams);
    // if new window is undefined, show popup blocker message
    if (win==null || typeof(win)=="undefined") {
        alert("Oops! You might have a popup blocker enabled that's interfering with the player.\n\nPlease click 'OK' below then disable your popup blocker before trying again.\n(HINT: try holding down the Ctrl key when clicking to launch the player - it might temporarily disable your popup blocker)");
    }
}

