function popUpEmail(whatPrize) {
    window.open((whatPrize), "prize", "width=430,height=550,scrollbars,resizable=0");
}
function popUpImage(whatPrize) {
    window.open((whatPrize), "prize", "width=650,height=650,scrollbars,resizable=0");
}
function newWindow(whatPrize) {
    window.open((whatPrize), "window", "width=600,height=400,scrollbars,resizable,status,directories,menubar,location,toolbar");
}
function prmoWindow(whatPrize) {
    window.open((whatPrize), "promotions", "width=745,height=400,scrollbars,resizable,status,directories,menubar,location,toolbar");
}
function zales(whatPrize) {
    var w = 640, h = 480;
    if (document.all || document.layers) {
        w = screen.availWidth;
        h = screen.availHeight;
    }
    //alert (w+", "+h);
    var popW = 630, popH = 470;
    var topPos = ((h - popH) / 2) - 80, leftPos = ((w - popW) / 2 - 15);
    //alert ("t:"+ topPos+", l:"+ leftPos);
    newWin = window.open((whatPrize), "zales", "width=" + popW + ",height=" + popH + ",top=" + topPos + ",left=" + leftPos + ",scrollbars,resizable,status,directories,menubar,location,toolbar");
    if (newWin.blur) newWin.focus();
}
function centerPopWindow(whatPrize) {
	var nHeight = 426; //416
	var nWidth = 539; //529
	var nXpos = (screen.availWidth - nWidth) / 2;
	var nYpos = (screen.availHeight - nHeight) / 2;
	var statusPopup = window.open((whatPrize), 'popupWin','top=' + nYpos + ',left=' + nXpos + ',screenY=' + nYpos + ',screenX=' + nXpos + ',height=' + nHeight + ',width=' + nWidth);
}
function agentVideoPopWindow(whatPrize) {
    var nHeight = 320; //320
    var nWidth = 420; //420
    var nXpos = (screen.availWidth - nWidth) / 2;
    var nYpos = (screen.availHeight - nHeight) / 2;
    var statusPopup = window.open((whatPrize), 'popupWin', 'top=' + nYpos + ',left=' + nXpos + ',screenY=' + nYpos + ',screenX=' + nXpos + ',height=' + nHeight + ',width=' + nWidth);
}
