function popMe(page) {
    var viewportwidth = 760;

    // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
    if (typeof window.innerWidth != 'undefined') {
      viewportwidth = window.innerWidth;
    // IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)
    } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) {
       viewportwidth = document.documentElement.clientWidth;
    // older versions of IE  
    } else {
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth;
    }

    var myw = 660;
    var myh = 440;
    var myx = (viewportwidth-myw)/2;
    var myy = 100;

    mywindow = window.open(page,"mywindow","location=1,status=1,scrollbars=0,width="+myw+",height="+myh);
    mywindow.moveTo(myx,myy);
}