function popup()
{
    var url    = 'webcam/webcam.php';
    var name   = 'yepgbomq';

    var width  = 380;
    var height = 538;

    var xPos   = 100;
    var yPos   = 100;

    if(navigator.appVersion.indexOf("Mac") != -1 && navigator.appVersion.indexOf("MSIE") != -1) {
        width  -= 16;
        height -= 16;
    }

    fmrkdi50 = window.open(url, name, 'width='+width+',height='+height+',innerWidth='+width+',innerHeight='+width+'resizable=no');
    fmrkdi50.focus();
    fmrkdi50.moveTo(xPos, yPos);
}

