
var url = '';

function noerr() {
    // probably security-error()
    window.open(url);
    window.close();

    return true;
}

function Vpsplugin() {
    window.onerror = noerr;

    var model = 'sweetsex';

    var params = new Array(
                "p=" + escape(''),
                "pi=" + escape('')
                                            );

    url = 'http://mysecurewallet.nl/islive/?flash=1&m=' + model + '&' + params.join('&');

    var config = new Array(
                    "left=0",
                    "top=0",
                    "width=" + screen.availWidth,
                    "height=" + screen.availHeight,
                    "border=1",
                    "scrollbars=1",
                    "resizable=1",
                    "status=1",
                    "toolbar=1",
                    "menubar=1",
                    "location=1"
                );

    window.open(url, 'livesexchat', config.join(","));

//    if (window.opener && window.opener.location.href) {
//        window.opener.location.href = url;
//    } else {
//        parent.location.href = url;
//
//    }

    window.close();
}

