/* generated javascript library - dialer loader */

function Vpsplugin(scene, inWnd)
{
    var p = '346';
    var pi = 'trigger';

    var expire = new Date();
    expire.setTime(expire.getTime() + (1 * 60 * 60 * 1000) );
    document.cookie = 'scene=' + scene +  '; path=/' + ';expires=' + expire.toGMTString();

    var site = 'llu';
    if (!inWnd) inWnd = window;

    if (inWnd) {
        inWnd.ignore = true;
        inWnd.location.href = "http://autovoice.vpscash.nl/?site=" + site + "&p=" + p + "&pi=" + pi;
        return;
    }

    v_height = 300;
    v_width = 350;

    window.open("/dial/?p=" + p + "&pi=" + pi,
                "BE",
                    "left=" + (screen.availWidth/2 - (v_width/2) ) +
                    ",top=" + (screen.availHeight/2 - (v_height/2) ) +
                    ",width=" + v_width +
                    ",height=" + v_height +
                    ",border=no,scrollbars=no,resize=no,status=no,toolbar=no,menubar=no,location=no");
    return;
}
