﻿//
// COMPILE AT http://closure-compiler.appspot.com/home
//


//
// init
//


//
// $() fx fix: unfilter ie
//
function bcUnfilterIE(oElem) {
    if (($.browser.msie) && (oElem != null)) {
        oElem.style.removeAttribute("filter");
    }
}



//
// pop win stats
//
function bcGetWinStats(iW, iH, bScroll, bResize) {
    var iL = (screen.width - iW) / 2;
    var iT = (screen.height - iH) / 2;
    return "width=" + iW + ",height=" + iH + ",top=" + iT + ",left=" + iL + ",scrollbars=" + bScroll + ",resizable=" + bResize + ",resizeable=" + bResize + ",toolbar=0,location=0,directories=0,menubar=0,status=0";
}



//
// local date/time
//
function bcLocalDT(iEpochSecs) {
    var dDT = new Date(1000 * iEpochSecs);
    return dDT.toLocaleString();
}

