function subwindow(url, width, height, windowName) 
{
        if(windowName == "")
                windowName = "sgs_london";

    var scrollbar=1;
    var resizable=1;

    var x = Math.round((screen.width - width) / 2);
    var y = Math.round((screen.height - height) / 2);

    popup = window.open(url, windowName, "scrollbars="+scrollbar+",resizable="+resizable+",status=0,location=0,width="+width+",height="+height+",left="+x+",top="+y);
    popup.focus();
}

function _getPopupSize(w, h)
{
        var rtn = new Object();

        // Default values are for FireFox ... 'cause it's the hotness
        rtn.w = w; 
        rtn.h = h;

        if(browser == "safari")
        {
                rtn.h += 1; 
        }
        else if(browser == "ie")
        {
                rtn.w += 18;
        }

        return rtn;
}

function popupPic(picURL)
{
	var sz = _getPopupSize(720, 545);
	subwindow(picURL, sz.w, sz.h);
}