/*
**********************************************
**** BEGIN Media Center new window
**********************************************
*/
var mediaWindow;
function openMediaWindow(theURL, winName, features) { //v2.0

    if (!mediaWindow || mediaWindow.closed) {
        mediaWindow = window.open(theURL, winName, features);
    } else {
        mediaWindow.focus();
    }

}

/*
**********************************************
**** Utilities/Misc
**********************************************
*/

function getRealPos(el, sProp) {
    var iPos = 0;
    while (el) {
        iPos += el["offset" + sProp];
        el = el.offsetParent;
    }

    return iPos;
}

function blockClick(whichLocation) {
    alert('hello!');
}

function blockOver(whichBlock) {
    //alert(this);
    whichBlock.style.cursor = 'pointer';
}
